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.

[参考译文] J721EXSOMXEVM:配置 j721e_evm_a72_defconfig 导致构建 U-Boot 失败

Guru**** 1507460 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1273284/j721exsomxevm-build-u-boot-failed-with-config-j721e_evm_a72_defconfig

器件型号:J721EXSOMXEVM

我请参考链接 https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/09_00_00_08/exports/docs/linux/Foundational_Components U2-Boot/UG-General-Info.html 建立 u-boot。

R5的构建正常、但 A72的构建失败

//设置工具链路径
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

//编译 R5和 ARM64映像
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
//需要从 TI 处理器 SDK 中获取一些预构建的映像,以便在基于 K3的平台上构建 U-Boot。
//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/prebuild-image/bl31.bin te=xxx/ti-processor-sdk-linux-adas-j721e-evm-09 bl32.bin

 BINMAN .binman_stamp
binman:未定义名称'ELFError'

是否有人遇到此问题?

谢谢。

利蒙