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-AM62A-LP:Yocto 构建错误:tisdk-edgeai-image-1.0-r0_edgeai_8 do_rootfs:无法安装软件包

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1470215/sk-am62a-lp-yocto-build-error-tisdk-edgeai-image-1-0-r0_edgeai_8-do_rootfs-unable-to-install-packages

器件型号:SK-AM62A-LP

工具/软件:

你好、团队

我正在尝试  使用 Yocto 构建 SDK 和组件

目前我还没有专用的 Linux 机器、因此我开始使用虚拟机(VirtualBox)和 Ubuntu 22.04.01

进行编译  

MACHINE="am62axx-EVM" bitbake -k tisdk-edgeai-image

我能够完成97%的工作、但我面临着一个无法解决的"opkg"问题。

使用版本10.00.00和10.01.00 (我今天已更新存储库)时、我收到以下错误

ERROR: tisdk-edgeai-image-1.0-r0_edgeai_8 do_rootfs: Unable to install packages. Command '/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/tisdk-edgeai-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/tisdk-edgeai-image/1.0/opkg.conf -t /home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/tisdk-edgeai-image/1.0/temp/ipktemp/ -o /home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/tisdk-edgeai-image/1.0/rootfs  --force_postinstall    --add-ignore-recommends busybox-syslog --add-ignore-recommends coreutils --add-ignore-recommends coreutils-dev --add-ignore-recommends gdbserver-c6x-dev --add-ignore-recommends libulm-dev install build-essential docker dtc edgeai-apps-utils-source edgeai-dl-inferer-source edgeai-dl-inferer-staticdev edgeai-gst-apps-dev edgeai-gst-apps-source edgeai-gst-plugins-dev edgeai-gst-plugins-source edgeai-gui-app edgeai-init edgeai-studio-agent edgeai-test-data edgeai-tidl-models edgeai-tiovx-apps-dev edgeai-tiovx-apps-source edgeai-tiovx-kernels-dev edgeai-tiovx-kernels-source edgeai-tiovx-modules-dev edgeai-tiovx-modules-source git linux-libc-headers-dev opkg packagegroup-arago-base packagegroup-arago-console packagegroup-arago-gst-sdk-target packagegroup-arago-tisdk-addons packagegroup-arago-tisdk-addons-extra packagegroup-arago-tisdk-connectivity packagegroup-arago-tisdk-crypto packagegroup-arago-tisdk-graphics packagegroup-arago-tisdk-gtk packagegroup-arago-tisdk-hmi packagegroup-arago-tisdk-multimedia packagegroup-arago-tisdk-qte packagegroup-arago-tisdk-sysrepo packagegroup-core-boot packagegroup-core-tools-debug packagegroup-edgeai-tisdk-addons psplash resize-rootfs run-postinsts ti-demos ti-edgeai-firmware ti-gpio-cpp-dev ti-gpio-cpp-source ti-gpio-py ti-gpio-py-source ti-test ti-test-extras ti-tidl-dev ti-tidl-osrt-dev ti-tidl-osrt-staticdev ti-vision-apps-dev' returned 11:
 * Solver encountered 11 problem(s):
 * Problem 1/11:
 *   - conflicting requests
 *   - nothing provides arago-feed-config needed by packagegroup-arago-base-1.0-r10.0.am62axx_evm
 * 
 * Solution 1:
 *   - do not ask to install a package providing packagegroup-arago-base

 * Problem 2/11:
 *   - conflicting requests
 *   - nothing provides devmem2 needed by ti-test-1.0-r0.0.am62axx_evm
 * 
 * Solution 1:
 *   - do not ask to install a package providing ti-test

 * Problem 3/11:
 *   - package build-essential-1.0-r0.0.all requires packagegroup-core-buildessential, but none of the providers can be installed
 *   - package packagegroup-core-buildessential-1.0-r0.0.aarch64 requires gettext, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by gettext-0.22.5-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing build-essential

 * Problem 4/11:
 *   - package packagegroup-arago-tisdk-connectivity-1.0-r42.0.am62axx_evm requires bluez5-obex, but none of the providers can be installed
 *   - package bluez5-obex-5.72-r0.0.aarch64 requires libical >= 3.0.17, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by libical-3.0.17-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing packagegroup-arago-tisdk-connectivity

 * Problem 5/11:
 *   - package packagegroup-arago-gst-1.0-r18.0.am62axx_evm requires gstreamer1.0-plugins-bad-meta, but none of the providers can be installed
 *   - package packagegroup-arago-tisdk-multimedia-1.0-r24.0.am62axx_evm requires packagegroup-arago-gst, but none of the providers can be installed
 *   - package gstreamer1.0-plugins-bad-meta-1.22.12-r0.0.aarch64 requires gstreamer1.0-plugins-bad-dash, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by gstreamer1.0-plugins-bad-dash-1.22.12-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing packagegroup-arago-tisdk-multimedia

 * Problem 6/11:
 *   - package libopencv-core409-4.9.0-r0.0.aarch64 requires tbb >= 2021.11.0, but none of the providers can be installed
 *   - package edgeai-dl-inferer-source-1.0.0-r0_edgeai_2.0.aarch64 requires libopencv-core409 >= 4.9.0, but none of the providers can be installed
 *   - package tbb-1:2021.11.0-r0.0.aarch64 requires libhwloc15 >= 2.9.3, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by libhwloc15-2.9.3-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing edgeai-dl-inferer-source

 * Problem 7/11:
 *   - package libopencv-core409-4.9.0-r0.0.aarch64 requires tbb >= 2021.11.0, but none of the providers can be installed
 *   - package edgeai-gst-apps-source-1.0.0-r0_edgeai_2.0.aarch64 requires libopencv-core409 >= 4.9.0, but none of the providers can be installed
 *   - package tbb-1:2021.11.0-r0.0.aarch64 requires libhwloc15 >= 2.9.3, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by libhwloc15-2.9.3-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing edgeai-gst-apps-source

 * Problem 8/11:
 *   - package gtk+3-demo-3.24.41-r0.0.aarch64 requires libgdk-pixbuf-2.0-0 >= 2.42.12, but none of the providers can be installed
 *   - package packagegroup-arago-tisdk-gtk-1.0-r2.0.am62axx_evm requires gtk+3-demo, but none of the providers can be installed
 *   - package libgdk-pixbuf-2.0-0-2.42.12-r0.0.aarch64 requires shared-mime-info, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by shared-mime-info-2.4-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing packagegroup-arago-tisdk-gtk

 * Problem 9/11:
 *   - package edgeai-gst-apps-source-1.0.0-r0_edgeai_2.0.aarch64 requires libopencv-core409 >= 4.9.0, but none of the providers can be installed
 *   - package libopencv-core409-4.9.0-r0.0.aarch64 requires tbb >= 2021.11.0, but none of the providers can be installed
 *   - package edgeai-init-1.0-r0_edgeai_0.0.aarch64 requires edgeai-gst-apps-source, but none of the providers can be installed
 *   - package tbb-1:2021.11.0-r0.0.aarch64 requires libhwloc15 >= 2.9.3, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by libhwloc15-2.9.3-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing edgeai-init

 * Problem 10/11:
 *   - package edgeai-gst-apps-source-1.0.0-r0_edgeai_2.0.aarch64 requires libopencv-core409 >= 4.9.0, but none of the providers can be installed
 *   - package libopencv-core409-4.9.0-r0.0.aarch64 requires tbb >= 2021.11.0, but none of the providers can be installed
 *   - package edgeai-studio-agent-1.0.0-r0_edgeai_0.0.aarch64 requires edgeai-gst-apps-source, but none of the providers can be installed
 *   - package tbb-1:2021.11.0-r0.0.aarch64 requires libhwloc15 >= 2.9.3, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by libhwloc15-2.9.3-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing edgeai-studio-agent

 * Problem 11/11:
 *   - package python3-opencv-4.9.0-r0.0.aarch64 requires libopencv-core409 >= 4.9.0, but none of the providers can be installed
 *   - package libopencv-core409-4.9.0-r0.0.aarch64 requires tbb >= 2021.11.0, but none of the providers can be installed
 *   - package packagegroup-edgeai-tisdk-addons-1.0-r0.0.am62axx_evm requires python3-opencv, but none of the providers can be installed
 *   - package tbb-1:2021.11.0-r0.0.aarch64 requires libhwloc15 >= 2.9.3, but none of the providers can be installed
 *   - conflicting requests
 *   - nothing provides libxml2 >= 2.12.8 needed by libhwloc15-2.9.3-r0.0.aarch64
 * 
 * Solution 1:
 *   - do not ask to install a package providing packagegroup-edgeai-tisdk-addons

 * opkg_finalize_intercepts: Failed to open dir /home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/tisdk-edgeai-image/1.0/temp/ipktemp//opkg-poTiqg/opkg-intercept-pvJqV3: No such file or directory.
 * rm_r: Failed to open dir /home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/tisdk-edgeai-image/1.0/temp/ipktemp//opkg-poTiqg/opkg-intercept-pvJqV3: No such file or directory.

"你有什么问题吗?"

谢谢你

此致

Antonio

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

    尊敬的团队:  

    温馨提示、请 看一下这个主题

    此致、

    Geoffrey  

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

    尝试询问 (+) Andreas Dannenberg 的个人资料- Andreas Dannenberg - TI E2E 支持论坛

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

    您好、 Andreas Dannenberg、似乎有几个已知问题、您的意见是什么?

    此致、  

    Geoffrey  

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

    尊敬的 Antonio:

    是否`按原样构建 SDK 映像(使用默认的 μ f conf/local.con`f 文件)、所有内容完全符合 Overview_Building_文档(software-dl.ti.com/.../SDK\the_SDK.html

    如果...、这应该可以无错误地工作

    • 使用了正确的主机环境(Ubuntu 22.04或根据 SDK 文档确定 Docker 容器)
    • 完成设置步骤、包括构建先决条件和
      echo 'arago_brand="edgeai">">> conf/local.conf 
      应用品牌化步骤 conf/local.conf
    Hongming Wang 说:
    我启动了虚拟机(VirtualBox)

    我不建议这样做,你可能会耗尽资源(特别是 RAM ),并且构建将很可能是不可避免的慢. 尝试在具有至少8个 CPU 内核(优于16个甚至更多)、64GB RAM、启用交换文件和大量可用磁盘空间(1TB+)的专用计算机上进行构建。 当编译运行我们的 RAM 时、编译通常会卡住(例如冻结`bitbake-server`进程)。 虽然 ene 可以减少`conf/local.conf`中的并行构建选项(查找 `bb_number_threads`和`parallel_make`并将其设置为较小的数字)、以便仍能构建所需的内容、但最佳解决方案通常是使用功能足够强大的构建机器、尤其是需要重复构建时(例如在开发阶段)。

    此致、Andreas

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

    您好 Andreas

    感谢您的重播

    我尝试回答您的问题

    1) 我正在使用 Ubuntu 22.04.5 LTS

    2) 是的、我正在尝试使用说明按原样重建 SDK 映像

       我还添加了用于删除证书检查的设置(在 local.conf 文件中)

    #已删除证书检查
    BB_CHECK_SSL_Certs ="0"

    #已从德州仪器(TI)手册中添加
    Arago_brand ="edgeai"

    3)我注意到,编译的虚拟机是极低的,但目前,我没有其他选择

    目前,我能够达到97%的工作之前的错误的包安装

    yoctoti@yoctoti-VirtualBox:~/tisdk/build$ MACHINE="am62axx-evm" bitbake -k tisdk-edgeai-image
    NOTE: Started PRServer with DBfile: /home/yoctoti/tisdk/build/cache/prserv.sqlite3, Address: 127.0.0.1:41603, PID: 2493
    Loading cache: 100% |##############################################################################################################################| Time: 0:00:10
    Loaded 11093 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies
    NOTE: Resolving any missing task queue dependencies
    NOTE: Resolving any missing task queue dependencies
    NOTE: Resolving any missing task queue dependencies
    NOTE: Resolving any missing task queue dependencies
    NOTE: Resolving any missing task queue dependencies
    
    Build Configuration (mc:default):
    BB_VERSION           = "2.8.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-22.04"
    TARGET_SYS           = "aarch64-oe-linux"
    MACHINE              = "am62axx-evm"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2023.10"
    TUNE_FEATURES        = "aarch64"
    TARGET_FPU           = ""
    meta-arago-distro    
    meta-arago-extras    
    meta-arago-demos     
    meta-arago-test      = "HEAD:b6349e47760397add572cc27468e0f30b40474c1"
    meta-qt5             = "HEAD:a1af9bdf2bcf06df85aeac997bfbdcb414d8e0e0"
    meta-virtualization  = "HEAD:450941a1b6df96285691e8c23d4f332d3c88a994"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-filesystems     
    meta-multimedia      = "HEAD:b8d1a14f7f3b76457c36752202ea7ae5881b6654"
    meta-ti-extras       
    meta-ti-bsp          = "HEAD:f06324bc1649e4f437686560cbd66f973ba920f5"
    meta-arm             
    meta-arm-toolchain   = "HEAD:7088279c0ab00c7dabefdd4544951b4746b48476"
    meta-clang           = "HEAD:9fbfa9db33131abdf3870a94f00199eb53e276e5"
    meta                 = "HEAD:92cb4641ff4ec8c1f681bca21cfeaf2ba6923ab7"
    meta-tisdk           = "HEAD:fcd7661087b0dd5b5b57d30ba0d45f2698e962f8"
    meta-edgeai          = "HEAD:41499d7bcc8d37862b93c0d56cf782f9182d0be1"
    
    Build Configuration:
    BB_VERSION           = "2.8.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-22.04"
    TARGET_SYS           = "arm-oe-eabi"
    MACHINE              = "am62axx-evm-k3r5"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2023.10"
    TUNE_FEATURES        = "arm armv7a vfp thumb callconvention-hard"
    TARGET_FPU           = "hard"
    meta-arago-distro    
    meta-arago-extras    
    meta-arago-demos     
    meta-arago-test      = "HEAD:b6349e47760397add572cc27468e0f30b40474c1"
    meta-qt5             = "HEAD:a1af9bdf2bcf06df85aeac997bfbdcb414d8e0e0"
    meta-virtualization  = "HEAD:450941a1b6df96285691e8c23d4f332d3c88a994"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-filesystems     
    meta-multimedia      = "HEAD:b8d1a14f7f3b76457c36752202ea7ae5881b6654"
    meta-ti-extras       
    meta-ti-bsp          = "HEAD:f06324bc1649e4f437686560cbd66f973ba920f5"
    meta-arm             
    meta-arm-toolchain   = "HEAD:7088279c0ab00c7dabefdd4544951b4746b48476"
    meta-clang           = "HEAD:9fbfa9db33131abdf3870a94f00199eb53e276e5"
    meta                 = "HEAD:92cb4641ff4ec8c1f681bca21cfeaf2ba6923ab7"
    meta-tisdk           = "HEAD:fcd7661087b0dd5b5b57d30ba0d45f2698e962f8"
    meta-edgeai          = "HEAD:41499d7bcc8d37862b93c0d56cf782f9182d0be1"
    
    
    Sstate summary: Wanted 110 Local 108 Mirrors 0 Missed 2 Current 6679 (98% match, 99% complete)########################################             | ETA:  0:00:00
    Initialising tasks: 100% |#########################################################################################################################| Time: 0:00:16
    NOTE: Executing Tasks
    
    Setscene tasks: 6780 of 6789
    Currently  1 running tasks (14209 of 14610)  97% |###########################################################################################################    |
    0: tisdk-edgeai-image-1.0-r0_edgeai_8 do_rootfs - 2s (pid 4157)
    

    一个注意:以前我遇到了一个问题  

    WARNING: ti-vision-apps-10.1.0-r0_edgeai_10 do_fetch: 
    Failed to fetch URL repo://git.ti.com/git/processor-sdk/psdk_repo_manifests.git;protocol=https;branch=refs/tags/REL.PSDK.ANALYTICS.10.01.00.04;manifest=vision_apps_yocto.xml, attempting MIRRORS if available
    
    ERROR: ti-vision-apps-10.1.0-r0_edgeai_10 do_fetch: 
    Fetcher failure: Fetch command 
    export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/yoctoti/tisdk/sources/oe-core/scripts:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot/usr/bin/crossscripts:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/usr/sbin:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/usr/bin:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/sbin:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/bin:/home/yoctoti/tisdk/sources/bitbake/bin:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/yoctoti"; /usr/bin/env 
    repo sync failed with exit code 1, output:
    error: command 'sync' requires repo to be installed first.
    
            Use "repo init" to install it here.
    
    

    我解决了它看看这个网站的其他线程中的信息和命令

    export PSEUDO_DISABLED=1; \
    	export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; \
    	export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; \
    	export PATH="/home/yoctoti/tisdk/sources/oe-core/scripts:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot/usr/bin/crossscripts:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/usr/sbin:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/usr/bin:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/sbin:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/10.1.0/recipe-sysroot-native/bin:/home/yoctoti/tisdk/sources/bitbake/bin:/home/yoctoti/tisdk/build/arago-tmp-default-glibc/hosttools"; \
    	export HOME="/home/yoctoti"; \
    	/usr/bin/env repo init -u git.ti.com/.../psdk_repo_manifests.git \
    						   -b refs/tags/REL.PSDK.ANALYTICS.10.01.00.04 \
    						   -m vision_apps_yocto.xml
    

    是否有任何错误? 它可能与软件包安装错误有关?

    此致

    Antonio

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    目前、我能够在包安装错误之前完成97%的工作

    如何从此处继续(日志?)?

    Currently  1 running tasks (14209 of 14610)  97%
    0: tisdk-edgeai-image-1.0-r0_edgeai_8 do_rootfs - 2s (pid 4157)

    此致、Andreas

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

    您好 Andreas

    shell 中的脚本以结尾  

    ERROR: Logfile of failure stored in: /home/yoctoti/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/tisdk-edgeai-image/1.0/temp/log.do_rootfs.2882
    ERROR: Task (/home/yoctoti/tisdk/sources/meta-edgeai/recipes-core/images/tisdk-edgeai-image.bb:do_rootfs) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 14601 tasks of which 14600 didn't need to be rerun and 1 failed.
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 10 seconds
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 4 seconds
    
    Summary: 1 task failed:
      /home/yoctoti/tisdk/sources/meta-edgeai/recipes-core/images/tisdk-edgeai-image.bb:do_rootfs
    Summary: There was 1 ERROR message, returning a non-zero exit code.

    我还附上记录中所示的日志文件

    e2e.ti.com/.../2161.log.do_5F00_rootfs.txt

     bitbake-cookerdemon.log 是相当大的,我没有看到任何错误:我没有附加它。  

    谢谢

    此致

    Antonio

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

    尊敬的 Antonio:

    感谢您的日志。 这看起来像是一些 Yocto 状态/状态缓存损坏。 您是否可以尝试清理构建(包括所有临时和缓存的构建工件)、如下所示...

    MACHINE="am62axx-evm" bitbake -c cleansstate tisdk-edgeai-image

    然后重新开始构建。

    此致、Andreas

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

    尊敬的 Andres:

    感谢您的答复。

    我已经尝试用你建议的命令清洁建筑,但情况没有改变

    我附上干净命令的记录

    e2e.ti.com/.../clean.txt

    日志看起来与上一个日志非常相似

    无论如何,我也附上它。

    e2e.ti.com/.../log.do_5F00_rootfs_5F00_0224.txt

    此致

    Antonio

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

    尊敬的 Antonio:

    还可以尝试一些其他的东西…

    1. 完全从头开始将构建设置到干净/空的目录中、然后重试。 这将确保没有任何剩余的状态。
    2. 尝试基于容器(Docker)的构建。 这将极大地消除所有主机依赖关系
      https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/10_01_00/exports/docs/linux/Overview_Building_ yoctan_sdk.html#steps-to-run-yocto-builds-inside-container

    3.   通过设置示例来减少 conf/local.conf 中的并行构建...

      BB_NUMBER_THREADS ?="4"
      parallel_make?="-j 4"

      EdgeAI 目标映像的构建非常繁重、如果未正确设置这些选项、机器很容易资源(RAM、交换空间)耗尽。 同时、还应确保您的系统(在您的虚拟机内部、在您的情况下!)上至少有32GB 的 RAM+SWAP (组合)。

    4. 按照前面的建议、找到一种使用不同/专用构建机器的方法。

    此致、Andreas

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

    您好 Andreas

    对于点1和2我会尝试,但它将需要很多时间,因为编译需要很长的时间

    对于第3点,我已经尝试减少线程和并行编译的数量,我能够完成编译,没有任何错误,直到信号的。  是否可能 由于缺乏资源而不进行错误跟踪而出现任何"故障"?

    对于第4点、我要求拥有专用服务器、但我们的 IT 支持存在一些问题。

    另一个问题:尝试其他"编译输出"(例如简单的"tisdk-base-image")是否有用?

    还是会给问题增加其他"噪音"?

    如果我有任何消息,我会更新你。

    感谢您的支持

    此致

    Antonio

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    另一个问题:尝试使用其他"编译输出"(例如简单的"tisdk-base-image")是否有用?

    我将重点介绍如何使您所需的构建正常运行。

    对于第4点、我要求拥有专用服务器、但我们的 IT 支持有一些问题。

    您也可以尝试在个人所有的(家庭?)上建立它 用于测试目的的 PC、因为它都是开源软件、所以不应该有任何关于 IP 等的问题

    此致、Andreas

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

    您好 Andreas

    最后、我能够在基于 Docker 的构建上完成编译

    我收到一个似乎与证书相关的错误

    我附上报告(如果我尝试重新启动、也是一样的   "MACHINE="am62axx-EVM" bitbake -k tisdk-edgeai-image")

    ERROR: ti-edgeai-firmware-1.0.0-r0 do_install: ExecutionError('/home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/temp/run.do_install.1604', 1, None, None)
    ERROR: Logfile of failure stored in: /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/temp/log.do_install.1604
    Log data follows:
    | DEBUG: Executing python function extend_recipe_sysroot
    | NOTE: Direct dependencies are ['/home/tisdk/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb:do_populate_sysroot', '/home/tisdk/tisdk/sources/oe-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb:do_populate_sysroot', 'virtual:native:/home/tisdk/tisdk/sources/oe-core/meta/recipes-connectivity/openssl/openssl_3.2.3.bb:do_populate_sysroot', 'virtual:native:/home/tisdk/tisdk/sources/oe-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/tisdk/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
    | NOTE: Installed into sysroot: []
    | NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'glibc', 'gcc-runtime', 'libgcc', 'libtool-native', 'opkg-utils', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'ti-k3-secdev-native', 'openssl-native', 'zlib-native', 'make-native', 'patch-native', 'perl-native', 'pseudo-native', 'xz-native', 'attr-native', 'gdbm-native', 'sqlite3-native']
    | DEBUG: Python function extend_recipe_sysroot finished
    | DEBUG: Executing shell function do_install
    | /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_mcu1_0.out: No such file or directory
    | 802BB1D60D7F0000:error:80000002:system library:file_ctrl:No such file or directory:../openssl-3.2.3/crypto/bio/bss_file.c:297:calling fopen(/home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_mcu1_0.out, r)
    | 802BB1D60D7F0000:error:10080002:BIO routines:file_ctrl:system lib:../openssl-3.2.3/crypto/bio/bss_file.c:300:
    | cat: /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_mcu1_0.out: No such file or directory
    | Error checking x509 extension section v3_ca
    | 802B577ED7760000:error:07800079:common libcrypto routines:ossl_hexstr2buf_sep:hex string too short:../openssl-3.2.3/crypto/o_str.c:193:
    | 802B577ED7760000:error:068000B2:asn1 encoding routines:asn1_str2type:illegal hex:../openssl-3.2.3/crypto/asn1/asn1_gen.c:696:string=
    | 802B577ED7760000:error:11000074:X509 V3 routines:v3_generic_extension:extension value error:../openssl-3.2.3/crypto/x509/v3_conf.c:260:value=SEQUENCE:sysfw_image_integrity
    | cat: /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_mcu1_0.out: No such file or directory
    | /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_c7x_1.out: No such file or directory
    | 806B25B240720000:error:80000002:system library:file_ctrl:No such file or directory:../openssl-3.2.3/crypto/bio/bss_file.c:297:calling fopen(/home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_c7x_1.out, r)
    | 806B25B240720000:error:10080002:BIO routines:file_ctrl:system lib:../openssl-3.2.3/crypto/bio/bss_file.c:300:
    | cat: /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_c7x_1.out: No such file or directory
    | Error checking x509 extension section v3_ca
    | 80CB5374C5750000:error:07800079:common libcrypto routines:ossl_hexstr2buf_sep:hex string too short:../openssl-3.2.3/crypto/o_str.c:193:
    | 80CB5374C5750000:error:068000B2:asn1 encoding routines:asn1_str2type:illegal hex:../openssl-3.2.3/crypto/asn1/asn1_gen.c:696:string=
    | 80CB5374C5750000:error:11000074:X509 V3 routines:v3_generic_extension:extension value error:../openssl-3.2.3/crypto/x509/v3_conf.c:260:value=SEQUENCE:sysfw_image_integrity
    | cat: /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_c7x_1.out: No such file or directory
    | install: cannot stat '/home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_mcu1_0.out': No such file or directory
    | WARNING: /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/temp/run.do_install.1604:153 exit 1 from 'install -m 0644 /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git/${FW_DIR}/${FW_NAME} /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/image${INSTALL_FW_DIR}'
    | WARNING: Backtrace (BB generated script):
    | 	#1: do_install, /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/temp/run.do_install.1604, line 153
    | 	#2: main, /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/temp/run.do_install.1604, line 162
    ERROR: Task (/home/tisdk/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-edgeai-firmware.bb:do_install) failed with exit code '1'
    
    

    谢谢。此致

    Antonio

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

    感谢更新 Antonio。 我离开办公室直到3月底。 我会在回来后再研究一下

    此致、Andreas

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

    您好 Andreas

    您对我的有任何更新吗?

    此致

    Antonio

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

    您是否已经在全新的机器上尝试过此操作? 如果没有、请这么做。

    [引述 userid="53832" url="~/support/processors-group/processors/f/processors-forum/1470215/sk-am62a-lp-yocto-build-error-tisdk-edgeai-image-1-0-r0_edgeai_8-do_rootfs-unable-to-install-packages/5728303 #5728303"]

    最后、我能够在基于 Docker 的构建上完成编译

    我收到一个似乎与证书相关的错误

    [/报价]

    此外、在错误记录中、将出现以下尖峰(有多个错误、如该错误):

    cat: /home/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git//vx_app_rtos_linux_mcu1_0.out: No such file or directory

    似乎无法访问各种固件文件、因为缺少路径组件(请参阅上面路径中的双斜杠)。 其中、双斜杠应该是器件名称、而另一个子文件夹名称。 这是它在我的机器上的样子(注意路径):

    a0797059@jiji:~/tisdk/am62axx-evm (master)
    $ ll build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/ti-edgeai-firmware/1.0.0/git/am62a/vision_apps_eaik/
    total 15752
    drwxr-xr-x 2 a0797059 a0797059     4096 Feb 18 16:45 ./
    drwxr-xr-x 3 a0797059 a0797059     4096 Feb 18 16:27 ../
    -rw-r--r-- 1 a0797059 a0797059 10719312 Feb 18 16:27 vx_app_rtos_linux_c7x_1.out
    -rw-r--r-- 1 a0797059 a0797059 10720993 Feb 18 16:45 vx_app_rtos_linux_c7x_1.out.signed
    -rw-r--r-- 1 a0797059 a0797059   585200 Feb 18 16:27 vx_app_rtos_linux_mcu1_0.out
    -rw-r--r-- 1 a0797059 a0797059   586880 Feb 18 16:45 vx_app_rtos_linux_mcu1_0.out.signed

    您是否为基于 Docker 的构建正确应用了 Edge AI 品牌步骤? 确保按照以下文档完全完成该操作: https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/10_01_00/exports/docs/linux/Overview_Building_ fmath_sdk.html#build-steps

    此致、Andreas

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

    您好 Andreas

    您是否已经在全新的机器上尝试过此方法? 如果没有、请执行此操作。

    这不是一个简单的工作做,因为本机 GIT 协议被我们的 IT 禁止

    因此、我需要一台不符合我们 IT 规则且 无法连接到我们网络的 PC。

    您是否为基于 Docker 的构建正确应用了 Edge AI 品牌推广步骤? 确保完全按照此处的文档完成

    我认为是这样。 我能够使用命令正确地创建"Target Filestem"

    Machine="am62axx-evm" bitbake -k tisdk-default-image  

    似乎(如果我错了、请纠正我的错误)我的安装中 与"Edge AI"相关的部分中存在不正确的内容

    目前、我 可以使用"目标文件系统"进行一些测试

    如果您有任何建议、我们将予以感谢  

    非常感谢

    此致

    Antonio

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    这不是一项简单的工作、因为我们的 IT 禁止使用本机 GIT 协议

    一段时间以来、Yocto 项目已不再使用"git"传输协议、而是改用"https"传输协议。 在搜索 AM62A SDK v10.1 Yocto 源时、 只剩下很少的"git"传输实例。 您知道哪一个导致了您的问题吗? 我们可以轻松地将其中一些迁移到所需的"https"传输。

    a0797059@jiji:~/tisdk/am62axx-evm/sources (master)
    $ grep -r --include=*.bb* protocol=git
    meta-tisdk/recipes-demos/benchmark-demo/benchmark-server_git.bb:    git://git.ti.com/processor-sdk/sitara-apps.git;protocol=git;branch=master \
    meta-tisdk/recipes-demos/benchmark-demo/benchmark-server_git.bb:    git://git.ti.com/gui-composer-components/ti-gc-components.git;protocol=git;branch=master;destsuffix=git/benchmark_demo/webserver_app/app/components;name=guicomposer \
    meta-tisdk/recipes-demos/sitara-ipc-app/sitara-ipc-app.bb:    git://git.ti.com/processor-sdk/sitara-apps.git;protocol=git;branch=master \
    meta-tisdk/recipes-demos/opcua-server/opcua-server_git.bb:SRC_URI = "git://git.ti.com/processor-sdk/sitara-apps.git;protocol=git;branch=master"
    meta-tisdk/recipes-demos/pru-adc/pru-adc_git.bb:SRC_URI = "git://git.ti.com/apps/tida01555.git;protocol=git;branch=${BRANCH}"
    meta-openembedded/meta-webserver/recipes-httpd/apache-mod/mod-dnssd_0.6.bb:SRC_URI = "git://git.0pointer.de/mod_dnssd;protocol=git;branch=master"
    meta-openembedded/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb:SRC_URI = "git://git.code.sf.net/p/aufs/aufs-util;protocol=git;branch=aufs4.9 \
    meta-openembedded/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb:SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \
    meta-openembedded/meta-oe/recipes-test/pm-qa/pm-qa_git.bb:SRC_URI = "git://git.linaro.org/power/pm-qa.git;protocol=git;branch=${BRANCH}"
    meta-openembedded/meta-oe/recipes-support/mcelog/mce-test_git.bb:SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git;protocol=git;branch=master \
    meta-openembedded/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.12.bb:SRC_URI = "git://git.pengutronix.de/git/tools/libsocketcan.git;protocol=git;branch=master"
    meta-openembedded/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb:SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git;branch=master \
    meta-openembedded/meta-oe/recipes-kernel/agent-proxy/agent-proxy_1.97.bb:SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git;protocol=git;branch=master \
    meta-arago/meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules.bb:    git://anongit.kde.org/extra-cmake-modules;protocol=git;branch=master \
    meta-arago/meta-arago-demos/recipes-qt/examples/qtwebbrowser_5.15.1.bb:SRC_URI = "git://code.qt.io/qt-apps/qtwebbrowser.git;protocol=git;branch=${BRANCH}"
    oe-core/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb:SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1;name=machine"
    

    machine="am62axx-evm" bitbake -k tisdk-default-image
     

    此构建可以正常工作、但这在大多数情况下不是您需要的映像。

    我的安装中 与"edge-AI"
    相关的部分似乎存在不正确的情况(如果我错、请更正我的错误)

    是的。 它不清楚是什么、因此最简单的检查是使用另一台 PC。

    此致、Andreas