[flashrom] Big problem after flash of SST SST25VF016B on HP Compaq 615

Michael Karcher flashrom at mkarcher.dialup.fu-berlin.de
Sat Jan 9 19:45:36 CET 2010


Am Samstag, den 09.01.2010, 18:28 +0100 schrieb Parallix:
> I've a big problem. Of course, I made a backup of my old bios with
> flashrom -r oldbios.bin. Then I tried to flash my HP Compaq 615 with
> flashrom v0.9.1-r792 and got the following "warning":

Don't worry, we can fix that up, I think.

> Found chip "SST SST25VF016B" (2048 KB, SPI) at physical address 0xffe00000.
> Writing flash chip... Erasing flash before programming...
>  Erasing flash chip... ERASE FAILED at 0x001c0000! Expected=0xff, Read=0xfc,
>  failed byte count from 0x00000000-0x001fffff: 0x37386
[wrapping by me]

That seems to indicate a boot block lock on that chip. The last 256KB of
the chip could not be erased, but the first 1.75MB are erased now.

> After reading the flash contents with flashrom -r newbios.bin I
> compared the old bios with the new one. They differ. What can I now
> do?

Reflash the old BIOS after disabling the check for successful erase.
Delete the "return -1" line at spi.c, line 1008.

Regards,
  Michael Karcher






More information about the flashrom mailing list