Hi Adam, Partial reads are not currently supported in upstream (even with a layout file), but they are supported in the ChromiumOS branch: https://chromium.googlesource.com/chromiumos/third_party/flashrom
Basically what you'll need to do is: 1. Make sure your chip is supported (in flashchips.c). 2. Create a layout file ('echo "start:end name" >> layout.txt') 3. flashrom -p dediprog -r -l layout.txt -i name:name.bin
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.
HTH!
On Wed, May 27, 2015 at 7:32 PM, Adam Duncan adam.duncan@gmail.com wrote:
Hi,
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?
Thanks!
flashrom mailing list flashrom@flashrom.org http://www.flashrom.org/mailman/listinfo/flashrom