工具与软件:
如果我构建 configs/processor-sdk/processor-sdk-scarthgap-10.01.10.04-config.txt、则 tisdk-default 映像无法启动 ti-apps-launcher 并显示以下错误:
Cannot find /opt/edgeai-gst-apps/init_script.sh
实际上该文件夹位置不存在。
可跟踪回至以下服务文件:
meta-tisdk/recipes-demos/ti-apps-launcher/ti-apps-launcher/ti-apps-launcher-analytics.service 1:# This is a system unit for launching ti-apps-launcher with auto-login as the 5:Description=ti-apps-launcher service 18:ExecStart=/bin/sh -c '. /opt/edgeai-gst-apps/init_script.sh ; /usr/bin/ti-apps-launcher'
选择此服务文件是因为3个月前提交:
commit 8b0a37e3677376e73419140acc1e04af31048c3d
Author: Chirag Shilwant <c-shilwant@ti.com>
Date: Sat Nov 16 21:16:43 2024 +0530
recipes-demos: ti-demo: wait for dev-dri-card1 before starting on eglfs
- On eglfs based systems, the ti-demo is starting before the
display and gpu cards are enumerated resulting in kernel crashes.
So add the udev rule for /dev/dri/card1 in display cluster
filesystem and wait for it before starting apps on eglfs.
- Switch to using analytics service for AM62x & AM62P as meta-edgeai
is now stable
Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
这增加了对未正确检查的 meta-edgeai 层的依赖项。 此提交应在安装 init_script.sh 文件的配方中添加一个 RDEPENDS。 那么编译会失败、并且之前就会发现此问题。
configs/processor-sdk/meta-edgeai processor-sdk-scarthgap-10.01.10.04-config.txt 层缺失。
jcormier@jcormier-MS-7A93:/export/space/jcormier/yocto/yocto_scarthgap/oe-layersetup$ diff -u configs/processor-sdk/processor-sdk-scarthgap-10.01.10.04-config.txt configs/processor-sdk/processor-sdk-scarthgap-chromium-10.01.10.04-config.txt --- configs/processor-sdk/processor-sdk-scarthgap-10.01.10.04-config.txt 2025-01-16 15:37:17.628889152 -0500 +++ configs/processor-sdk/processor-sdk-scarthgap-chromium-10.01.10.04-config.txt 2025-01-16 15:37:17.628889152 -0500 @@ -4,6 +4,7 @@ bitbake,git.openembedded.org/bitbake,2.8,6c2641f7a9e92c1b82e306f59ddd3c1249c52cbf meta-tisdk,github.com/.../meta-tisdk.git,scarthgap,10.01.10.04,layers= meta-arago,git.yoctoproject.org/meta-arago,scarthgap,10.01.10,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test +meta-browser,github.com/.../meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium meta-qt5,github.com/.../meta-qt5.git,scarthgap,eb828418264a49b8d00035cb3d7b12fcea3be801,layers= meta-virtualization,git.yoctoproject.org/meta-virtualization,scarthgap,450941a1b6df96285691e8c23d4f332d3c88a994,layers= meta-openembedded,git.openembedded.org/meta-openembedded,scarthgap,b8d1a14f7f3b76457c36752202ea7ae5881b6654,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia @@ -11,6 +12,7 @@ meta-arm,git.yoctoproject.org/meta-arm,scarthgap,7088279c0ab00c7dabefdd4544951b4746b48476,layers=meta-arm:meta-arm-toolchain meta-clang,github.com/.../meta-clang,scarthgap,9fbfa9db33131abdf3870a94f00199eb53e276e5,layers= oe-core,git.openembedded.org/openembedded-core,scarthgap,dac630ab5ee7aa6c5c7c294093adbd11b116c765,layers=meta +meta-edgeai,git.ti.com/.../meta-edgeai.git,scarthgap,10.01.10.04,layers= OECORELAYERCONF=./sample-files/bblayers.conf.sample OECORELOCALCONF=./sample-files/local-arago64-v2.conf.sample
我很确定非铬和铬配置之间的唯一区别是元浏览器。