<div dir="ltr"><div><br></div><div>I am attempting to write to a flashrom using layout/region approach.</div><div>The NOR flash size is 8MBytes. The file size I am writing is 106976 Bytes.</div><div><br></div><div><div>The rom.layout file contents are:</div><div><div> 00000000:0001a1df test1</div><div> 0001a1e0:007fffff test2</div></div></div><div><br></div><div><div>The command I am using is:</div><div>./flashrom -p ft2232_spi:type=arm-usb-ocd --layout rom.layout --image test1 -w bootloader.img<br></div></div><div><br></div><div>The error I am getting is :<br></div><div><div>Using region: "test1".</div><div>Calibrating delay loop... OK.</div><div>Found Eon flash chip "EN25Q64" (8192 kB, SPI) on ft2232_spi.</div><div>Error: Image size (106976 B) doesn't match the flash chip's size (8388608 B)!</div></div><div><br></div><div>Please let me know about the error.</div><div><br></div><div>Thanks,</div><div>Pradeep Ch.</div><div><br></div><div><br></div></div>