I refer to link https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/09_00_00_08/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html to build u-boot.
The building for R5 is ok, but failed for A72
//Setting the tool chain path
export PATH=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin:$PATH
export PATH=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-linux-gnu/bin:$PATH
//Compiling R5 and ARM64 images
cd xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support
mkdir u-boot-build-output
cd u-boot-2023.04+gitAUTOINC+756ba776d4-g756ba776d4
//Several prebuilt images are required from the TI Processor SDK for building U-Boot on K3 based platforms.
//R5
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- j721e_evm_r5_defconfig O=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support/u-boot-build-output/r5
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- O=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support/u-boot-build-output/r5 BINMAN_INDIRS=/buildssd/mli1/wr1023-build-test/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support/prebuilt-images
//A72
make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- j721e_evm_a72_defconfig O=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support/u-boot-build-output/a72
make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- BL31=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support/prebuilt-images/bl31.bin TEE=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support/prebuilt-images/bl32.bin O=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support/u-boot-build-output/a72 BINMAN_INDIRS=xxx/ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08/board-support/prebuilt-images
BINMAN .binman_stamp
binman: name 'ELFError' is not defined
Is there anyone encountering this issue?
thanks,
Limeng