[flashrom] Writing to a specific Flash region with Layout approach

Pradeep Ch shanmugp at sysargus.com
Mon Aug 1 09:33:12 CEST 2016


I am attempting to write to a flashrom using layout/region approach.
The NOR flash size is 8MBytes. The file size I am writing is 106976 Bytes.

The rom.layout file contents are:
 00000000:0001a1df test1
 0001a1e0:007fffff test2

The command I am using is:
./flashrom -p ft2232_spi:type=arm-usb-ocd --layout rom.layout --image test1
-w bootloader.img

The error I am getting is :
Using region: "test1".
Calibrating delay loop... OK.
Found Eon flash chip "EN25Q64" (8192 kB, SPI) on ft2232_spi.
Error: Image size (106976 B) doesn't match the flash chip's size (8388608
B)!

Please let me know about the error.

Thanks,
Pradeep Ch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20160801/26cad2f2/attachment.html>


More information about the flashrom mailing list