Skip to content

Commit

Permalink
galp5 : add console debug output to SPI so that unbootable system can…
Browse files Browse the repository at this point in the history
… have flash externally backup and inspected

TODO: turn on additional debugging in case more is needed with
docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) tlaurion/heads-dev-env:latest -- make BOARD=galp5 coreboot.modify_and_save_oldconfig_in_place

in DEBUGGING settings of coreboot menuconfig menu.

Signed-off-by: Thierry Laurion <[email protected]>
  • Loading branch information
tlaurion committed Sep 9, 2024
1 parent 8605386 commit 1e840fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/coreboot-galp5.config
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ CONFIG_NO_EARLY_GFX_INIT=y
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
CONFIG_LINEAR_FRAMEBUFFER=y
CONFIG_BOOTSPLASH=y
CONFIG_HEAP_SIZE=0x400000
# end of Display

CONFIG_PCI=y
Expand Down Expand Up @@ -716,7 +717,6 @@ CONFIG_PLATFORM_HAS_DRAM_CLEAR=y
CONFIG_BOOTMEDIA_LOCK_NONE=y
# CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set
# CONFIG_BOOTMEDIA_LOCK_CHIP is not set
# CONFIG_BOOTMEDIA_SMM_BWP is not set
# end of Security

CONFIG_ACPI_HAVE_PCAT_8259=y
Expand All @@ -732,7 +732,6 @@ CONFIG_BOOT_DEVICE_SPI_FLASH=y
CONFIG_BOOT_DEVICE_MEMORY_MAPPED=y
CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y
CONFIG_RTC=y
CONFIG_HEAP_SIZE=0x400000

#
# Console
Expand All @@ -758,7 +757,8 @@ CONFIG_TTYS0_LCS=3
# CONFIG_SPKMODEM is not set
# CONFIG_CONSOLE_NE2K is not set
CONFIG_CONSOLE_CBMEM=y
# CONFIG_CONSOLE_SPI_FLASH is not set
CONFIG_CONSOLE_SPI_FLASH=y
CONFIG_CONSOLE_SPI_FLASH_BUFFER_SIZE=0x20000
# CONFIG_CONSOLE_I2C_SMBUS is not set
# CONFIG_CONSOLE_SYSTEM76_EC is not set
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
Expand Down

0 comments on commit 1e840fc

Please sign in to comment.