您好,
我之前在论坛
SK-AM62A-LP: SK-AM62A-LP E3开发板 - 处理器论坛 - 处理器 - E2E 设计支持
提问过,可能后面的问题覆盖,我看一直没有回复,
我有如下两个疑惑点:
1.我们参考1.2.3章节,
software-dl.ti.com/.../Overview_Building_the_SDK.html
Yocto编译的是否自动生成了交叉编译器、uboot、kernel,如果生成了分别在什么路径?如果没有生成,接下来需要如何操作?
2.通过SDK的方式
参考3.1.1.1章节,
我在编译uboot时候,按照如下步骤:
export SOC=am62a
export SDK_INSTALL_DIR=/home/vmuser/ti-processor-sdk-linux-edgeai-am62a-evm-10_00_00_08
export CROSS_COMPILE_64="${SDK_INSTALL_DIR}/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-"
export SYSROOT_64="${SDK_INSTALL_DIR}/linux-devkit/sysroots/aarch64-oe-linux"
export CC_64="${CROSS_COMPILE_64}gcc --sysroot=${SYSROOT_64}"
export CROSS_COMPILE_32="${SDK_INSTALL_DIR}/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-"
因为我看在安装的SDK里面只有这3个包
所以我使用的自己下载的包,
export UBOOT_DIR=/home/vmuser/UbootTest/ti-u-boot
export TI_LINUX_FW_DIR=/home/vmuser/UbootTest/ti-linux-firmware
export TFA_DIR=/home/vmuser/UbootTest/trusted-firmware-a
export OPTEE_DIR=/home/vmuser/UbootTest/optee_os
按照如下指令编译,
cd $UBOOT_DIR R5 To build tiboot3.bin. Saved in $UBOOT_DIR/out/r5. $ make ARCH=arm CROSS_COMPILE="$CROSS_COMPILE_32" am62ax_evm_r5_defconfig O=$UBOOT_DIR/out/r5 $ make ARCH=arm CROSS_COMPILE="$CROSS_COMPILE_32" O=$UBOOT_DIR/out/r5 BINMAN_INDIRS=$TI_LINUX_FW_DIR A53 To build tispl.bin and u-boot.img. Saved in $UBOOT_DIR/out/a53. Requires bl31.bin, tee-pager_v2.bin. $ make ARCH=arm CROSS_COMPILE="$CROSS_COMPILE_64" am62ax_evm_a53_defconfig O=$UBOOT_DIR/out/a53 $ make ARCH=arm CROSS_COMPILE="$CROSS_COMPILE_64" CC="$CC_64" BL31=$TFA_DIR/build/k3/lite/release/bl31.bin TEE=$OPTEE_DIR/out/arm-plat-k3/core/tee-pager_v2.bin O=$UBOOT_DIR/out/a53 BINMAN_INDIRS=$TI_LINUX_FW_DIR
遇到如下报错,
以上两个问题,请帮忙看看,感谢!