diff mbox series

[2/2] env: ti: android: boot with FIT Image

Message ID 1524690204-5560-3-git-send-email-praneeth@ti.com
State Accepted
Commit b2031ff766f993451e1d55c7d420374863c24588
Headers show
Series Boot android with FIT image | expand

Commit Message

Bajjuri, Praneeth April 25, 2018, 9:03 p.m. UTC
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>
---
 include/environment/ti/boot.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini April 26, 2018, 11:21 a.m. UTC | #1
On Wed, Apr 25, 2018 at 04:03:24PM -0500, Praneeth Bajjuri wrote:

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


-- 
Tom
Sam Protsenko April 26, 2018, 4:47 p.m. UTC | #2
On 26 April 2018 at 00:03, Praneeth Bajjuri <praneeth@ti.com> wrote:
> 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: Sam Protsenko <semen.protsenko@linaro.org>

>  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
>
Tom Rini May 8, 2018, 5:17 p.m. UTC | #3
On Wed, Apr 25, 2018 at 04:03:24PM -0500, Praneeth Bajjuri wrote:

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


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

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