Skip to contentSkip to conversation

configs: am4xhs: Modify SPL load address to fix UART boot issue

PATCH In review Srinivas 2 participants 3 messages Aug 24, 2016 – Sep 7, 2016

lore
Share & tools
lore

Srinivas

#0 lore raw

PATCH 1/1 configs: am4xhs: Modify SPL load address to fix UART boot issue

From: Madan Srinivas <[email protected]>

An issue in the TI secure image generation tool causes the ROM to load the SPL at a different load address than what is specified by CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot on HS devices.

This causes the SPL to fail on secure devices during peripheral boot.

The TI secure image generation tool has been fixed so that the SPL will always be loaded at 0x403018E0 by the ROM code for both peripheral and memory boot modes.

---

  configs/am43xx_hs_evm_defconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/configs/am43xx_hs_evm_defconfig
index 1553196..a1453fd 100644

configs/am43xx_hs_evm_defconfig +1 -1
@@ -8,7 +8,7 @@ CONFIG_SPL_STACK_R_ADDR=0x82000000
  # Device tree file can be same on HS evm
  CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
  CONFIG_SPL=y
-CONFIG_ISW_ENTRY_ADDR=0x40302ae0
+CONFIG_ISW_ENTRY_ADDR=0x403018e0
  CONFIG_SPL_STACK_R=y
  CONFIG_FIT=y
  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1, NAND"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 configs: am4xhs: Modify SPL load address to fix UART boot issue

Quoted 9 lines · Madan

From: Madan Srinivas <[email protected]>

An issue in the TI secure image generation tool causes the ROM to load the SPL at a different load address than what is specified by CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot on HS devices.

This causes the SPL to fail on secure devices during peripheral boot.

Quoted 7 lines

The TI secure image generation tool has been fixed so that the SPL will always be loaded at 0x403018E0 by the ROM code for both peripheral and memory boot modes.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160829/636fe72c/attachment.sig>
#2 lore raw
In reply to Srinivas
Quoted 9 lines · Madan

From: Madan Srinivas <[email protected]>

An issue in the TI secure image generation tool causes the ROM to load the SPL at a different load address than what is specified by CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot on HS devices.

This causes the SPL to fail on secure devices during peripheral boot.

Quoted 8 lines

The TI secure image generation tool has been fixed so that the SPL will always be loaded at 0x403018E0 by the ROM code for both peripheral and memory boot modes.

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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160907/5e350f81/attachment.sig>