diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-20 13:16:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-28 10:57:46 +0000 |
commit | 60e143a5893504de43aab98079b99af90efb4c26 (patch) | |
tree | 989bc0b67bed9d500826f56c97c06f94a436d8c6 /documentation | |
parent | 332ff4d1cff8b4f41aa5d7db9443c461cf66d8d1 (diff) | |
download | poky-60e143a5893504de43aab98079b99af90efb4c26.tar.gz |
ref-manual/variables: document the KERNEL_CONSOLE variable
This variables holds the value of the `console` kernel command line
parameter.
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: ea638e85316d0bc5c9917cefacef168782e4d92b)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/variables.rst | 13 |
1 files changed, 13 insertions, 0 deletions
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. | |||
4578 | You can register custom kernel image types with the | 4578 | You can register custom kernel image types with the |
4579 | :ref:`ref-classes-kernel` class using this variable. | 4579 | :ref:`ref-classes-kernel` class using this variable. |
4580 | 4580 | ||
4581 | :term:`KERNEL_CONSOLE` | ||
4582 | The :term:`KERNEL_CONSOLE` variable holds the value of the ``console`` | ||
4583 | parameter of the kernel command line and can be used in places such as a | ||
4584 | ``wks`` description file for :ref:`Wic images <dev-manual/wic:creating | ||
4585 | partitioned images using wic>`. | ||
4586 | |||
4587 | The default value of this variable is extracted from the first console | ||
4588 | device and setting in :term:`SERIAL_CONSOLES`. If nothing is found in | ||
4589 | :term:`SERIAL_CONSOLES`, the default value is set to ``ttyS0,115200``). | ||
4590 | |||
4591 | For more information, see the `Kernel command-line documentation | ||
4592 | <https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html>`__. | ||
4593 | |||
4581 | :term:`KERNEL_DANGLING_FEATURES_WARN_ONLY` | 4594 | :term:`KERNEL_DANGLING_FEATURES_WARN_ONLY` |
4582 | When kernel configuration fragments are missing for some | 4595 | When kernel configuration fragments are missing for some |
4583 | :term:`KERNEL_FEATURES` specified by layers or BSPs, | 4596 | :term:`KERNEL_FEATURES` specified by layers or BSPs, |