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.

[参考译文] SK-AM62:PROCESSOR-SDK-AM62X:无法在虚拟机 Ver.22中构建 tiboot3.bin、tispl.bin 和 u-boot.img。

Guru**** 2557670 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1205671/sk-am62-processor-sdk-am62x-unable-to-build-tiboot3-bin-tispl-bin-and-u-boot-img-in-virtual-machine-ver-22

器件型号:SK-AM62

您好!

3个文件:tiboot3.bin、tispl.bin 和 u-boot.img 可由 Vitrual Machine ver.18生成

 尝试在虚拟机版本22中构建3个文件时出现错误。

下面的显示了虚拟机版本18中的源代码和带有错误的输出。

源码:

export PATH=$PATH:/home/$user/ti-processor-sdk-linux-am62xx-evm-08.04.01.01.01.01.01.03/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
cd /home/$user/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01+gitAUTOINC+2dd2e1dINC-g2dd2e1d366/
导出 arch=arm
export cross_compile=arm-none-linux-gnueabihf-
使 am62x_evm_r5_usbdfu_defconfig O=build/R5
使 O=编译/R5
cd ../k3-image-gen-2022.01/
ln ./prebuilt-images/ti-fs-firmware-am62x-gp.bin .
使 SOC=am62x sbl=/home/$user/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01+gitAUTOINC+2dd2e1d366-g2dd2e1d366/build/R5/spl/u-boot-spl.binx

有误差输出:
make[1]:输入目录/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01 +gitAUTOINC+2dd2e1d366-g2dd2e1d366/build/R5'
生成./Makefile
yacc scripts/kconfig/zconf.tab.c
/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/bison:加载共享库时出错:libc.so.6:无法打开共享目标文件:无此类文件或目录
make[2]:***[scripts/Makefile.lib:222: scripts/kconfig/zconf.tab.c]错误127
make[1]:***[am62x_evm_r5_usbdfu_defconfig]/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01错误2.
make[1]:离开目录/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01 +gitAUTOINC+2dd2e1d366-g2dd2e1d366/build/R5'
生成:***[Makefile: 167: sub-make]错误2
make[1]:输入目录/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01 +gitAUTOINC+2dd2e1d366-g2dd2e1d366/build/R5'
生成./Makefile
yacc scripts/kconfig/zconf.tab.c
/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/bison:加载共享库时出错:libc.so.6:无法打开共享目标文件:无此类文件或目录
make[3]:***[scripts/Makefile.lib:222: scripts/kconfig/zconf.tab.c]错误127
make[2]:***[/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01 +gitAUTOINC+2dd2e1d366-g2dd2e1d366/Makefiles:565: syncconfig]错误2.
make[1]:***没有规则将"include/config/autoconus"设置为"include/config/uboot.release"所需的目标"include/config/autoconus"。停止。
make[1]:离开目录/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01 +gitAUTOINC+2dd2e1d366-g2dd2e1d366/build/R5'
生成:***[Makefile: 167: sub-make]错误2
ln:无法创建硬链接"./ti-fs-firmware-am62x-gp.bin":文件存在
make:***没有规则将目标设置为/home/Johnshen/ti-processor-sdk-linux-am62xx-evm-08.04.01.03/board-support/u-boot-2021.01 +gitAUTOINC+2dd2e1d366-g2dd2e1d366/build/R5/spl

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

    尊敬的 Hong Zhuang Shen,

    您需要使用 Makefile 来在系统范围内安装构建 SDK 所需的工具。 请参阅 使用 Makefile 的 SDK 编译 、并使用以下命令安装工具

    sudo apt-get install build-essential autoconf automake bison flex libssl-dev bc u-boot-tools swig

    成功安装上述工具后、 再次尝试构建、应该会成功。

    此致、

    Prashant

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

    尊敬的 Prashant Shivhare:

    感谢您的快速回复、我的问题现已解决!

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

    尊敬的 Hong Zhuang Shen,

    很高兴知道它工作了。 由于问题已解决、我将继续并关闭该主题。

    此致、

    Prashant