Get the latest tech news
Linux 6.15 To Gain New Option For Those Building The Kernel Without Virtual Terminal
The printk changes submitted for the Linux 6.15 kernel introduce a new 'NULL_TTY_DEFAULT_CONSOLE' Kconfig build-time option for allowing the null TTY to be the default for those building the Linux kernel without virtual terminal (VT) support.
There has long been the ability to build the Linux kernel without VT support via the "CONFIG_VT" switch but in that case the default output becomes the serial console. The patch from Adam Simonelli elaborates:"If CONFIG_NULL_TTY_DEFAULT_CONSOLE is enabled, and CONFIG_VT is disabled, ttynull will become the default primary console device, based on the link order. Separately this pull also introduces a new "printk.debug_non_panic_cpus" option to store printk messages from non-panic CPUs during a kernel panic.
Or read this on Phoronix