Hello.
We have integrated the a camera made over the OV5693 driver ie with relevant changes made for our requirement, on Jetson Orin NX JP5.1 SoC. This Orin NX SoC is integrated on Xavier NX devkit.
We flashed the OS on USB drive and successfully booted from it by flashing necessary changes on the qspi.
The camera was previously functional on
- TX2 JP3.1 and JP4.6
- Xavier NX JP4.6
Video node is present. However, when we try to launch video via the pipeline below we get the following error:
/$ GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, width=640, height=480, framerate=15/1 ! videoconvert ! ximagesink -v
Setting pipeline to PAUSED ...
0:00:00.085565432 2582 0xaaab1666c300 WARN ximagepool ximagepool.c:500:gst_x_image_sink_check_xshm_calls: MIT-SHM extension check failed at XShmAttach. Not using shared memory.
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.092198484 2582 0xaaab1665cd80 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<v4l2src0> error: Internal data stream error.
0:00:00.092236662 2582 0xaaab1665cd80 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason not-negotiated (-4)
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000149604
Setting pipeline to NULL ...
Freeing pipeline ...
Additionally,
/$ sudo dmesg | grep nvcsi
[ 8.876465] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: context isolation disabled due to no IOMMU
[ 8.886135] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: initialized
[ 8.892570] tegra-camrtc-capture-vi tegra-capture-vi: subdev 13e40000.host1x:nvcsi@15a00000- bound
[ 67.858553] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[ 67.877615] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 2 vc- 0
We have used e3326 node for the device tree and have verified the following
- the i2c bus mapping wrt hardware.
- the camera connector
Thank you in advance.