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.

[参考译文] AM62A7:同一个命令和系统在不同的引导方式下具有不同的结果

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1520160/am62a7-the-same-command-and-system-have-different-results-under-different-boot-way

器件型号:AM62A7

工具/软件:

尊敬的 TI 专家:

此命令在未修改的系统上运行正常、但使用修改后的 init 脚本启动后会显示错误消息。 原因可能是什么?

是否缺少未加载或初始化的内容?


命令:
gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
视频/x-Bayer、宽度=1920、高度=1080、帧速率=30/1、格式=rggb! \
tiovxisp sink_0:::device=/dev/v4l-imx219-subdev0 \
sensor-name="SENSOR_SONY_IMX219_RPI"\
dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin \
sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a.bin format-msb=7! \
video/x-raw、格式=NV12、宽度=1920、高度=1080、帧速率=30/1! \
kmssink driver-name=tidss sync=false


ErrorLog:
sh-5.2# gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
>视频/x-Bayer、宽度=1920、高度=1080、帧速率=30/1、格式=rggb! \
> tiovxisp sink_0:::device=/dev/v4l-imx219-subdev0 \
> sensor-name="sensor_Sony_IMX219_RPI"\
> dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin \
> sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a.bin format-msb=7 ! \
> video/x-raw、format=NV12、width=1920、height=1080、帧速率=30/1! \
> kmssink driver-name=tidss sync=false
应用程序:初始化...!!
20.394192 s:内存:初始化...!!!
20.394253 s:MEM:初始化的 DMA 堆(FD=8)!!!
20.3943995 s:内存:初始化...完成!!!
20.394407 s:ipc: init ...!!
20.411470 s:ipc:初始化...完成!!!
remote_service:初始化...!!
remote_service:初始化...完成!!!
20.416190 s:GTC 频率= 200 MHz
应用程序:初始化...完成!!
20.416322 s:vx_zone_info:全局启用 vx_zone_error
20.416344 s:vx_zone_info:全局启用 vx_zone_warning
20.416355 s:vx_zone_info:全局启用 vx_zone_info
20.416562 s:vx_zone_error:[ownPlatformInit:131] POSIX 信标创建 FD
20.417379 s:vx_zone_info:[tivxPlatformCreateTargetId:134]已添加目标 M
20.417664 s:vx_zone_info:[tivxPlatformCreateTargetId:134]已添加目标 M
20.417946 s:vx_zone_info:[tivxPlatformCreateTargetId:134]已添加目标 M
20.418161 s:vx_zone_info:[tivxPlatformCreateTargetId:134]已添加目标 M
20.418193 s:vx_zone_info:[tivxInitLocal:126]初始化完成!!!
20.418206 s:vx_zone_info:全局禁用 vx_zone_info
正在将管道设置为已暂停...
捕捉到 SIGSEGV


脚本文件:myinit.sh
#!/bin/sh

导出路径=/usr/bin:/sbin:/bin
Export LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
mount -t proc /proc
mount -n -t sysfs none /sys
mount -n -t tmpfs none /run
导出 SOC=am62a
导出 DEVICE_NAME=AM62A


insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_r5_remoteproc.ko
insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_dsp_remoteproc.ko
insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/rpmsg/rpmsg_char.ko

/usr/lib/systemd/systemd-udevd --daemon
/usr/lib/systemd/systemd-journald 和
/sbin/udevd --daemon
/sbin/udevadm trigger --action=add
/sbin/udevadm 稳定

Bash /opt/edgeai-gst-apps/scripts/setup_cameras_v3link.sh

media-ctl -V "imx219 4-0010":0 [fmt:SRGGB8_1X8/1920x1080 field:none]"
media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:SRGGB8_1X8/1920x1080 field:none]"
media-ctl -V '"30102000.ticsi2rx":0 [fmt:SRGGB8_1X8/1920x1080 field:none]"


/opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai /opt/edgeai-gst-apps/configs/imx219_cam_example.yaml

你好,世界!!!!! "

Exec /bin/sh


/bin/sh

此致、

Meng