$ flashrom -L|grep SST49LF004A/B SST SST49LF004A/B P R E W 512 FWH
$ sudo flashrom -w IN2202.ROM flashrom v0.9.2-r1141 on Linux 2.6.38-16-generic (i686), built with libpci 3.1.7, GCC 4.5.1, little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. No coreboot table found. Found ITE Super I/O, id 8712 Found chipset "Intel ICH5/ICH5R", enabling flash write... OK. This chipset supports the following protocols: FWH. Found chip "SST SST49LF004A/B" (512 KB, FWH) at physical address 0xfff80000. Flash image seems to be a legacy BIOS. Disabling checks. Writing flash chip... Erasing flash chip... ERASE FAILED at 0x00000000! Expected=0xff, Read=0x49, failed byte count from 0x00000000-0x00000fff: 0x584 ERASE FAILED! ERASE FAILED at 0x00000000! Expected=0xff, Read=0x49, failed byte count from 0x00000000-0x0000ffff: 0xd7f ERASE FAILED! FAILED! ERASE FAILED! FAILED! Your flash chip is in an unknown state. Get help on IRC at irc.freenode.net (channel #flashrom) or mail flashrom@flashrom.org! ------------------------------------------------------------------------------- DO NOT REBOOT OR POWEROFF!
On 04/26/2014 12:40 PM, Jonathan B. Horen wrote:
ERASE FAILED at 0x00000000! Expected=0xff, Read=0x49, failed byte count from 0x00000000-0x00000fff: 0x584
I downloaded-compiled-installed the newest version of flashrom.
$ sudo flashrom -p internal -w original.rom flashrom v0.9.7-r1711 on Linux 2.6.38-16-generic (i686) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found chipset "Intel ICH5/ICH5R". Enabling flash write... OK. Found SST flash chip "SST49LF004A/B" (512 kB, FWH) at physical address 0xfff80000. Reading old flash chip contents... done. Erasing and writing flash chip... Warning: Chip content is identical to the requested image. Erase/write done.
Followed by:
$ sudo flashrom -p internal -w IN2202.ROM flashrom v0.9.7-r1711 on Linux 2.6.38-16-generic (i686) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found chipset "Intel ICH5/ICH5R". Enabling flash write... OK. Found SST flash chip "SST49LF004A/B" (512 kB, FWH) at physical address 0xfff80000. Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x49, failed byte count from 0x00000000-0x00000fff: 0x584 ERASE FAILED! Reading current flash chip contents... done. FAILED at 0x00000000! Expected=0xff, Found=0x49, failed byte count from 0x00000000-0x0000ffff: 0xd7f ERASE FAILED! FAILED! Uh oh. Erase/write failed. Checking if anything changed. Good. It seems nothing was changed. Writing to the flash chip apparently didn't do anything. This means we have to add special support for your board, programmer or flash chip. Please report this on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org, thanks! ------------------------------------------------------------------------------- You may now reboot or simply leave the machine running.
I guess the "problem" is solved.
2014-04-26 19:39 GMT+02:00 Jonathan B. Horen jbhoren@gmail.com:
Uh oh. Erase/write failed. Checking if anything changed. Good. It seems nothing was changed. Writing to the flash chip apparently didn't do anything. This means we have to add special support for your board, programmer or flash chip. Please report this on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org, thanks!
You may now reboot or simply leave the machine running.
I guess the "problem" is solved.
No - instead a write/erase protection is active.
We need special code to support writing on your mainboard. Please upload the output of 'flashrom -p internal -V', 'lspci -nnvvvxxx', 'superiotool -deV' (run all commands as root) and the file read with 'flashrom -p internal -r readout.rom' to http://paste.flashrom.org. Send all resulting URLs to flashrom@flashrom.org and mention the exact name of your board (including revision, if there are multiple revisions) in the subject.