[PATCH v2 4/4] lx2160ardb: add env variables to assist boot
chunguang.li_2 at nxp.com
chunguang.li_2 at nxp.com
Thu Apr 2 05:51:32 CEST 2026
From: Chunguang Li <chunguang.li_2 at nxp.com>
Update the console baudrate to 115200 as default.
Also add env variables to assist boot process.
Signed-off-by: Chunguang Li <chunguang.li_2 at nxp.com>
---
v2:
- Fix formatting.
- Update description.
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