mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-06 08:44:40 +02:00
u-boot: Run the boomcmd if we load a uEnv.txt file
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
committed by
Khem Raj
parent
cb0857efe5
commit
679a01b574
@@ -14,6 +14,7 @@ dhcp
|
||||
# See if we have a TFTP uEnv.txt file
|
||||
if tftpboot ${scriptaddr} uEnv.txt; then
|
||||
env import -t ${scriptaddr} ${filesize}
|
||||
run bootcmd
|
||||
fi;
|
||||
|
||||
# Try to boot a fitImage from the TFTP server
|
||||
@@ -24,6 +25,7 @@ fi;
|
||||
# See if we have a MMC uEnv.txt file
|
||||
if fatload ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} /uEnv.txt; then
|
||||
env import -t ${scriptaddr} ${filesize}
|
||||
run bootcmd
|
||||
fi;
|
||||
|
||||
# Try to boot a fitImage from the MMC
|
||||
|
||||
Reference in New Issue
Block a user