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

2018-04-26 Thread Sam Protsenko
On 26 April 2018 at 00:03, Praneeth Bajjuri  wrote:
> Boot android over emmc by default thru FIT image
>
> Signed-off-by: Praneeth Bajjuri 
> Suggested-by: Andrew F.Davis 
> ---

Reviewed-by: Sam Protsenko 

>  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
>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-04-26 Thread Tom Rini
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 
> Suggested-by: Andrew F.Davis 

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-04-25 Thread Praneeth Bajjuri
Boot android over emmc by default thru FIT image

Signed-off-by: Praneeth Bajjuri 
Suggested-by: Andrew F.Davis 
---
 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

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot