diff options
author | Anshul Dalal <anshuld@ti.com> | 2025-06-26 15:21:41 +0530 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-06-27 09:36:54 -0500 |
commit | fbfe7607700718f4d1f1e3f70f17f49e1c7519ae (patch) | |
tree | 91716985cc03324bff6dec348756e4c660a17136 | |
parent | e023f51d2341c9f76a8f44bc96ea4cfd5d4834fe (diff) | |
download | meta-ti-fbfe7607700718f4d1f1e3f70f17f49e1c7519ae.tar.gz |
meta-ti-bsp: tfa: add build flags for am62xxsip-evm
Due to 512MiB DDR limitation of am62x SiP, the memory map has been
modified with OP-TEE moved to bottom of DDR after atf to 0x80080000,
this requires modifications to ATF's BL32_BASE. PRELOADED_BL33_BASE has
also been updated to 0x82000000 to reflect the updated SPL_TEXT_BASE
from u-boot.
Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 8 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/am62xxsip-evm.conf b/meta-ti-bsp/conf/machine/am62xxsip-evm.conf index 38bd4407..fc525a9a 100644 --- a/meta-ti-bsp/conf/machine/am62xxsip-evm.conf +++ b/meta-ti-bsp/conf/machine/am62xxsip-evm.conf | |||
@@ -4,6 +4,14 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/am62xx.inc | 5 | require conf/machine/include/am62xx.inc |
6 | 6 | ||
7 | TFA_K3_BL32_BASE = "0x80080000" | ||
8 | TFA_K3_BL32_BASE:bsp-ti-6_6 = "" | ||
9 | TFA_K3_BL32_BASE:bsp-ti-6_1 = "" | ||
10 | |||
11 | TFA_K3_PRELOADED_BL33 = "0x82000000" | ||
12 | TFA_K3_PRELOADED_BL33:bsp-ti-6_6 = "" | ||
13 | TFA_K3_PRELOADED_BL33:bsp-ti-6_1 = "" | ||
14 | |||
7 | KERNEL_DEVICETREE_PREFIX = " \ | 15 | KERNEL_DEVICETREE_PREFIX = " \ |
8 | ti/k3-am625 \ | 16 | ti/k3-am625 \ |
9 | ti/k3-am62x-sk \ | 17 | ti/k3-am62x-sk \ |
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc index cb956a00..c17ac9de 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc | |||
@@ -18,5 +18,7 @@ TFA_INSTALL_TARGET:am62lxx = "bl31 bl1" | |||
18 | TFA_SPD:am62lxx = "" | 18 | TFA_SPD:am62lxx = "" |
19 | 19 | ||
20 | EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" | 20 | EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" |
21 | EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}" | ||
22 | EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}" | ||
21 | EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" | 23 | EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" |
22 | EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000" | 24 | EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000" |