Skip to contentSkip to conversation

defconfigs: dra7xx_hs_evm: Add default OPTEE load address

PATCH New Andrew F. Davis 2 participants 6 messages Dec 5, 2016 – Dec 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 defconfigs: dra7xx_hs_evm: Add default OPTEE load address

Currently we let U-Boot find a spot at the end of DRAM at runtime, this forces us to build an OPTEE image based on the size of DRAM for an EVM. Add a default address that works across all current DRA7xx EVMs.

---
 configs/dra7xx_hs_evm_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/dra7xx_hs_evm_defconfig +3 -0
index e350d9f..b890a06 100644
@@ -4,6 +4,9 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_TI_SECURE_DEVICE=y
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_TARGET_DRA7XX_EVM=y
+CONFIG_TI_SECURE_EMIF_REGION_START=0xbe000000
+CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
+CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
Signature · 1 line
2.10.2
#1 lore raw

PATCH 2/2 defconfigs: am57xx_hs_evm: Add default OPTEE load address

Currently we let U-Boot find a spot at the end of DRAM at runtime, this forces us to build an OPTEE image based on the size of DRAM for an EVM. Add a default address that works across all current AM57xx EVMs.

---
 configs/am57xx_hs_evm_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/am57xx_hs_evm_defconfig +3 -0
index 2b1d695..c20c42e 100644
@@ -3,6 +3,9 @@ CONFIG_OMAP54XX=y
 CONFIG_TI_SECURE_DEVICE=y
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_TARGET_AM57XX_EVM=y
+CONFIG_TI_SECURE_EMIF_REGION_START=0xbe000000
+CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
+CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
Signature · 1 line
2.10.2
#2 lore raw

PATCH 2/2 defconfigs: am57xx_hs_evm: Add default OPTEE load address

Quoted 5 lines · Andrew F. Davis

Currently we let U-Boot find a spot at the end of DRAM at runtime, this forces us to build an OPTEE image based on the size of DRAM for an EVM. Add a default address that works across all current AM57xx EVMs.

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/20161205/307eae23/attachment.sig>
#3 lore raw

PATCH 2/2 defconfigs: am57xx_hs_evm: Add default OPTEE load address

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

Currently we let U-Boot find a spot at the end of DRAM at runtime, this forces us to build an OPTEE image based on the size of DRAM for an EVM. Add a default address that works across all current AM57xx EVMs.

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/20161212/b203e9e9/attachment.sig>
#4 lore raw

PATCH 1/2 defconfigs: dra7xx_hs_evm: Add default OPTEE load address

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

Currently we let U-Boot find a spot at the end of DRAM at runtime, this forces us to build an OPTEE image based on the size of DRAM for an EVM. Add a default address that works across all current DRA7xx EVMs.

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/20161205/6ec73aa4/attachment.sig>
#5 lore raw

PATCH 1/2 defconfigs: dra7xx_hs_evm: Add default OPTEE load address

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

Currently we let U-Boot find a spot at the end of DRAM at runtime, this forces us to build an OPTEE image based on the size of DRAM for an EVM. Add a default address that works across all current DRA7xx EVMs.

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/20161212/195d49ba/attachment.sig>