-
CONFIG_X86_VERY_EARLY_CONSOLE¶
Support very early boot printk
Type: bool
Help¶
Non-emulated X86 devices often require special hardware to attach a debugger, which may not be easily available. This option adds a very minimal serial driver which gets initialized at the very beginning of z_cstart(), via arch_kernel_init(). This driver enables printk to emit messages to the 16550 UART port 0 instance in device tree. This mini-driver assumes I/O to the UART is done via ports.
Default¶
y
Kconfig definition¶
At arch/x86/Kconfig:176
Included via Kconfig:8 → Kconfig.zephyr:29 → arch/Kconfig:12
Menu path: (Top) → X86 Architecture Options
config X86_VERY_EARLY_CONSOLE
bool "Support very early boot printk"
default y
depends on PRINTK && X86
help
Non-emulated X86 devices often require special hardware to attach
a debugger, which may not be easily available. This option adds a
very minimal serial driver which gets initialized at the very
beginning of z_cstart(), via arch_kernel_init(). This driver enables
printk to emit messages to the 16550 UART port 0 instance in device
tree. This mini-driver assumes I/O to the UART is done via ports.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)