[U-Boot] [PATCH 1/3] configs: am65x_evm_r5: Enable GPT support

The second loader stages may be stored on GPT partitions, enable support for this here.
Signed-off-by: Andrew F. Davis afd@ti.com --- configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_r5_defconfig b/configs/am65x_evm_r5_defconfig index 237b9e8229..51406548d4 100644 --- a/configs/am65x_evm_r5_defconfig +++ b/configs/am65x_evm_r5_defconfig @@ -33,6 +33,7 @@ CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_ASKENV=y # CONFIG_CMD_FLASH is not set +CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y CONFIG_CMD_REMOTEPROC=y # CONFIG_CMD_SETEXPR is not set

Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB.
Signed-off-by: Andrew F. Davis afd@ti.com --- include/configs/am65x_evm.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h index 31749c6d06..9ce5b6e824 100644 --- a/include/configs/am65x_evm.h +++ b/include/configs/am65x_evm.h @@ -37,6 +37,8 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SPL_TEXT_BASE + \ CONFIG_SYS_K3_NON_SECURE_MSRAM_SIZE - 4)
+#define CONFIG_SYS_BOOTM_LEN SZ_64M + /* U-Boot general configuration */ #define EXTRA_ENV_AM65X_BOARD_SETTINGS \ "findfdt=" \

On Fri, Feb 01, 2019 at 03:04:57PM -0600, Andrew F. Davis wrote:
Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB.
Signed-off-by: Andrew F. Davis afd@ti.com
Reviewed-by: Tom Rini trini@konsulko.com

On 02/02/19 2:34 AM, Andrew F. Davis wrote:
Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB.
Signed-off-by: Andrew F. Davis afd@ti.com
Reviewed-by: Lokesh Vutla lokeshvutla@ti.com
Thanks and regards, Lokesh
include/configs/am65x_evm.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h index 31749c6d06..9ce5b6e824 100644 --- a/include/configs/am65x_evm.h +++ b/include/configs/am65x_evm.h @@ -37,6 +37,8 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SPL_TEXT_BASE + \ CONFIG_SYS_K3_NON_SECURE_MSRAM_SIZE - 4)
+#define CONFIG_SYS_BOOTM_LEN SZ_64M
/* U-Boot general configuration */ #define EXTRA_ENV_AM65X_BOARD_SETTINGS \ "findfdt=" \

On Fri, Feb 01, 2019 at 03:04:57PM -0600, Andrew F. Davis wrote:
Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB.
Signed-off-by: Andrew F. Davis afd@ti.com Reviewed-by: Tom Rini trini@konsulko.com Reviewed-by: Lokesh Vutla lokeshvutla@ti.com
Applied to u-boot/master, thanks!

The first element in the debug section is expected to be debugUID. ROM will not parse this correctly when out of order, fix this here.
Signed-off-by: Andrew F. Davis afd@ti.com --- tools/k3_x509template.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/k3_x509template.txt b/tools/k3_x509template.txt index bd3a9ab056..f176ff3ad2 100644 --- a/tools/k3_x509template.txt +++ b/tools/k3_x509template.txt @@ -42,7 +42,7 @@ # salt = FORMAT:HEX,OCT:TEST_IMAGE_KEY_DERIVE_SALT
[ debug ] + debugUID = FORMAT:HEX,OCT:0000000000000000000000000000000000000000000000000000000000000000 debugType = INTEGER:4 coreDbgEn = INTEGER:0 coreDbgSecEn = INTEGER:0 - debugUID = FORMAT:HEX,OCT:0000000000000000000000000000000000000000000000000000000000000000

On Fri, Feb 01, 2019 at 03:04:58PM -0600, Andrew F. Davis wrote:
The first element in the debug section is expected to be debugUID. ROM will not parse this correctly when out of order, fix this here.
Signed-off-by: Andrew F. Davis afd@ti.com
Reviewed-by: Tom Rini trini@konsulko.com

On 02/02/19 2:34 AM, Andrew F. Davis wrote:
The first element in the debug section is expected to be debugUID. ROM will not parse this correctly when out of order, fix this here.
Signed-off-by: Andrew F. Davis afd@ti.com
Reviewed-by: Lokesh Vutla lokeshvutla@ti.com
Thanks and regards, Lokesh

On Fri, Feb 01, 2019 at 03:04:58PM -0600, Andrew F. Davis wrote:
The first element in the debug section is expected to be debugUID. ROM will not parse this correctly when out of order, fix this here.
Signed-off-by: Andrew F. Davis afd@ti.com Reviewed-by: Tom Rini trini@konsulko.com Reviewed-by: Lokesh Vutla lokeshvutla@ti.com
Applied to u-boot/master, thanks!

On Fri, Feb 01, 2019 at 03:04:56PM -0600, Andrew F. Davis wrote:
The second loader stages may be stored on GPT partitions, enable support for this here.
Signed-off-by: Andrew F. Davis afd@ti.com
Reviewed-by: Tom Rini trini@konsulko.com

On 02/02/19 2:34 AM, Andrew F. Davis wrote:
The second loader stages may be stored on GPT partitions, enable support for this here.
Signed-off-by: Andrew F. Davis afd@ti.com
Reviewed-by: Lokesh Vutla lokeshvutla@ti.com
Thanks and regards, Lokesh

On Fri, Feb 01, 2019 at 03:04:56PM -0600, Andrew F. Davis wrote:
The second loader stages may be stored on GPT partitions, enable support for this here.
Signed-off-by: Andrew F. Davis afd@ti.com Reviewed-by: Tom Rini trini@konsulko.com Reviewed-by: Lokesh Vutla lokeshvutla@ti.com
Applied to u-boot/master, thanks!
participants (3)
-
Andrew F. Davis
-
Lokesh Vutla
-
Tom Rini