summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnshul Dalal <anshuld@ti.com>2025-06-26 15:21:41 +0530
committerRyan Eatmon <reatmon@ti.com>2025-06-27 09:36:54 -0500
commitfbfe7607700718f4d1f1e3f70f17f49e1c7519ae (patch)
tree91716985cc03324bff6dec348756e4c660a17136
parente023f51d2341c9f76a8f44bc96ea4cfd5d4834fe (diff)
downloadmeta-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.conf8
-rw-r--r--meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc2
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
5require conf/machine/include/am62xx.inc 5require conf/machine/include/am62xx.inc
6 6
7TFA_K3_BL32_BASE = "0x80080000"
8TFA_K3_BL32_BASE:bsp-ti-6_6 = ""
9TFA_K3_BL32_BASE:bsp-ti-6_1 = ""
10
11TFA_K3_PRELOADED_BL33 = "0x82000000"
12TFA_K3_PRELOADED_BL33:bsp-ti-6_6 = ""
13TFA_K3_PRELOADED_BL33:bsp-ti-6_1 = ""
14
7KERNEL_DEVICETREE_PREFIX = " \ 15KERNEL_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"
18TFA_SPD:am62lxx = "" 18TFA_SPD:am62lxx = ""
19 19
20EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" 20EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
21EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"
22EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}"
21EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" 23EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
22EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000" 24EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000"