Преглед на файлове

u-boot: Run the boomcmd if we load a uEnv.txt file

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Alistair Francis преди 4 години
родител
ревизия
679a01b574
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      recipes-bsp/u-boot/files/tftp-mmc-boot.txt

+ 2 - 0
recipes-bsp/u-boot/files/tftp-mmc-boot.txt

@@ -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