storm: enable CBMEM console dump
This patch enables on storm the recently introduced 'console buffer dump on reboot' capability. BRANCH=none BUG=chromium:475347 TEST=generated storm image with serial console disabled and both rw firmware A and B sections corrupted. Programmed the new image on an SP5 device and rebooted it. Observed the device dump cbmem console buffer to the serial output, terminating with VB2:vb2_fail() Need recovery, reason: 0x3 / 0xa Reboot requested (1008000a) Saving nvdata SF: Detected S25FL128S_256K with page size 10000, total 2000000 and the LED ring started flashing indicating recovery mode. Change-Id: Idb50c86f59f393c783ccbc15de8f5564e2a1b38e Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 0ec88001b152bb9f1d7268b83367131b004816f8 Original-Change-Id: I9345eeb4d375f42fb1e4c617495b63b308ce51d9 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/265295 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9986 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
This commit is contained in:
parent
189bec59f0
commit
8603680c4a
|
@ -25,7 +25,7 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select BOARD_ID_AUTO
|
select BOARD_ID_AUTO
|
||||||
select BOARD_ROMSIZE_KB_8192
|
select BOARD_ROMSIZE_KB_8192
|
||||||
select COMMON_CBFS_SPI_WRAPPER
|
select COMMON_CBFS_SPI_WRAPPER
|
||||||
select VBOOT_DISABLE_DEV_ON_RECOVERY
|
select CONSOLE_CBMEM_DUMP_TO_UART
|
||||||
select DRIVERS_I2C_WW_RING
|
select DRIVERS_I2C_WW_RING
|
||||||
select HAVE_HARD_RESET
|
select HAVE_HARD_RESET
|
||||||
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||||
|
@ -34,6 +34,7 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select SPI_FLASH
|
select SPI_FLASH
|
||||||
select SPI_FLASH_SPANSION
|
select SPI_FLASH_SPANSION
|
||||||
select SPI_FLASH_STMICRO
|
select SPI_FLASH_STMICRO
|
||||||
|
select VBOOT_DISABLE_DEV_ON_RECOVERY
|
||||||
select VIRTUAL_DEV_SWITCH
|
select VIRTUAL_DEV_SWITCH
|
||||||
select WIPEOUT_SUPPORTED
|
select WIPEOUT_SUPPORTED
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue