mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-07 07:53:18 +02:00
Merge pull request #1483 from saba8814/fix/uboot-aux-env-first-var-import
fix: import first variable from auxiliary environment
This commit is contained in:
@@ -154,7 +154,7 @@ setenv bootcmd_net \
|
||||
setenv bootcmd \
|
||||
'setenv bootpart 2; setenv bootslot primary; setenv auxpart 1; \
|
||||
if ext4load mmc 0:$auxpart $loadaddr /uboot.env; then \
|
||||
env import -b $loadaddr $filesize BOOT_ORDER; \
|
||||
env import -c $loadaddr $filesize BOOT_ORDER; \
|
||||
fi; \
|
||||
if test "$BOOT_ORDER" = "secondary primary" || \
|
||||
test "$BOOT_ORDER" = "secondary primary net"; then \
|
||||
|
||||
@@ -33,7 +33,7 @@ for tgt in "${boot_targets}"; do
|
||||
setexpr ixmenu_n ${ixmenu_n} + 1
|
||||
|
||||
if load ${devtype} ${devnum}:${auxpart} ${loadaddr} /uboot.env; then
|
||||
env import -b ${loadaddr} ${filesize} BOOT_ORDER DEBUG ethact BOARD_VARIANT
|
||||
env import -c ${loadaddr} ${filesize} BOOT_ORDER DEBUG ethact BOARD_VARIANT
|
||||
run ixvariant
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user