Skip to contentSkip to conversation

k3: set console parameter to KERNEL_CONSOLE

PATCH In review [email protected] 2 participants 2 messages Mar 18

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 k3: set console parameter to KERNEL_CONSOLE

From: Randolph Sapp <[email protected]>

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.

---
 meta-ti-bsp/conf/machine/include/am64xx.inc | 2 +-
 meta-ti-bsp/conf/machine/include/k3.inc     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-ti-bsp/conf/machine/include/am64xx.inc +1 -1
index aa2dd1ec..6af4d050 100644
@@ -30,4 +30,4 @@ OPTEEMACHINE = "k3-am64x"
 
 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw pruprp-fw"
 
-TI_WKS_BOOTLOADER_APPEND = "console=ttyS2,115200n8"
+SERIAL_CONSOLES = "115200;ttyS2"
meta-ti-bsp/conf/machine/include/k3.inc +1 -1
index 89a67f3c..3138cf08 100644
@@ -51,7 +51,7 @@ MACHINE_FEATURES += "efi"
 
 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"
 
Signature · 1 line
2.53.0
#1 lore raw

meta-ti / na / 20260318223927.922722-1-rs

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] k3: set console parameter to KERNEL_CONSOLE
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Wed, 18 Mar 2026 17:39:27 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 330f67a332c77d80ea4f453eec2f012c101225f3

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: conf: Add falcon support natively
- Commit SHA: 1ce070a6b1f8bb797c65b51a7968ffe0348ba053

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed