From: Primoz Fiser Date: Thu, 10 Apr 2025 08:41:18 +0000 (+0200) Subject: board: phycore-imx93: env: Add optargs to environment X-Git-Tag: v2025.07-rc1~79^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7d7eaa57359496bff4dfef46003879109c8f92c;p=pandora-u-boot.git board: phycore-imx93: env: Add optargs to environment Add the optargs variable so we can set optional arguments while booting. Signed-off-by: Primoz Fiser --- diff --git a/board/phytec/phycore_imx93/phycore_imx93.env b/board/phytec/phycore_imx93/phycore_imx93.env index 9c70c40b2fc..36bf3fefa0b 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;