Tested flashing with the backup file:
sudo flashrom -w BACKUP.ROM flashrom v0.9.1-r993 on Linux 2.6.32-19-generic (i686), built with libpci 3.0.0, GCC 4.4.3 No coreboot table found. ======================================================================== WARNING! You seem to be running flashrom on a laptop. Laptops, notebooks and netbooks are difficult to support and we recommend to use the vendor flashing utility. The embedded controller (EC) in these machines often interacts badly with flashing. See http://www.flashrom.org/Laptops for details. ======================================================================== Found chipset "VIA VT8235", enabling flash write... OK. This chipset supports the following protocols: Non-SPI. Disabling flash write protection for board "Acer Ferrari 3400"... OK. Calibrating delay loop... OK. Found chip "SST SST39SF040" (512 KB, Parallel) at physical address 0xfff80000. === This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE Please email a report to flashrom@flashrom.org if any of the above operations work correctly for you with this flash part. Please include the flashrom output with the additional -V option for all operations you tested (-V, -rV, -wV, -EV), and mention which mainboard or programmer you tested. Thanks for your help! === Flash image seems to be a legacy BIOS. Disabling checks. Writing flash chip... Erasing flash chip... SUCCESS. Programming page: DONE!ss: 0x0007f000 COMPLETE. Verifying flash... VERIFIED.
Looked good, so I shut down the computer and it came up as normal.
Well done Michael ;-)
How do I remove the unneeded stuff from the .WHP file?
When I tried to flash with it, it gave me: Error: Image size doesn't match
2010/4/12 Michael Karcher Michael.Karcher@fu-berlin.de:
Am Montag, den 12.04.2010, 00:50 +0200 schrieb Magnus Alm:
"sudo flashrom" doesn't cause any problems now.
Cool, looks like I got it right.
"sudo flashrom -r BACKUP.ROM" works also tho the created file is smaller than the downloaded file.
-rw-r--r-- 1 root root 524288 2010-04-12 00:36 BACKUP.ROM -rw-r--r-- 1 magnus magnus 525894 2004-10-19 09:32 ZI5_3C23.WPH
That might not be so strange if the downloaded file also contains information about "magic bits".
The .WPH file format contains flashing instructions appended to the image, while the BACKUP.ROM does not. Your backup is exactly 512*1024 bytes big. If you want to try flashing the new image (which will most likely work), you should keep the data from the BACKUP.ROM at offsets 0x10000..0x11fff, as this 8KB area contains BIOS system information. (I extracted this information from the appended stuff in the .WPH file) The first 0xE000 bytes in your flash BIOS contain the code for the embedded controller.
Regards, Michael Karcher