<div class="gmail_quote">On Fri, Nov 25, 2011 at 8:10 AM, Pontus Rodling <span dir="ltr"><<a href="mailto:frigolit@frigolit.net">frigolit@frigolit.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi!<br>
flashrom told me to send you guys this, so here it is.<br>
<br>
I'm getting a transaction error when trying to read the (fully supported<br>
according to the wiki) W25Q64 flash chip on a Intel H57 chipset which is<br>
marked as untested.<br>
I tried both using swseq and hwseq. Both results are attached.<br></blockquote><div><br></div><div>Looks like the Management Engine region is totally locked (from both reads and writes), so it will fail whenever flashrom tries to read/write in that region;</div>

<div><div><font class="Apple-style-span" face="'courier new', monospace">0x5C: 0x05ff0001 (FREG2: Management Engine)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">0x00001000-0x005fffff is locked</font></div>

</div><div><br></div><div>We need to do some rather ugly stuff to hack around that. I have a very ugly hack that applies to the Chromium OS branch you can try:</div><div><font class="Apple-style-span" face="'courier new', monospace"># clone chromium os branch of flashrom</font></div>

<div><font class="Apple-style-span" face="'courier new', monospace">git clone <a href="http://git.chromium.org/chromiumos/third_party/flashrom.git">http://git.chromium.org/chromiumos/third_party/flashrom.git</a> flashrom-cros && cd flashrom-cros</font></div>

<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"># apply patch from <a href="https://gerrit.chromium.org/gerrit/#change,12117">https://gerrit.chromium.org/gerrit/#change,12117</a></font></div>

<div><font class="Apple-style-span" face="'courier new', monospace">git pull <a href="https://gerrit.chromium.org/gerrit/p/chromiumos/third_party/flashrom">https://gerrit.chromium.org/gerrit/p/chromiumos/third_party/flashrom</a> refs/changes/17/12117/1</font></div>

<div><br></div><div>With that patch, flashrom will fill in unreadable parts with 0xff bytes, and will not attempt to erase/write those parts. Verbose output will show "WD" (Write Denied) for regions that are unwriteable.</div>

</div>