Tool/software:
Hi TI Experts,
This command works fine on an unmodified system, but an error message appears after starting it with the modified init script. What could be the reason?
Am I missing something that is not loaded or initialized?
Command:
gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
video/x-bayer, width=1920, height=1080, framerate=30/1, format=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, framerate=30/1 ! \
kmssink driver-name=tidss sync=false
ErrorLog:
sh-5.2# gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
> video/x-bayer, width=1920, height=1080, framerate=30/1, format=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, framerate=30/1 ! \
> kmssink driver-name=tidss sync=false
APP: Init ... !!!
20.394192 s: MEM: Init ... !!!
20.394253 s: MEM: Initialized DMA HEAP (fd=8) !!!
20.394395 s: MEM: Init ... Done !!!
20.394407 s: IPC: Init ... !!!
20.411470 s: IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
20.416190 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
20.416322 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
20.416344 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
20.416355 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
20.416562 s: VX_ZONE_ERROR: [ownPlatformInit:131] POSIX semaphore create fd
20.417379 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
20.417664 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
20.417946 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
20.418161 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
20.418193 s: VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
20.418206 s: VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
Setting pipeline to PAUSED ...
Caught SIGSEGV
ScriptFile:myinit.sh
#!/bin/sh
export PATH=/usr/bin:/sbin:/bin
export LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
mount -t proc proc /proc
mount -n -t sysfs none /sys
mount -n -t tmpfs none /run
export SOC=am62a
export 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 settle
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
echo "Hello world!!!!!!"
exec /bin/sh
/bin/sh
Best Regards,
Meng