Skip to contentSkip to conversation

configs: am65x_evm_r5: Enable GPT support

PATCH New Andrew F. Davis 3 participants 12 messages Feb 1, 2019 – Feb 10, 2019

lore
Share & tools
lore
#0 lore raw

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.

---
 configs/am65x_evm_r5_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/am65x_evm_r5_defconfig +1 -0
index 237b9e8229..51406548d4 100644
@@ -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
Signature · 1 line
2.19.1
#1 lore raw

PATCH 2/3 am65x_evm: Allow bootm to load larger kernels

Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB.

---
 include/configs/am65x_evm.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/am65x_evm.h +2 -0
index 31749c6d06..9ce5b6e824 100644
@@ -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="							\
Signature · 1 line
2.19.1
#5 lore raw

PATCH 3/3 armv7R: K3: am654: Fix order of debug elements in x509 template

In reply to Andrew F. Davis

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.

---
 tools/k3_x509template.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/k3_x509template.txt +1 -1
index bd3a9ab056..f176ff3ad2 100644
@@ -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
Signature · 1 line
2.19.1
#9 lore raw

PATCH 1/3 configs: am65x_evm_r5: Enable GPT support

In reply to Andrew F. Davis
Quoted 4 lines · Andrew F. Davis

The second loader stages may be stored on GPT partitions, enable support for this here.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190202/cae2b7ac/attachment.sig>
#2 lore raw

PATCH 2/3 am65x_evm: Allow bootm to load larger kernels

In reply to Andrew F. Davis
Quoted 4 lines · Andrew F. Davis

Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190202/a6a3b8a1/attachment.sig>
#6 lore raw

PATCH 3/3 armv7R: K3: am654: Fix order of debug elements in x509 template

In reply to Andrew F. Davis
Quoted 4 lines · Andrew F. Davis

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190202/2873e880/attachment.sig>
#3 lore raw

PATCH 2/3 am65x_evm: Allow bootm to load larger kernels

In reply to Andrew F. Davis
Quoted 4 lines · Andrew F. Davis

Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB.

Thanks and regards,
Lokesh

Quoted 18 lines
---
 include/configs/am65x_evm.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/am65x_evm.h +2 -0
index 31749c6d06..9ce5b6e824 100644
@@ -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="							\
#11 lore raw

PATCH 1/3 configs: am65x_evm_r5: Enable GPT support

In reply to Andrew F. Davis
Quoted 6 lines · Andrew F. Davis

The second loader stages may be stored on GPT partitions, enable support for this here.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/fad14649/attachment.sig>
#4 lore raw

PATCH 2/3 am65x_evm: Allow bootm to load larger kernels

In reply to Andrew F. Davis
Quoted 6 lines · Andrew F. Davis

Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/a1de11e1/attachment.sig>
#8 lore raw

PATCH 3/3 armv7R: K3: am654: Fix order of debug elements in x509 template

In reply to Andrew F. Davis
Quoted 6 lines · Andrew F. Davis

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/28ffb8e2/attachment.sig>