[flashrom] failed flash
Hatim Kanchwala
hatim at hatimak.me
Thu Jul 28 14:32:59 CEST 2016
Hello Andrius,
Could you please send a verbose log to the mailing list? If you run
flashrom with additional argument "-o logfile.txt", that should do.
Please have a look at the man page. :)
You could also check out common problems
(https://www.flashrom.org/Common_problems). Perhaps a write protection
mode is in effect, which cannot be disabled on a software level? Is the
WP# pin low?
We could help you better with that log file. ;) Thank you :)
Hatim
On Tuesday 26 July 2016 10:05 PM, Andrius Montvydas wrote:
>
> hello,
>
> I had a bad bios flash, so i wanted to flash original bios using
> flashrom but it failed.
> I was using Raspberry Pi 3, bios chip is winbond W25Q64FW
>
> flashrom v0.9.9-r1954 on Linux 4.4.13-v7+ (armv7l)
> flashrom is free software, get the source code at https://flashrom.org
>
> Calibrating delay loop... OK.
> Found Winbond flash chip "W25Q64.W" (8192 kB, SPI) on linux_spi.
> Reading old flash chip contents... done.
> Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff,
> Found=0x00, failed byte count from 0x00000000-0x00000fff: 0x1000
> ERASE FAILED!
> Reading current flash chip contents... done. Looking for another erase
> function.
> FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from
> 0x00000000-0x00007fff: 0x8000
> ERASE FAILED!
> Reading current flash chip contents... done. Looking for another erase
> function.
> FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from
> 0x00000000-0x0000ffff: 0x10000
> ERASE FAILED!
> Reading current flash chip contents... done. Looking for another erase
> function.
> FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from
> 0x00000000-0x007fffff: 0x800000
> ERASE FAILED!
> Reading current flash chip contents... done. Looking for another erase
> function.
> FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from
> 0x00000000-0x007fffff: 0x800000
> ERASE FAILED!
> Looking for another erase function.
> No usable erase functions left.
> FAILED!
> Uh oh. Erase/write failed. Checking if anything has changed.
> Reading current flash chip contents... done.
> Apparently at least some data has changed.
> Your flash chip is in an unknown state.
> Please report this on IRC at chat.freenode.net
> <http://chat.freenode.net> (channel #flashrom) or
> mail flashrom at flashrom.org <mailto:flashrom at flashrom.org>, thanks!
> pi at raspberrypi:~ $
>
> Thank you for any information.
>
> --
> Andrius M.
>
>
> _______________________________________________
> flashrom mailing list
> flashrom at flashrom.org
> https://www.flashrom.org/mailman/listinfo/flashrom
>
More information about the flashrom
mailing list