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.

[参考译文] PROCESSOR-SDK-AM62P:使用 Yacto 构建 SDK 时出现问题

Guru**** 2540720 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1368790/processor-sdk-am62p-issue-with-building-sdk-with-yacto

器件型号:PROCESSOR-SDK-AM62P

工具与软件:

大家好、我正在尝试按照 TI 文档  1.2.使用 Yocto 构建 SDK - Processor SDK AM62Px 文档

执行以下命令后、我收到以下错误、您能帮助我解决此问题吗?

MACHINE=am62pxx-evm bitbake -k tisdk-display-cluster-image

注意:执行任务
警告:/home/vm2204/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/arago.conf 中重复包含/home/vm2204/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/include/branding-core.inc
警告:/home/vm2204/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/arago.conf 中重复包含/home/vm2204/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/include/branding-core.inc
警告:/home/vm2204/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/arago.conf 中重复包含/home/vm2204/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/include/branding-core.inc
警告:/home/vm2204/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/arago.conf 中重复包含/home/vm2204/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/include/branding-core.inc
错误:glibc-2.35-r0 DO_compile:OE_runmake 失败
错误:glibc-2.35-r0 DO_compile:ExecutionError ('/home/vm2204/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/glibc/2.35-r0/temp/run.do_compile.67974 '、1、无、无)
错误:故障日志文件存储在:/home/vm2204/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/glibc/2.35-r0/temp/log.do_compile.67974中

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

    您好!

    我将把您的问题转给我们的 Yocto 专家进行评论。

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

    您确切使用了哪个配置文件来设置 Yocto 环境?

    此致、Andreas

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

    我使用了  processor-sdk-kirkstone-chromium-09.02.01.09-config.txt  

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

    您好!

    我只是尝试构建  tisdk-display-cluster-image 基于  processor-sdk-kirkstone-chromium-09.02.01.10-config.txt 进行配置、并且在成功完成构建时没有问题。

    a0797059@dasso:~/tisdk/am62pxx-evm/build (dev)
    $ MACHINE=am62pxx-evm bitbake -k tisdk-display-cluster-image
    ...
    NOTE: Tasks Summary: Attempted 9975 tasks of which 4140 didn't need to be rerun and all succeeded.
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 8 seconds
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 3 seconds
    
    Summary: There were 20 WARNING messages.
    
    a0797059@dasso:~/tisdk/am62pxx-evm/build (dev)
    $ ll -h deploy-ti/images/am62pxx-evm/*clust*
    -rw-r--r-- 2 a0797059 a0797059 125K Jun  3 21:56 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.manifest
    -rw-r--r-- 2 a0797059 a0797059 492M Jun  3 21:58 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.tar.xz
    -rw-r--r-- 2 a0797059 a0797059  103 Jun  3 21:58 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.tar.xz.md5sum
    -rw-r--r-- 2 a0797059 a0797059 4.1K Jun  3 22:00 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.wic.bmap
    -rw-r--r-- 2 a0797059 a0797059 510M Jun  3 22:00 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.wic.xz
    -rw-r--r-- 2 a0797059 a0797059 474K Jun  3 21:56 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm-20240604000232.testdata.json
    lrwxrwxrwx 2 a0797059 a0797059   70 Jun  3 21:56 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm.manifest -> tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.manifest
    lrwxrwxrwx 2 a0797059 a0797059   68 Jun  3 21:58 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm.tar.xz -> tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.tar.xz
    lrwxrwxrwx 2 a0797059 a0797059   75 Jun  3 21:58 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm.tar.xz.md5sum -> tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.tar.xz.md5sum
    lrwxrwxrwx 2 a0797059 a0797059   68 Jun  3 21:56 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm.testdata.json -> tisdk-display-cluster-image-am62pxx-evm-20240604000232.testdata.json
    lrwxrwxrwx 2 a0797059 a0797059   70 Jun  3 22:00 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm.wic.bmap -> tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.wic.bmap
    lrwxrwxrwx 2 a0797059 a0797059   68 Jun  3 22:00 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-am62pxx-evm.wic.xz -> tisdk-display-cluster-image-am62pxx-evm-20240604000232.rootfs.wic.xz
    -rw-r--r-- 2 a0797059 a0797059 7.2K Jun  3 21:56 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image.env
    -rw-r--r-- 2 a0797059 a0797059  540 Jun  3 21:56 deploy-ti/images/am62pxx-evm/tisdk-display-cluster-image-sdimage-2part-efi.wks

    您能否确认您使用 Ubuntu 22.04作为主机/构建机器?

    然后、是否可以完全从头开始设置构建环境并重试?

    最后、您也可以尝试基于容器的构建、有关详细信息 、请参阅此处:https://software-dl.ti.com/processor-sdk-linux/esd/AM62PX/09_02_01_10/exports/docs/linux/Overview_Building_ schdk.html#steams-to-run-Yocto-builds-within-container 这可以极大地帮助消除所有潜在的主机-机器依赖性、从而增加成功构建的机会。

    此致、Andreas

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

    意外单击的抱歉问题已解决。 问题仍然存在

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

    看起来 Docker 安装程序不知道需要设置的任何网络代理吗? 因为您的初始非 Docker 版本至少已部分运行。  https://wiki.yoctoproject.org/wiki/Working_Behind_ Network_Proxy

    您可以在另一台计算机上/在直接连接到互联网的计算机上(没有公司防火墙?)尝试此操作吗?

    此致、Andreas