[PATCH 2/6] board: phycore-imx93: env: Add optargs to environment
Primoz Fiser
primoz.fiser at norik.com
Thu Apr 10 10:41:18 CEST 2025
Add the optargs variable so we can set optional arguments while booting.
Signed-off-by: Primoz Fiser <primoz.fiser at norik.com>
---
board/phytec/phycore_imx93/phycore_imx93.env | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/phytec/phycore_imx93/phycore_imx93.env b/board/phytec/phycore_imx93/phycore_imx93.env
index 9c70c40b2fca..36bf3fefa0ba 100644
--- a/board/phytec/phycore_imx93/phycore_imx93.env
+++ b/board/phytec/phycore_imx93/phycore_imx93.env
@@ -14,7 +14,7 @@ mmcpart=1
mmcroot=2
mmcautodetect=yes
mmcargs=setenv bootargs console=${console},${baudrate} earlycon
- root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw
+ root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw ${optargs}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
mmcboot=
@@ -31,7 +31,7 @@ mmcboot=
fi;
nfsroot=/nfs
netargs=setenv bootargs console=${console},${baudrate} earlycon
- root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
+ root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp ${optargs}
netboot=
echo Booting from net ...;
run netargs;
--
2.34.1
More information about the U-Boot
mailing list