[U-Boot] [PATCH 2/2] env: ti: android: boot with FIT Image

Praneeth Bajjuri praneeth at ti.com
Wed Apr 25 21:03:24 UTC 2018


Boot android over emmc by default thru FIT image

Signed-off-by: Praneeth Bajjuri <praneeth at ti.com>
Suggested-by: Andrew F.Davis <afd at ti.com>
---
 include/environment/ti/boot.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
index 24b7783..a1767b4 100644
--- a/include/environment/ti/boot.h
+++ b/include/environment/ti/boot.h
@@ -37,6 +37,7 @@
 		"run mmcboot;\0" \
 	"emmc_android_boot=" \
 		"echo Trying to boot Android from eMMC ...; " \
+		"run update_to_fit; " \
 		"setenv eval_bootargs setenv bootargs $bootargs; " \
 		"run eval_bootargs; " \
 		"setenv mmcdev 1; " \
@@ -49,7 +50,7 @@
 		"part size mmc ${mmcdev} boot boot_size; " \
 		"mmc read ${fdtaddr} ${fdt_start} ${fdt_size}; " \
 		"mmc read ${loadaddr} ${boot_start} ${boot_size}; " \
-		"bootm $loadaddr $loadaddr $fdtaddr;\0"
+		"bootm ${loadaddr}#${fdtfile};\0 "
 
 #ifdef CONFIG_OMAP54XX
 
-- 
1.9.1



More information about the U-Boot mailing list