[U-Boot] [PATCH 0/2] Boot android with FIT image

Enable the FDT library overlay support for all TI SOC family and while at it Enable android over emmc by default thru FIT image
Praneeth Bajjuri (2): configs: TI: Enable FIT Library overlay support env: ti: android: boot with FIT Image
include/environment/ti/boot.h | 3 ++- lib/Kconfig | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)

Enable the FDT library overlay support for all TI SOC family.
Without this option, when Loading fdt from FIT image, the following warning is seen.
"config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".
Signed-off-by: Praneeth Bajjuri praneeth@ti.com Suggested-by: Andrew F.Davis afd@ti.com --- lib/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/lib/Kconfig b/lib/Kconfig index 436b90f..6d5306a 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -252,6 +252,7 @@ config OF_LIBFDT
config OF_LIBFDT_OVERLAY bool "Enable the FDT library overlay support" + default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE help This enables the FDT library (libfdt) overlay support.

On Wed, Apr 25, 2018 at 04:03:23PM -0500, Praneeth Bajjuri wrote:
Enable the FDT library overlay support for all TI SOC family.
Without this option, when Loading fdt from FIT image, the following warning is seen.
"config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".
Signed-off-by: Praneeth Bajjuri praneeth@ti.com Suggested-by: Andrew F.Davis afd@ti.com
Reviewed-by: Tom Rini trini@konsulko.com

On 26 April 2018 at 00:03, Praneeth Bajjuri praneeth@ti.com wrote:
Enable the FDT library overlay support for all TI SOC family.
Without this option, when Loading fdt from FIT image, the following warning is seen.
"config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".
Signed-off-by: Praneeth Bajjuri praneeth@ti.com Suggested-by: Andrew F.Davis afd@ti.com
Reviewed-by: Sam Protsenko semen.protsenko@linaro.org
lib/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/lib/Kconfig b/lib/Kconfig index 436b90f..6d5306a 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -252,6 +252,7 @@ config OF_LIBFDT
config OF_LIBFDT_OVERLAY bool "Enable the FDT library overlay support"
default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE help This enables the FDT library (libfdt) overlay support.
-- 1.9.1

On Wed, Apr 25, 2018 at 04:03:23PM -0500, Praneeth Bajjuri wrote:
Enable the FDT library overlay support for all TI SOC family.
Without this option, when Loading fdt from FIT image, the following warning is seen.
"config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".
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!

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

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

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

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!
participants (3)
-
Praneeth Bajjuri
-
Sam Protsenko
-
Tom Rini