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.
Tool/software:
Enviroment:
OS: Ubuntu 20.04.6
Here are my parameters and I confirm that they work fine. Use my parameters, TF-A (BL31) can be build(Refer: software-dl.ti.com/.../Foundational_Components_OPTEE.html
export CROSS_COMPILE_64="/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-"
export SYSROOT_64="/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/linux-devkit/sysroots/aarch64-oe-linux"
export CC_64="${CROSS_COMPILE_64}gcc --sysroot=${SYSROOT_64}"
export CROSS_COMPILE_32="/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-"
export LNX_FW_PATH=/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/board-support/prebuilt-images/am62xx-evm/
export TFA_PATH=/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/board-support/prebuilt-images/am62xx-evm/bl31.bin
export OPTEE_PATH=/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/board-support/prebuilt-images/am62xx-evm/bl32.bin
export UBOOT_CFG_CORTEXR="am62x_evm_r5_defconfig am62x_charge_r5.config"
export UBOOT_CFG_CORTEXA="am62x_evm_a53_defconfig am62x_charge_a53.config"
When i use my parameters to build tiboot3.bin, some errors have ben happened which were "common/board_f.o:(.rodata.init_sequence_f+0x5c): undefined reference to `dram_init'" and common/board_r.o:(.data.init_sequence_r+0x2c): undefined reference to `board_init'.
what should i do ?
##################################### Terminal ########################################################
OBJCOPY lib/efi_loader/smbiosdump.efi
CC lib/hexdump.o
OBJCOPY lib/efi_loader/dtbdump.efi
OBJCOPY lib/efi_loader/initrddump.efi
CC lib/uuid.o
CC lib/rand.o
CC lib/panic.o
CC lib/vsprintf.o
CC lib/strto.o
CC lib/abuf.o
CC lib/date.o
CC lib/rtc-lib.o
CC lib/elf.o
AR lib/built-in.o
LD u-boot
/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-ld.bfd: common/board_f.o:(.rodata.init_sequence_f+0x5c): undefined reference to `dram_init'
/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-ld.bfd: common/board_r.o:(.data.init_sequence_r+0x2c): undefined reference to `board_init'
make[1]: *** [/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git/Makefile:1766:u-boot] 错误 1
make[1]: 离开目录“/opt/TI/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git/OUTPUT_DIR/r5”
##################################### Terminal ########################################################
Hello,
I have assigned your thread to one of our team members. Please note that this is a holiday week in India. Feel free to ping the thread next week if you do not get a response within a few business days.
Regards,
Nick
Hi,
Please refer the attached file and create one with AM62x build commands.
Regards,
Aparna