Skip to content

Commit 1e840fc

Browse files
committed
galp5 : add console debug output to SPI so that unbootable system can 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 <insurgo@riseup.net>
1 parent 8605386 commit 1e840fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/coreboot-galp5.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ CONFIG_NO_EARLY_GFX_INIT=y
559559
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
560560
CONFIG_LINEAR_FRAMEBUFFER=y
561561
CONFIG_BOOTSPLASH=y
562+
CONFIG_HEAP_SIZE=0x400000
562563
# end of Display
563564

564565
CONFIG_PCI=y
@@ -716,7 +717,6 @@ CONFIG_PLATFORM_HAS_DRAM_CLEAR=y
716717
CONFIG_BOOTMEDIA_LOCK_NONE=y
717718
# CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set
718719
# CONFIG_BOOTMEDIA_LOCK_CHIP is not set
719-
# CONFIG_BOOTMEDIA_SMM_BWP is not set
720720
# end of Security
721721

722722
CONFIG_ACPI_HAVE_PCAT_8259=y
@@ -732,7 +732,6 @@ CONFIG_BOOT_DEVICE_SPI_FLASH=y
732732
CONFIG_BOOT_DEVICE_MEMORY_MAPPED=y
733733
CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y
734734
CONFIG_RTC=y
735-
CONFIG_HEAP_SIZE=0x400000
736735

737736
#
738737
# Console
@@ -758,7 +757,8 @@ CONFIG_TTYS0_LCS=3
758757
# CONFIG_SPKMODEM is not set
759758
# CONFIG_CONSOLE_NE2K is not set
760759
CONFIG_CONSOLE_CBMEM=y
761-
# CONFIG_CONSOLE_SPI_FLASH is not set
760+
CONFIG_CONSOLE_SPI_FLASH=y
761+
CONFIG_CONSOLE_SPI_FLASH_BUFFER_SIZE=0x20000
762762
# CONFIG_CONSOLE_I2C_SMBUS is not set
763763
# CONFIG_CONSOLE_SYSTEM76_EC is not set
764764
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set

0 commit comments

Comments
 (0)