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:运行`edgeai-tiovx-apps`在`tisdk-tiny-image`上所需的文件和库

Guru**** 2457990 points
Other Parts Discussed in Thread: SK-AM62A-LP

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1474872/sk-am62a-lp-required-files-and-libraries-to-run-edgeai-tiovx-apps-on-tisdk-tiny-image

器件型号:SK-AM62A-LP

工具与软件:

**正文:**  
我正在使用** SK-AM62A-LP**开发板、该开发板提供了两个根文件系统:  
-`tisdk-edgeai-image-am62axx-evm.rootfs.tar.xz`  
-`tisdk-tiny-image-am62axx-evm.rootfs.tar.xz`   

我想从`tisdk-edgeai-image-image-am62axx-evm.rootfs.tar.xz`上运行** edgeai-tiovx-apps**应用程序`、具体来说`:  
```bash
/opt/edgeai-tiovx-apps/bin/Release/edgeai-tiovx-apps-main configs/linux/object_detection.yaml
```μ A
`tisdk-tiny-image`需要添加哪些所需的文件和共享库、才能使该应用正常工作? 是否有`的方法从` tisdk-edgeai-image 迁移依赖项?   

谢谢!   

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [quote userid="592734" url="~/support/processors-group/processors/f/processors-forum/1474872/sk-am62a-lp-required-files-and-libraries-to-run-edgeai-tiovx-apps-on-tisdk-tiny-image `我需要向` tisdk-tiny-image 添加哪些必需文件和共享库才能使这个应用正常运行?

    您是否尝试了添加  edgeai-tiovx-apps 添加到您的版本中、例如通过将其添加到 conf/local.conf ...

    IMAGE_INSTALL:append = " edgeai-tiovx-apps"

    您可以检查的依赖项  edgeai-tiovx-apps 通过执行以下操作:

    $ MACHINE=am62axx-evm bitbake -g edgeai-tiovx-apps

    ...它将生成以下两个文件:

    • Pn-buildlist -简化的依赖项列表
    • 任务相关.dot -详细的依赖关系图

    补充道  edgeai-tiovx-apps 假设所有依赖项都已正确建模、应将所有必要的依赖项都拉入图像。 我自己也没有试过。

    此致、Andreas

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

    感谢您的答复和建议。

    我使用以下命令来构建新的 tisdk-tiny-image-am62axx-evm.rootfs.tar.xz、但结果不符合预期。

    使用的命令:

    echo "image_install:append =" edgeai-tiovx-apps">> conf/local.conf
    MACHINE= 62axx-evm bitbake -k tisdk-tiny-image

    生成的 tisdk-tiny-image-rootfs 包含以下内容(如随附的图像所示)。

    但是、我需要它包含另一个图像中显示的内容。

    我的问题:

    我应该如何实现预期结果?

    目前、我有一个想法:我可以从 tisdk-edgeai-image.bb 文件中的 image_install 提取一些值、并将它们添加到 conf/local.conf。 您认为这是一种可行的方法吗?

    如果这个想法是合适的、我应该向 conf/local.conf 中添加哪些具体值、以实现所需的结果?

    我感谢有关这方面的任何指导。

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

    您可以查看用于为其他封装创建常规演示映像的边缘 AI 配方、请参阅
    https://git.ti.com/cgit/edgeai/meta-edgeai/tree/recipes-core/images/tisdk-edgeai-image.bb?h=scarthgap

    看看有什么添加了 ti...

    EDGEAI_STACK = " \
            ti-vision-apps-dev \
            ti-edgeai-firmware \
            ti-tidl-dev \
            edgeai-tiovx-kernels-dev \
            edgeai-tiovx-kernels-source \
            edgeai-apps-utils-source \
            edgeai-test-data \
            edgeai-tidl-models \
            edgeai-tiovx-apps-dev \
            edgeai-tiovx-apps-source \
    "
    
    EDGEAI_STACK:append:edgeai = " \
            ti-tidl-osrt-dev \
            ti-tidl-osrt-staticdev \
            edgeai-init \
            edgeai-tiovx-modules-dev \
            edgeai-tiovx-modules-source \
            edgeai-gst-plugins-dev \
            edgeai-dl-inferer-staticdev \
            edgeai-gst-apps-source \
            edgeai-gst-plugins-source \
            edgeai-gst-apps-dev \
            edgeai-dl-inferer-source \
            ti-gpio-cpp-dev \
            ti-gpio-py \
            ti-gpio-cpp-source \
            ti-gpio-py-source \
            edgeai-studio-agent \
    "
    ...然后看看这里,把所有的东西都拉在一起,并添加两个包组... 
    IMAGE_INSTALL:append = " \
        ${EDGEAI_STACK} \
        packagegroup-arago-gst-sdk-target \
        packagegroup-edgeai-tisdk-addons \
    "
    您可能需要包含这些包组才能获得完整功能。 

    此致、Andreas