[PATCH v2 4/5] qcom-phone.env: Example of new env var legacy_os_boot_param
George Chan via B4 Relay
devnull+gchan9527.gmail.com at kernel.org
Mon May 5 11:17:12 CEST 2025
From: George Chan <gchan9527 at gmail.com>
This is an example for newly introduced env_var legacy_os_boot_param
that will append 'console=ramoops' to fdt bootargs.
Signed-off-by: George Chan <gchan9527 at gmail.com>
---
board/qualcomm/qcom-phone.env | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/board/qualcomm/qcom-phone.env b/board/qualcomm/qcom-phone.env
index e91ae3ecdfb..536467921d8 100644
--- a/board/qualcomm/qcom-phone.env
+++ b/board/qualcomm/qcom-phone.env
@@ -4,6 +4,10 @@ stdin=serial,button-kbd
stdout=serial,vidconsole
stderr=serial,vidconsole
+# Introduce var to hold legacy boot param, it will be append
+# to bootargs automatically
+legacy_os_boot_param=console=ramoops
+
# Fastboot is keen to use the address from kconfig, but we
# allocate its buffer at runtime.
fastboot=fastboot -l $fastboot_addr_r usb 0
--
2.43.0
More information about the U-Boot
mailing list