1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-16 06:17:51 +00:00

conf: machine: add optee-os into am62lxx-evm builds

Newer silicon revision of the AM62L family are capable of reliably
booting with OP-TEE integrated in the bootflow with all bootmedia.
However to support as many DDR densities as possible we cannot use the
default 0x9e78000 location as with other K3 devices.

So add OP-TEE back into the default build but modify the BL32 base
address for TF-A so it will jump to the correct location.

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Bryan Brattlof
2025-08-19 15:55:14 -05:00
committed by Ryan Eatmon
parent 7ea7feede0
commit 0a02cd559a
2 changed files with 2 additions and 1 deletions
@@ -5,6 +5,8 @@
require conf/machine/include/am62lxx.inc
require conf/machine/include/ti-extras.inc
TFA_K3_BL32_BASE = "0x80200000"
IMAGE_FSTYPES += "ubifs ubi"
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
@@ -22,7 +22,6 @@ TFA_SPD = "opteed"
# For am62lxx, install bl1 & bl31 using TFA_INSTALL_TARGET
TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
TFA_SPD:am62lxx = ""
EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"