[PATCH 4/4] lx2160ardb: update env setting for unified boot.scr
chunguang.li_2 at nxp.com
chunguang.li_2 at nxp.com
Wed Apr 1 10:59:47 CEST 2026
From: Chunguang Li <chunguang.li_2 at nxp.com>
Upstream-Status: Inappropriate
Signed-off-by: Chunguang Li <chunguang.li_2 at nxp.com>
Modify include/configs/lx2160ardb.h to update CFG_EXTRA_ENV_SETTINGS:
- Add 'image', 'fdtfile', 'extra_bootargs' and 'extra_bootargs' environment
variables
Modify include/config/lx2160a_common.h to update EXTRA_ENV_SETTINGS:
- Modify 'console' environment
This change unifies the boot script behavior across platforms and ensures
consistent boot argument handling on lx2160ardb.
---
include/configs/lx2160a_common.h | 2 +-
include/configs/lx2160ardb.h | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h
index 5620b903836..3fd9e3fc8d7 100644
--- a/include/configs/lx2160a_common.h
+++ b/include/configs/lx2160a_common.h
@@ -149,7 +149,7 @@
"kernelhdr_addr_sd=0x3000\0" \
"kernel_size_sd=0x14000\0" \
"kernelhdr_size_sd=0x20\0" \
- "console=ttyAMA0,38400n8\0" \
+ "console=ttyAMA0,115200\0" \
BOOTENV \
"mcmemsize=0x70000000\0" \
XSPI_MC_INIT_CMD \
diff --git a/include/configs/lx2160ardb.h b/include/configs/lx2160ardb.h
index 9d065d02bc5..b583bcc96fb 100644
--- a/include/configs/lx2160ardb.h
+++ b/include/configs/lx2160ardb.h
@@ -32,6 +32,11 @@
/* Initial environment variables */
#define CFG_EXTRA_ENV_SETTINGS \
+ "board=lx2160ardb\0" \
+ "fdtfile=fsl-lx2160a-rdb.dtb\0" \
+ "image=Image\0" \
+ "extra_bootargs=pci=pcie_bus_perf\0" \
+ "console_dbg=earlycon=pl011,mmio32,0x21c0000\0" \
EXTRA_ENV_SETTINGS \
"boot_scripts=lx2160ardb_boot.scr\0" \
"boot_script_hdr=hdr_lx2160ardb_bs.out\0" \
--
2.34.1
More information about the U-Boot
mailing list