User:GNUtoo/APU1 reflashing

From coreboot
Jump to navigation Jump to search

WARNING

This howto is extremely dangerous as following it will most probably result in a non-booting mainboard. It is a work in progress, and when it will be in good shape, the warning will be removed.

WIP HOWTO

$ git clone git://github.com/pcengines/flashrom.git
$ TODO: checkout the right branch and apply patches if necessary
$ make clean
$ make CONFIG_INTERNAL=yes CONFIG_NOTHING=yes install
$ sudo ./flashrom -w ../coreboot/build/coreboot.rom -p internal
flashrom v1.0-25-gbf0ac34 on Linux 4.16.5-gnu-1 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
 
coreboot table found at 0xdfd71000.
Found chipset "AMD SB7x0/SB8x0/SB9x0".
Enabling flash write... OK.
Identifying board "PC Engines apu1"... OK.
Found Macronix flash chip "MX25L1605A/MX25L1606E/MX25L1608E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Reading old flash chip contents... done.
Erasing and writing flash chip... AMD SPI FIFO pointer corruption! Pointer is 0, wanted 3
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
Verification impossible because read failed at 0x80000 (len 0x10000)
ERASE FAILED!
Reading current flash chip contents... AMD SPI FIFO pointer corruption! Pointer is 0, wanted 3
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
Can't read anymore! Aborting.
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.
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!
$ sudo flashrom -w ../coreboot/build/coreboot.rom -p internal
flashrom v1.0-25-gbf0ac34 on Linux 4.16.5-gnu-1 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

coreboot table found at 0xdfd71000.
Found chipset "AMD SB7x0/SB8x0/SB9x0".
Enabling flash write... OK.
Identifying board "PC Engines apu1"... OK.
Found Macronix flash chip "MX25L1605A/MX25L1606E/MX25L1608E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Reading old flash chip contents... done.
Erasing and writing flash chip... AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
Erase/write done.
Verifying flash... VERIFIED.