Hi ,
I'm Working with SDK_9.1
I tired compiling Uboot and kernel with "k3-r5-devkit" and "linux-devkit"
Please provide the command to compile the ATF and optee sources.
Regards,
Sushmitha K
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi ,
I'm Working with SDK_9.1
I tired compiling Uboot and kernel with "k3-r5-devkit" and "linux-devkit"
Please provide the command to compile the ATF and optee sources.
Regards,
Sushmitha K
Hope these links are helpful.
software-dl.ti.com/.../Foundational_Components_ATF.html
software-dl.ti.com/.../Foundational_Components_OPTEE.html
Best,
-Hong
Hi @Hong Guan64,
We are using k3r5-devkit and linux-devkit cross compilers and ATF compiled properly.
But while compiling OPTEE source below error prints is seen
Command Used: make CROSS_COMPILE64=/opt/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux- CROSS_COMPILE=/opt/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi- PLATFORM=k3-am62x CFG_ARM64_core=y
Error prints:
LD out/arm-plat-k3/ldelf/ldelf.elf
/opt/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-ld.bfd: cannot find libgcc.a: No such file or directory
make: *** [ldelf/link.mk:60: out/arm-plat-k3/ldelf/ldelf.elf] Error 1
Regards,
Sushmitha K
The log looks pointing to build toolchain compatibility issue.
I used the toolchain under "<SDK INSTALL DIR>/external-toolchain-dir" in AM62x SDK 9.0, and can build optee successfully.
Here is OPTEE toolchain reference
optee.readthedocs.io/.../toolchains.html
Best,
-Hong