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.

[参考译文] AM62L:由于 Binman 配置中未记录的 OP-TEE 要求、AM62L U-Boot 构建失败

Guru**** 2652575 points

Other Parts Discussed in Thread: AM62L

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1588304/am62l-am62l-u-boot-build-fails-due-to-undocumented-op-tee-requirement-in-binman-configuration

器件型号: AM62L

我一直在尝试根据 AM62L 版本说明中提到的 SDK 和来源构建 U-Boot 映像。

https://software-dl.ti.com/processor-sdk-linux/esd/AM62LX/11_01_16_13/exports/docs/linux/Foundational_Components /U-Boot/LCD BG-Build-K3.html

在这个 U-Boot 构建指南中、没有提到 U-Boot 构建所用 OP-TEE 映像文件的依赖关系、但在构建过程中显示的错误表明缺少 OP-TEE 映像文件。 为什么 U-Boot 指南中没有提到它?

修复/发现:

1.应该从 SDK 中预编译映像提供 bl32.bin、或者在 U-Boot 构建所需的 make 命令中从源构建 OPTEE。

#host make cross_compile=“$cross_compile_64"  bl1=$TFA_DIR/build/k3/am62l/release/bl1.bin“ bl1=$TFA_DIR/build/k3/am62l/release/bl1.bin  bl31=$TFA_DIR/build/k3/am62l/release/bl31.bin  BINMAN_INDIRS=$TI_LINUX_FW_DIR=/media/drive_a/am62l/SDK/board-support/prebuilt-images/am62lxx-evm/bl32.bin  

【或】

2.删除或注释 sdk/board-suppport/ti-u-boot-2025.01+git/arch/arm/dts/k3-am62l3-evm-binman.dtsi 中提到的“tee"参数“参数,然后运行发行说明中提到的 make 命令  

#host make cross_compile=“$cross_compile_64"  bl1=$TFA_DIR/build/k3/am62l/release/bl1.bin“ bl1=$TFA_DIR/build/k3/am62l/release/bl1.bin  bl31=$TFA_DIR/build/k3/am62l/release/bl31.bin  bINMAN_INDIRS=$TI_LINUX_FW_DIR  

使用的 SDK:ti-processor-sdk-linux-am62lxx-evm-11.01.16.13-Linux-x86-Install.bin

我希望对此作出澄清。
谢谢你。

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

    Linux SDK 中的在线 OPTEE 构建
    software-dl.ti.com/.../Foundational_Components_OPTEE.html

    例如、当使用“make u-boot“通过 SDK 顶级 Makefile 编译 u-boot 时
    -在“SDK_INSTALL/"下“下的“Rules.make"中“中

    UBOOT_TEE=$(TI_SDK_PATH)/board-support/prebuilt-images/$(PLATFORM)/bl32.bin

    -在“sdk_install/makerules/"下“下的“Makefile u-boot“

    ifeq ($(SOC), am62l)
    	$(MAKE) -j $(MAKE_JOBS) BINMAN_VERBOSE=5 -C $(UBOOT_SRC_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) CC="$(CC)" \
    		BINMAN_INDIRS=$(TI_LINUX_FIRMWARE) BL1=$(UBOOT_AP_TRUSTED_ROM) BL31=$(UBOOT_ATF) TEE=$(UBOOT_TEE) \
    		O=$(TI_SDK_PATH)/board-support/u-boot-build/a53
    else

    此致、
    - Hong