Hi, Am 22.05.2010 01:15, schrieb Bernhardt, Pepper:
I wrote a quick C pgm to pad the file and ran the flashrom again. It worked. Thanks for your help.
-----Original Message----- From: Michael Karcher [mailto:flashrom@mkarcher.dialup.fu-berlin.de] Sent: Friday, May 21, 2010 6:33 PM To: Bernhardt, Pepper Cc: flashrom@flashrom.org Subject: Re: [flashrom] Flashrom with Sil 3132
Am Freitag, den 21.05.2010, 18:07 -0400 schrieb Bernhardt, Pepper:
Found chip "SST SST39VF040" (512 KB, Parallel) at physical address 0xfff80000.
Your chip is 512KB == 524288 bytes.
Error: Image size doesn't match
The file you try to write has a different size. If it is smaller, just append enough 0xFF bytes to have it fit.
probably worth to consider adding a commandline option which can overwrite the length check and automatically pad with 0xff? I see that almost every NIC bootprom suffers from same prob ...
Gün.