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.

AM625: OP-TEE Build fail SDK9.2

Expert 2710 points
Part Number: AM625

Tool/software:

I was following the guide to build OP-TEE (u-boot was compiled successfully), but the link part doesn work:

Command to build

 

make CROSS_COMPILE="$CROSS_COMPILE_32" CROSS_COMPILE64="$CROSS_COMPILE_64" PLATFORM=k3-am62x CFG_ARM64_core=y

And error

LD      out/arm-plat-k3/ldelf/ldelf.elf
/home/xxxx/ti-processor-sdk-linux-am62xx-evm-09.02.01.10/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

I was using the compilers from the SDK. I guess I can use the pre-compiled version found in prebuit-images/am62xx-evm ?