]> git.sur5r.net Git - u-boot/commitdiff
env: ti: android: boot with FIT Image
authorPraneeth Bajjuri <praneeth@ti.com>
Wed, 25 Apr 2018 21:03:24 +0000 (16:03 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:37 +0000 (09:07 -0400)
Boot android over emmc by default thru FIT image

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Suggested-by: Andrew F.Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
include/environment/ti/boot.h

index 31042fad6709fbaccd440e1136fe075f91ca1f3b..a0e1cd1656a26be19d6094591cb545d5404b4940 100644 (file)
@@ -36,6 +36,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; " \
@@ -48,7 +49,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