<div dir="ltr">Hi Adam,<div>Partial reads are not currently supported in upstream (even with a layout file), but they are supported in the ChromiumOS branch: <a href="https://chromium.googlesource.com/chromiumos/third_party/flashrom">https://chromium.googlesource.com/chromiumos/third_party/flashrom</a></div><div><br></div><div>Basically what you'll need to do is:</div><div>1. Make sure your chip is supported (in flashchips.c).</div><div>2. Create a layout file ('echo "start:end name" >> layout.txt')</div><div>3. flashrom -p dediprog -r -l layout.txt -i name:name.bin</div><div><br></div><div>For example, if your start and end are 000:fff and the name is "bottom_4k", the command `flashrom -p dediprog -r -l layout.txt -i bottom_4k:bottom_4k.bin` will read 4K from 0x000000-0x000fff and write it to a file called bottom_4k.bin.<br></div><div><br></div><div>HTH!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 7:32 PM, Adam Duncan <span dir="ltr"><<a href="mailto:adam.duncan@gmail.com" target="_blank">adam.duncan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi,</p>
<p dir="ltr">I am trying to read a specific address range of a  chip using the partial read feature in flashrom .9.7 using a dediprog or buspirate. Is there a command line argument to specify the addresses you would like to read from?</p>
<p dir="ltr">Thanks!</p>
<br>_______________________________________________<br>
flashrom mailing list<br>
<a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a><br>
<a href="http://www.flashrom.org/mailman/listinfo/flashrom" target="_blank">http://www.flashrom.org/mailman/listinfo/flashrom</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.</div>
</div>