poky/scripts/lib
Jon Mason 9377886a7d default-distrovars: Have KERNEL_CONSOLE reference SERIAL_CONSOLES
Currently, KERNEL_CONSOLE has a default value of "ttyS0".  However, Arm
machines and those using virtio serial prefer to use "ttyAMA0" or "hvc0"
(or something else).  These are usually defined by the machine config
file as SERIAL_CONSOLES, which has one or more entries.  Take the first
one of those instead of ttyS0, but default back to ttyS0 if nothing is
set.

Also, use this variable in the efi wic file instead of "ttyS0".
Of note, this changes the default speed of the default kernel console
from undefined (9600) to 115200.  This allows for users of the
mkefidisk.wks to work as before but any users of this variable could see
changed behavior and would now need to define this as:
KERNEL_CONSOLE ?= "ttyS0,9600"

This includes revisions suggested by Quentin Schulz and Ross Burton.

(From OE-Core rev: da42fc9ad55d1d60a04e38ff94c965f711f60cd6)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-08 13:26:39 +01:00
..
build_perf oe-build-perf-report: Add commit hash link to chart tooltip 2024-05-24 16:59:31 +01:00
checklayer scripts: python 3.12 regex 2024-02-13 13:51:41 +00:00
devtool devtool: drop useless variables 2024-09-30 17:00:50 +01:00
recipetool recipetool: create_npm: reuse license utils 2024-08-23 09:51:36 +01:00
resulttool resulttool: Add support to create test report in JUnit XML format 2024-08-29 21:58:19 +01:00
wic default-distrovars: Have KERNEL_CONSOLE reference SERIAL_CONSOLES 2024-10-08 13:26:39 +01:00
argparse_oe.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
buildstats.py scripts/lib/buildstats: handle top-level build_stats not being complete 2023-03-25 09:39:28 +00:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py recipetool/devtool: Update to work correctly with UNPACKDIR 2024-05-22 22:26:30 +01:00