enable serial debug on HP EliteBook 8460p

there's a uart on the docking station

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2024-11-20 12:07:18 +00:00
parent b79bd736e7
commit a68b468964
2 changed files with 48 additions and 4 deletions

View File

@ -115,12 +115,14 @@ CONFIG_FMDFILE=""
# CONFIG_NO_POST is not set # CONFIG_NO_POST is not set
CONFIG_MAINBOARD_VENDOR="HP" CONFIG_MAINBOARD_VENDOR="HP"
CONFIG_CBFS_SIZE=0x7E9000 CONFIG_CBFS_SIZE=0x7E9000
CONFIG_CONSOLE_SERIAL=y
CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT=1600 CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT=1600
CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH=2560 CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH=2560
CONFIG_MAX_CPUS=8 CONFIG_MAX_CPUS=8
# CONFIG_ONBOARD_VGA_IS_PRIMARY is not set # CONFIG_ONBOARD_VGA_IS_PRIMARY is not set
CONFIG_POST_DEVICE=y CONFIG_POST_DEVICE=y
CONFIG_POST_IO=y CONFIG_POST_IO=y
CONFIG_UART_FOR_CONSOLE=0
CONFIG_DEVICETREE="devicetree.cb" CONFIG_DEVICETREE="devicetree.cb"
# CONFIG_VBOOT is not set # CONFIG_VBOOT is not set
CONFIG_VARIANT_DIR="8460p" CONFIG_VARIANT_DIR="8460p"
@ -193,8 +195,9 @@ CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM=0x10000000
CONFIG_PS2K_EISAID="PNP0303" CONFIG_PS2K_EISAID="PNP0303"
CONFIG_PS2M_EISAID="PNP0F13" CONFIG_PS2M_EISAID="PNP0F13"
CONFIG_GFX_GMA_PANEL_1_PORT="LVDS" CONFIG_GFX_GMA_PANEL_1_PORT="LVDS"
CONFIG_TTYS0_BAUD=115200
CONFIG_D3COLD_SUPPORT=y CONFIG_D3COLD_SUPPORT=y
# CONFIG_DRIVERS_UART_8250IO is not set CONFIG_DRIVERS_UART_8250IO=y
CONFIG_PC_CMOS_BASE_PORT_BANK1=0x72 CONFIG_PC_CMOS_BASE_PORT_BANK1=0x72
CONFIG_HEAP_SIZE=0x100000 CONFIG_HEAP_SIZE=0x100000
CONFIG_EC_GPE_SCI=0x50 CONFIG_EC_GPE_SCI=0x50
@ -470,6 +473,7 @@ CONFIG_SPI_FLASH_SST=y
CONFIG_SPI_FLASH_ISSI=y CONFIG_SPI_FLASH_ISSI=y
CONFIG_TPM_INIT_RAMSTAGE=y CONFIG_TPM_INIT_RAMSTAGE=y
# CONFIG_TPM_PPI is not set # CONFIG_TPM_PPI is not set
CONFIG_DRIVERS_UART=y
# CONFIG_DRIVERS_UART_OXPCIE is not set # CONFIG_DRIVERS_UART_OXPCIE is not set
CONFIG_HAVE_USBDEBUG=y CONFIG_HAVE_USBDEBUG=y
CONFIG_HAVE_USBDEBUG_OPTIONS=y CONFIG_HAVE_USBDEBUG_OPTIONS=y
@ -571,10 +575,27 @@ CONFIG_RTC=y
CONFIG_BOOTBLOCK_CONSOLE=y CONFIG_BOOTBLOCK_CONSOLE=y
CONFIG_POSTCAR_CONSOLE=y CONFIG_POSTCAR_CONSOLE=y
CONFIG_SQUELCH_EARLY_SMP=y CONFIG_SQUELCH_EARLY_SMP=y
#
# I/O mapped, 8250-compatible
#
CONFIG_TTYS0_BASE=0x3f8
#
# Serial port base address = 0x3f8
#
# CONFIG_CONSOLE_SERIAL_921600 is not set
# CONFIG_CONSOLE_SERIAL_460800 is not set
# CONFIG_CONSOLE_SERIAL_230400 is not set
CONFIG_CONSOLE_SERIAL_115200=y
# CONFIG_CONSOLE_SERIAL_57600 is not set
# CONFIG_CONSOLE_SERIAL_38400 is not set
# CONFIG_CONSOLE_SERIAL_19200 is not set
# CONFIG_CONSOLE_SERIAL_9600 is not set
CONFIG_TTYS0_LCS=3
# CONFIG_SPKMODEM is not set # CONFIG_SPKMODEM is not set
# CONFIG_CONSOLE_NE2K is not set # CONFIG_CONSOLE_NE2K is not set
CONFIG_CONSOLE_CBMEM=y CONFIG_CONSOLE_CBMEM=y
# CONFIG_CONSOLE_CBMEM_DUMP_TO_UART is not set
# CONFIG_CONSOLE_SPI_FLASH is not set # CONFIG_CONSOLE_SPI_FLASH is not set
# CONFIG_CONSOLE_I2C_SMBUS is not set # CONFIG_CONSOLE_I2C_SMBUS is not set
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
@ -638,6 +659,7 @@ CONFIG_PAYLOAD_NONE=y
# #
# General Debug Settings # General Debug Settings
# #
# CONFIG_GDB_STUB is not set
# CONFIG_FATAL_ASSERTS is not set # CONFIG_FATAL_ASSERTS is not set
# CONFIG_DEBUG_CBFS is not set # CONFIG_DEBUG_CBFS is not set
CONFIG_HAVE_DEBUG_RAM_SETUP=y CONFIG_HAVE_DEBUG_RAM_SETUP=y

View File

@ -115,10 +115,12 @@ CONFIG_FMDFILE=""
# CONFIG_NO_POST is not set # CONFIG_NO_POST is not set
CONFIG_MAINBOARD_VENDOR="HP" CONFIG_MAINBOARD_VENDOR="HP"
CONFIG_CBFS_SIZE=0x7E9000 CONFIG_CBFS_SIZE=0x7E9000
CONFIG_CONSOLE_SERIAL=y
CONFIG_MAX_CPUS=8 CONFIG_MAX_CPUS=8
# CONFIG_ONBOARD_VGA_IS_PRIMARY is not set # CONFIG_ONBOARD_VGA_IS_PRIMARY is not set
CONFIG_POST_DEVICE=y CONFIG_POST_DEVICE=y
CONFIG_POST_IO=y CONFIG_POST_IO=y
CONFIG_UART_FOR_CONSOLE=0
CONFIG_DEVICETREE="devicetree.cb" CONFIG_DEVICETREE="devicetree.cb"
# CONFIG_VBOOT is not set # CONFIG_VBOOT is not set
CONFIG_VARIANT_DIR="8460p" CONFIG_VARIANT_DIR="8460p"
@ -191,8 +193,9 @@ CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM=0x10000000
CONFIG_PS2K_EISAID="PNP0303" CONFIG_PS2K_EISAID="PNP0303"
CONFIG_PS2M_EISAID="PNP0F13" CONFIG_PS2M_EISAID="PNP0F13"
CONFIG_GFX_GMA_PANEL_1_PORT="LVDS" CONFIG_GFX_GMA_PANEL_1_PORT="LVDS"
CONFIG_TTYS0_BAUD=115200
CONFIG_D3COLD_SUPPORT=y CONFIG_D3COLD_SUPPORT=y
# CONFIG_DRIVERS_UART_8250IO is not set CONFIG_DRIVERS_UART_8250IO=y
CONFIG_PC_CMOS_BASE_PORT_BANK1=0x72 CONFIG_PC_CMOS_BASE_PORT_BANK1=0x72
CONFIG_HEAP_SIZE=0x100000 CONFIG_HEAP_SIZE=0x100000
CONFIG_EC_GPE_SCI=0x50 CONFIG_EC_GPE_SCI=0x50
@ -466,6 +469,7 @@ CONFIG_SPI_FLASH_SST=y
CONFIG_SPI_FLASH_ISSI=y CONFIG_SPI_FLASH_ISSI=y
CONFIG_TPM_INIT_RAMSTAGE=y CONFIG_TPM_INIT_RAMSTAGE=y
# CONFIG_TPM_PPI is not set # CONFIG_TPM_PPI is not set
CONFIG_DRIVERS_UART=y
# CONFIG_DRIVERS_UART_OXPCIE is not set # CONFIG_DRIVERS_UART_OXPCIE is not set
CONFIG_HAVE_USBDEBUG=y CONFIG_HAVE_USBDEBUG=y
CONFIG_HAVE_USBDEBUG_OPTIONS=y CONFIG_HAVE_USBDEBUG_OPTIONS=y
@ -568,10 +572,27 @@ CONFIG_RTC=y
CONFIG_BOOTBLOCK_CONSOLE=y CONFIG_BOOTBLOCK_CONSOLE=y
CONFIG_POSTCAR_CONSOLE=y CONFIG_POSTCAR_CONSOLE=y
CONFIG_SQUELCH_EARLY_SMP=y CONFIG_SQUELCH_EARLY_SMP=y
#
# I/O mapped, 8250-compatible
#
CONFIG_TTYS0_BASE=0x3f8
#
# Serial port base address = 0x3f8
#
# CONFIG_CONSOLE_SERIAL_921600 is not set
# CONFIG_CONSOLE_SERIAL_460800 is not set
# CONFIG_CONSOLE_SERIAL_230400 is not set
CONFIG_CONSOLE_SERIAL_115200=y
# CONFIG_CONSOLE_SERIAL_57600 is not set
# CONFIG_CONSOLE_SERIAL_38400 is not set
# CONFIG_CONSOLE_SERIAL_19200 is not set
# CONFIG_CONSOLE_SERIAL_9600 is not set
CONFIG_TTYS0_LCS=3
# CONFIG_SPKMODEM is not set # CONFIG_SPKMODEM is not set
# CONFIG_CONSOLE_NE2K is not set # CONFIG_CONSOLE_NE2K is not set
CONFIG_CONSOLE_CBMEM=y CONFIG_CONSOLE_CBMEM=y
# CONFIG_CONSOLE_CBMEM_DUMP_TO_UART is not set
# CONFIG_CONSOLE_SPI_FLASH is not set # CONFIG_CONSOLE_SPI_FLASH is not set
# CONFIG_CONSOLE_I2C_SMBUS is not set # CONFIG_CONSOLE_I2C_SMBUS is not set
# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
@ -635,6 +656,7 @@ CONFIG_PAYLOAD_NONE=y
# #
# General Debug Settings # General Debug Settings
# #
# CONFIG_GDB_STUB is not set
# CONFIG_FATAL_ASSERTS is not set # CONFIG_FATAL_ASSERTS is not set
# CONFIG_DEBUG_CBFS is not set # CONFIG_DEBUG_CBFS is not set
CONFIG_HAVE_DEBUG_RAM_SETUP=y CONFIG_HAVE_DEBUG_RAM_SETUP=y