Skip to content

Commit 72021cc

Browse files
committed
fix: import first variable from auxiliary environment
Signed-off-by: Ejub Sabic <ejub1946@outlook.com>
1 parent efa665d commit 72021cc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

board/aarch64/marvell-espressobin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ setenv bootcmd_net \
154154
setenv bootcmd \
155155
'setenv bootpart 2; setenv bootslot primary; setenv auxpart 1; \
156156
if ext4load mmc 0:$auxpart $loadaddr /uboot.env; then \
157-
env import -b $loadaddr $filesize BOOT_ORDER; \
157+
env import -c $loadaddr $filesize BOOT_ORDER; \
158158
fi; \
159159
if test "$BOOT_ORDER" = "secondary primary" || \
160160
test "$BOOT_ORDER" = "secondary primary net"; then \

board/common/uboot/scripts/ixpreboot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ for tgt in "${boot_targets}"; do
3333
setexpr ixmenu_n ${ixmenu_n} + 1
3434

3535
if load ${devtype} ${devnum}:${auxpart} ${loadaddr} /uboot.env; then
36-
env import -b ${loadaddr} ${filesize} BOOT_ORDER DEBUG ethact BOARD_VARIANT
36+
env import -c ${loadaddr} ${filesize} BOOT_ORDER DEBUG ethact BOARD_VARIANT
3737
run ixvariant
3838
fi
3939

0 commit comments

Comments
 (0)