diff options
| author | Randolph Sapp <rs@ti.com> | 2026-03-18 17:39:27 -0500 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2026-03-19 14:00:25 -0500 |
| commit | 9dc647e5b964222f4fdd2666699fa0a55bf3c3a2 (patch) | |
| tree | 1dde7a9f4ae1a9178ee806ee29f4f437ab073e74 /meta-ti-bsp/conf/machine | |
| parent | 7eaa6ae23ab68c2c5d7fbe5775561192d995316d (diff) | |
| download | meta-ti-9dc647e5b964222f4fdd2666699fa0a55bf3c3a2.tar.gz | |
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>
Diffstat (limited to 'meta-ti-bsp/conf/machine')
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/am64xx.inc | 2 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc index aa2dd1ec..6af4d050 100644 --- a/meta-ti-bsp/conf/machine/include/am64xx.inc +++ b/meta-ti-bsp/conf/machine/include/am64xx.inc | |||
| @@ -30,4 +30,4 @@ OPTEEMACHINE = "k3-am64x" | |||
| 30 | 30 | ||
| 31 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw pruprp-fw" | 31 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw pruprp-fw" |
| 32 | 32 | ||
| 33 | TI_WKS_BOOTLOADER_APPEND = "console=ttyS2,115200n8" | 33 | SERIAL_CONSOLES = "115200;ttyS2" |
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index 89a67f3c..3138cf08 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
| @@ -51,7 +51,7 @@ MACHINE_FEATURES += "efi" | |||
| 51 | 51 | ||
| 52 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}" | 52 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}" |
| 53 | 53 | ||
| 54 | TI_WKS_BOOTLOADER_APPEND ?= "" | 54 | TI_WKS_BOOTLOADER_APPEND ?= "console=${KERNEL_CONSOLE}" |
| 55 | 55 | ||
| 56 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 56 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
| 57 | 57 | ||
