From 679a01b574debf7f09d4a2a462a33e648314ae62 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Fri, 26 Jul 2019 12:55:09 -0700 Subject: [PATCH] u-boot: Run the boomcmd if we load a uEnv.txt file Signed-off-by: Alistair Francis --- recipes-bsp/u-boot/files/tftp-mmc-boot.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-bsp/u-boot/files/tftp-mmc-boot.txt b/recipes-bsp/u-boot/files/tftp-mmc-boot.txt index 151bdcd..a5bc2f1 100644 --- a/recipes-bsp/u-boot/files/tftp-mmc-boot.txt +++ b/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