mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-02 08:50:31 +00:00
k3: set console parameter to KERNEL_CONSOLE
Set the default value of TI_WKS_BOOTLOADER_APPEND to
"console=${KERNEL_CONSOLE}" to populate the kernel cmdline console
variable for all k3 devices.
Also define SERIAL_CONSOLES for am64xx.inc, since it was previously
overriding TI_WKS_BOOTLOADER_APPEND directly for this functionality.
The KERNEL_CONSOLE variable provided by openembedded-core is a sane
default console parameter automatically populated by the first value in
the SERIAL_CONSOLES variable. Their UKI and EFI flows already use this
variable to ensure the kernel cmdline console value is set to something
machine appropriate.
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
7eaa6ae23a
commit
9dc647e5b9
@@ -30,4 +30,4 @@ OPTEEMACHINE = "k3-am64x"
|
|||||||
|
|
||||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw pruprp-fw"
|
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw pruprp-fw"
|
||||||
|
|
||||||
TI_WKS_BOOTLOADER_APPEND = "console=ttyS2,115200n8"
|
SERIAL_CONSOLES = "115200;ttyS2"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ MACHINE_FEATURES += "efi"
|
|||||||
|
|
||||||
WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}"
|
WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}"
|
||||||
|
|
||||||
TI_WKS_BOOTLOADER_APPEND ?= ""
|
TI_WKS_BOOTLOADER_APPEND ?= "console=${KERNEL_CONSOLE}"
|
||||||
|
|
||||||
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user