From 60e143a5893504de43aab98079b99af90efb4c26 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:28 +0100 Subject: ref-manual/variables: document the KERNEL_CONSOLE variable This variables holds the value of the `console` kernel command line parameter. Reviewed-by: Quentin Schulz (From yocto-docs rev: ea638e85316d0bc5c9917cefacef168782e4d92b) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index e8db89f8c9..b31abeced4 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -4578,6 +4578,19 @@ system and gives an overview of their function and contents. You can register custom kernel image types with the :ref:`ref-classes-kernel` class using this variable. + :term:`KERNEL_CONSOLE` + The :term:`KERNEL_CONSOLE` variable holds the value of the ``console`` + parameter of the kernel command line and can be used in places such as a + ``wks`` description file for :ref:`Wic images `. + + The default value of this variable is extracted from the first console + device and setting in :term:`SERIAL_CONSOLES`. If nothing is found in + :term:`SERIAL_CONSOLES`, the default value is set to ``ttyS0,115200``). + + For more information, see the `Kernel command-line documentation + `__. + :term:`KERNEL_DANGLING_FEATURES_WARN_ONLY` When kernel configuration fragments are missing for some :term:`KERNEL_FEATURES` specified by layers or BSPs, -- cgit v1.2.3-54-g00ecf