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.

Direct dependencies

SOC_LAKEMONT || SOC_LAKEMONT || (PRINTK && X86)

(Includes any dependencies from ifs and menus.)

Defaults

  • n

  • n

  • y

Kconfig definitions

At <Zephyr>/soc/x86/lakemont/Kconfig.defconfig:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config X86_VERY_EARLY_CONSOLE
    bool
    default n
    depends on SOC_LAKEMONT

At <Zephyr>/soc/x86/lakemont/Kconfig.defconfig:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27

Menu path: (Top)

config X86_VERY_EARLY_CONSOLE
    bool
    default n
    depends on SOC_LAKEMONT

At <Zephyr>/arch/x86/Kconfig:326

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:37<Zephyr>/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.)