我通过以下两个页面从头开始重建 Yocto 映像:
https://github.com/TexasInstruments/ti-docker-images (执行 Yocto 构建的 Docker 映像)
https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-am68a/09_01_00/exports/docs/linux/Overview_Building_the_SDK.html (使用 Yocto 构建 SDK)
产生的 SD 卡映像启动,似乎工作正常:我看到 U-Boot 消息启动,显示输出工作,易捷时应用程序启动,连接的鼠标移动光标周围,以太网工作等。 不过、如果我尝试通过点击相应的按钮来启动"物体检测"演示、显示输出似乎处于冻结状态。 我跟踪了 edgeai-init.service、这就是我看到的:
root@am68-sk:/opt/edgeai-gst-apps journalctl --follow -u edgeai-init
Apr 01 15:22:41 am68-SK ntpd [687]:NTP 引擎已准备就绪
Apr 01 15:22:41 am68-SK ntpd [689]:-s 选项不再有效,将很快删除。
Apr 01 15:22:41 am68-SK ntpd [689]:请重新配置以使用约束或受信任的服务器。
Apr 01 15:22:41 am68-SK ntpd [689]:在没有 libtls 支持的情况下配置的约束
Apr 01 15:22:41 am68-SK ntpd [689]:在没有 libtls 支持的情况下配置的约束
Apr 01 15:22:41 am68-SK ntpd [689]:在没有 libtls 支持的情况下配置的约束
Apr 01 15:22:41 am68-sk ntpd [687]:NTP 引擎正在退出
Apr 01 15:22:41 am68-SK ntpd [686]:终止
Apr 01 15:22:41 am68-sk edgeai-launcher.sh[688]: Can't killpid 687 : no such process
Apr 01 15:22:41 am68-sk systemd[1]:启动 EdgeAI OOB 演示。
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:**
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:错误:../git/gst-libs/gst/tiovx/gsttiovxcontext.c:146:gst_tiovx_context_init:置位失败:(0 == ret)
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:app: init ..!
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:app_log:错误:无法映射大小为262144字节的内存@ 0xaa000000!!
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:app:error:log writer init failed!!
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:app_log:错误:无法映射大小为3288576字节的内存@ 0xae000000!!
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:app:错误:文件 io writer 初始化失败!!!
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:app: init ...完成了!!
Apr 01 15:27:50 am68-sk edgeai-launcher.sh[681]:保释外出! 错误:../git/gst-libs/gst/tiovx/gsttiovxcontext.c:146:gst_tiovx_context_init:置位失败:(0 = ret)
Apr 01 15:27:53 am68-sk edgeai-launcher.sh[1292]:/etc/init.d/edgeai-launcher.sh : line 16: kill:(681 )- No such process
Apr 01 15:27:53 am68-sk edgeai-launcher.sh[1292]:服务未运行
Apr 01 15:27:53 am68-sk edgeai-launcher.sh[1299]: USB Camera 0 Detected
Apr 01 15:27:53 am68-sk edgeai-launcher.sh[1299]: device =/dev/video-usb-cam0
Apr 01 15:27:53 am68-sk edgeai-launcher.sh[1299]:格式= jpeg
Apr 01 15:27:53 am68-sk edgeai-launcher.sh[1292]:将壁纸应用于 Linux 帧缓冲
Apr 01 15:27:55 am68-SK systemd[1]:edgeai-init.service:已成功停用。
时间戳15:27:50出现的错误与我 单击"Object Detection"(物体检测)按钮的相关。
如果我使用预构建的09_01_00_06映像(可在此处找到: https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX AM68A)对 SD 卡进行编程、那么物体检测演示就可以正常启动。
有什么想法我做错了吗?