Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

[FAQ] J721EXSOMXEVM: 9.0 SDK make U-Boot build failure

Part Number: J721EXSOMXEVM

Using the 9.0 the U-Boot building if failing.

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