flashrom -w /tmp/apu2_v4.14.0.1.rom -p internal flashrom v1.2 on FreeBSD 12.2-STABLE (amd64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 4, resolution: 2ns). coreboot table found at 0xcfec1000. Found chipset "AMD FCH". Enabling flash write... OK. Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x00000000ff800000. Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x0000e000! Expected=0xff, Found=0x00, failed byte count from 0x0000e000-0x0000efff: 0x217 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Erase/write done. Verifying flash... FAILED at 0x00000000! Expected=0x2f, Found=0xff, failed byte count from 0x00000000-0x007fffff: 0x101cb1 Your flash chip is in an unknown state. Get help on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org with the subject "FAILED: <your board name>"! ------------------------------------------------------------------------------- DO NOT REBOOT OR POWEROFF!
Stephen Hladysh sjhladysh@gmail.com writes:
flashrom -w /tmp/apu2_v4.14.0.1.rom -p internal flashrom v1.2 on FreeBSD 12.2-STABLE (amd64) flashrom is free software, get the source code at https://flashrom.org
I am far from an expert, but:
have you previously run flashrom successfully on this device? Other apu2 boxes?
I have run flashrom under NetBSD on two apu2 boxes. I did this in March with the then-current BIOS, v4.13.0.6, which worked entirely fine. I am 90% sure it was 1.2, but I might have been running 1.1. One apu2 was bought in 2019, and I think is a 2d4 and the other in 2020, I think 2e4 but it might still be 2d4.
I really don't expect 2d4 vs 2e4 to be any different
I hope you ordered the BIOS rescue chip when you got your apu2. I did but I have not needed it. It's very cool that such a thing exists.