Hi all,
I developed a IMX219 and J20 driver for the Xavier, at this moment I am able to capture from the CSI 2 and 3, I am trying to get 6 cameras working but for some reason the other csi are not working. I am getting the issue below when I try to capture with v4l2-ctl.
v4l2-ctl -d /dev/video0 --set-fmt-video=width=3280,height=2464,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap
I get stuck v4l2-ctl when I try to capture from the CSI 4, 0, 1, 5. I noticed that the csi 5 changed to the csi 6 in the Xavier but the other CSI are same to the TX2. The issue that I am seeing is this:
[ 160.417432] tegra194-vi5 15c10000.vi: vi_capture_ivc_send_control: sending chan_id 64 msg_id 16
[ 160.417964] tegra194-vi5 15c10000.vi: vi_capture_ivc_send_control: response chan_id 64 msg_id 17
[ 160.418065] tegra194-vi5 15c10000.vi: vi_capture_request: sending chan_id 0 msg_id 1 buf:0
[ 160.418099] tegra194-vi5 15c10000.vi: vi_capture_request: sending chan_id 0 msg_id 1 buf:1
[ 160.418147] tegra194-vi5 15c10000.vi: vi_capture_request: sending chan_id 0 msg_id 1 buf:2
[ 160.418169] tegra194-vi5 15c10000.vi: vi_capture_status: waiting for status, timeout:2500 ms
[ 160.418181] tegra194-vi5 15c10000.vi: vi_capture_request: sending chan_id 0 msg_id 1 buf:3
[ 160.420071] t194-nvcsi 15a00000.nvcsi: csi5_start_streaming: stream 0, pg_mode=0x0
[ 160.420076] t194-nvcsi 15a00000.nvcsi: csi5_stream_set_config: stream_id=0
[ 160.420079] t194-nvcsi 15a00000.nvcsi: cil_settingtime is pulled from device
[ 160.420085] t194-nvcsi 15a00000.nvcsi: csi5_stream_open: stream_id=0
[ 160.420117] imx219 1-0010: Enable Stream
[ 160.420216] tegra-capture-ivc ivc-bc00000.rtcpu:ivccontrol@3: No callback for id 65
[ 160.420225] tegra-capture-ivc ivc-bc00000.rtcpu:ivccontrol@3: No callback for id 65
[ 160.462180] [RCE] vi5_hwinit: firmware CL2018061801 protocol version 2.2
[ 160.930151] imx219 1-0010: Start Mode: 0
[ 163.002028] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 163.002215] tegra194-vi5 15c10000.vi: vi capture dequeue status failed
[ 163.002337] video4linux video0: free_ring_buffers: capture init latency is 2588 ms
[ 163.002357] tegra194-vi5 15c10000.vi: vi_capture_status: waiting for status, timeout:2500 ms
[ 163.002423] tegra194-vi5 15c10000.vi: channel error, resetting the channel
[ 163.002603] tegra194-vi5 15c10000.vi: vi_capture_request: sending chan_id 0 msg_id 1 buf:0
I also tried with nvarguscamerasrc and I got same results CSI 2 and 3 are working but the others don’t work.
Do you have any idea about what is causing the issue, I am using the same configuration in the DTB as the CSI 2 and 3 but changing the serial port to the corresponding to match the properly CSI.
Have you ever tested more than 2 cameras on the Xavier?
Thank you.
-Adrian