Difference between revisions of "User:GNUtoo/APU1 reflashing"

From coreboot
Jump to: navigation, search
(Created page with "<source lang="bash"> # flashrom -w ../coreboot/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...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<source lang="bash">
+
== WARNING ==
# flashrom -w ../coreboot/coreboot.rom -p internal
+
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.
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.
+
== WIP HOWTO ==
Found chipset "AMD SB7x0/SB8x0/SB9x0".
+
$ git clone git://github.com/pcengines/flashrom.git
Enabling flash write... OK.
+
$ TODO: checkout the right branch and apply patches if necessary
Identifying board "PC Engines apu1"... OK.
+
$ make clean
Found Macronix flash chip "MX25L1605A/MX25L1606E/MX25L1608E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
+
$ make CONFIG_INTERNAL=yes CONFIG_NOTHING=yes install
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!
 
</source>
 
  
<source lang="bash">
+
$ sudo ./flashrom -w ../coreboot/build/coreboot.rom -p internal
# flashrom -w ../coreboot/coreboot.rom -p internal
+
flashrom v1.0-25-gbf0ac34 on Linux 4.16.5-gnu-1 (x86_64)
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
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!
  
coreboot table found at 0xdfd71000.
+
$ sudo flashrom -w ../coreboot/build/coreboot.rom -p internal
Found chipset "AMD SB7x0/SB8x0/SB9x0".
+
flashrom v1.0-25-gbf0ac34 on Linux 4.16.5-gnu-1 (x86_64)
Enabling flash write... OK.
+
flashrom is free software, get the source code at https://flashrom.org
Identifying board "PC Engines apu1"... OK.
+
Found Macronix flash chip "MX25L1605A/MX25L1606E/MX25L1608E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
+
coreboot table found at 0xdfd71000.
Reading old flash chip contents... done.
+
Found chipset "AMD SB7x0/SB8x0/SB9x0".
Erasing and writing flash chip... AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
+
Enabling flash write... OK.
Something else is accessing the flash chip and causes random corruption.
+
Identifying board "PC Engines apu1"... OK.
Please stop all applications and drivers and IPMI which access the flash chip.
+
Found Macronix flash chip "MX25L1605A/MX25L1606E/MX25L1608E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
RDSR failed!
+
Reading old flash chip contents... done.
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
+
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.
+
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
+
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
+
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
+
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
+
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
+
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
+
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
+
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
+
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
+
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
+
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
+
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
+
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
+
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
+
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
+
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
+
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
+
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
+
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
+
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
+
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
+
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
+
RDSR failed!
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
+
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Something else is accessing the flash chip and causes random corruption.
+
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
+
Please stop all applications and drivers and IPMI which access the flash chip.
RDSR failed!
+
RDSR failed!
Erase/write done.
+
AMD SPI FIFO pointer corruption! Pointer is 0, wanted 2
Verifying flash... VERIFIED.
+
Something else is accessing the flash chip and causes random corruption.
</source>
+
Please stop all applications and drivers and IPMI which access the flash chip.
 +
RDSR failed!
 +
Erase/write done.
 +
Verifying flash... VERIFIED.

Latest revision as of 13:52, 10 May 2018

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.