[EXT_EP-13305] OPTEE build fails with the steps mentioned in the documentation Created: 07/Apr/26  Updated: 07/Apr/26  Resolved: 07/Apr/26

Status: Fixed
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: TI User Assignee: TI User
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Linux Core SDK
Internal ID: LCPD-46149
Found In Release: 11.02
Fix In Release: 12.00.00
Affected Platform/Device: am62xx_sk-fs
am62xx_sk-se

 Description   

The following build steps in the documentation for building the OPTEE-OS are not working

https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/11_02_08_02/exports/docs/linux/Foundational_Components_OPTEE.html#setting-up-the-toolchain-paths

The following exports works

❯ export CROSS_COMPILE_64="${SDK_INSTALL_DIR}/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-"
❯ export SYSROOT_64="${SDK_INSTALL_DIR}/linux-devkit/sysroots/aarch64-oe-linux"
❯ export CFLAGS64="--sysroot=${SYSROOT_64}"
❯ export CROSS_COMPILE_32="${SDK_INSTALL_DIR}/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-"
❯ export SYSROOT_32="${SDK_INSTALL_DIR}/k3r5-devkit/sysroots/armv7at2hf-vfp-oe-eabi"
❯ export CFLAGS32="--sysroot=${SYSROOT_32}"

Fixed by: https://github.com/TexasInstruments/processor-sdk-doc/pull/606


Generated at Fri May 01 09:58:07 CDT 2026 using Jira 10.3.7#10030007-sha1:a563685562f94d165eb4e158cfb2a142338d8c54.