Hi,
How are you?
I am trying to coreboot an Asus A88XM-E. The chip on that motherboard is GD25Q64(B), which I execute sudo flashrom --programmer ch341a_spi -w coreboot.rom, I got this error: flashrom v1.2 on Linux 5.9.14-rockchip64 (aarch64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Found GigaDevice flash chip "GD25Q64(B)" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... Erase/write done. Verifying flash... FAILED at 0x00000000! Expected=0x5f, Found=0xff, failed byte count from 0x00000000-0x007fffff: 0x168 Your flash chip is in an unknown state. Please report this on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org, thanks!
I got new GD25Q64 chips from aliexpress. The verbose version is like this:
Found GigaDevice flash chip "GD25Q64(B)" (8192 kB, SPI). This chip may contain one-time programmable memory. flashrom cannot read and may never be able to write it, hence it may not be able to completely clone the contents of this chip (see man page for details). Reading old flash chip contents... done. Erasing and writing flash chip... Trying erase function 0... 0x000000-0x000fff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00000fff: 0xd28 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 1... 0x000000-0x007fff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00007fff: 0x7a0b ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 2... 0x000000-0x00ffff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0000ffff: 0xf342 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 3... 0x000000-0x7fffff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x9dfd4 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function.
I have also made a post on reddit asking for answers. https://www.reddit.com/r/coreboot/comments/krfjsn/question_about_how_to_core...
Can you please let me know what I did wrong?
Thanks,
OP's question got resolved at https://mail.coreboot.org/hyperkitty/list/coreboot@coreboot.org/thread/HVTJJ... , for those who are searching.
On Thu, Jan 28, 2021 at 8:36 PM magiccat1 via flashrom flashrom@flashrom.org wrote:
Hi,
How are you?
I am trying to coreboot an Asus A88XM-E. The chip on that motherboard is GD25Q64(B), which I execute sudo flashrom --programmer ch341a_spi -w coreboot.rom, I got this error: flashrom v1.2 on Linux 5.9.14-rockchip64 (aarch64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Found GigaDevice flash chip "GD25Q64(B)" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... Erase/write done. Verifying flash... FAILED at 0x00000000! Expected=0x5f, Found=0xff, failed byte count from 0x00000000-0x007fffff: 0x168 Your flash chip is in an unknown state. Please report this on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org, thanks!
I got new GD25Q64 chips from aliexpress. The verbose version is like this:
Found GigaDevice flash chip "GD25Q64(B)" (8192 kB, SPI). This chip may contain one-time programmable memory. flashrom cannot read and may never be able to write it, hence it may not be able to completely clone the contents of this chip (see man page for details). Reading old flash chip contents... done. Erasing and writing flash chip... Trying erase function 0... 0x000000-0x000fff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00000fff: 0xd28 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 1... 0x000000-0x007fff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00007fff: 0x7a0b ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 2... 0x000000-0x00ffff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0000ffff: 0xf342 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 3... 0x000000-0x7fffff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x9dfd4 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function.
I have also made a post on reddit asking for answers. https://www.reddit.com/r/coreboot/comments/krfjsn/question_about_how_to_core...
Can you please let me know what I did wrong?
Thanks,
flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org