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

From coreboot
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  # flashrom -w build/coreboot.rom -p internal
+
== 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 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
Line 27: Line 36:
 
  -------------------------------------------------------------------------------
 
  -------------------------------------------------------------------------------
 
  DO NOT REBOOT OR POWEROFF!
 
  DO NOT REBOOT OR POWEROFF!
+
 
  # flashrom -w build/coreboot.rom -p internal
+
  $ sudo flashrom -w ../coreboot/build/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

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.