Tool/software:
Hello,
I am building sdk-linux-am64xx-evm-10.00.07.04, first I built tiboot3.bin and then building tispl.bin and u-boot.img but unfortunately, I am getting error, it seems it is linker error.
$ make am64x_evm_a53_defconfig O=build/a53
make[1]: Entering directory '/home/admin/ti-processor-sdk-linux-am64xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git/build/a53'
GEN Makefile
generated_defconfig:201:warning: override: reassigning to symbol SPL_MTD
#
# configuration written to .config
#
make[1]: Leaving directory '/home/admin/ti-processor-sdk-linux-am64xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git/build/a53'
$ make -j8 CROSS_COMPILE=$CROSS_COMPILE BINMAN_INDIRS=$(pwd)/../prebuilt-images BL31=../prebuilt-images/bl31.bin TEE=../prebuilt-images/bl32.bin O=build/a53
make[1]: Entering directory '/home/admin/ti-processor-sdk-linux-am64xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git/build/a53'
GEN Makefile
UPD include/generated/timestamp_autogenerated.h
Using /home/admin/ti-processor-sdk-linux-am64xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git as source for U-Boot
CC common/version.o
AR common/built-in.o
LD u-boot
/home/admin/ti-processor-sdk-linux-am64xx-evm-10.00.07.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-ld.bfd: cannot find -lgcc: No such file or directory
make[1]: *** [/home/admin/ti-processor-sdk-linux-am64xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git/Makefile:1766: u-boot] Error 1
make[1]: Leaving directory '/home/admin/ti-processor-sdk-linux-am64xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git/build/a53'
make: *** [Makefile:177: sub-make] Error 2
I have downloaded SDK from TI page: PROCESSOR-SDK-AM64X Software development kit (SDK) | TI.com with below link,
and following TI link for u-boot building: Build U-Boot
Thanks,
Mukesh Prajapati