Unable to fetch camera frames on Jetson Xavier NX

Hi,

I’m using Jetson Xavier NX and a single lane mipi csi camera and I’m unable to fetch camera frames. I’m getting error on compliance test and here is the response.

v4l2-compliance -d /dev/video0
v4l2-compliance SHA   : not available

Driver Info:
        Driver name   : tegra-video
        Card type     : vi-output, omcam 33-0036
        Bus info      : platform:15c10000.vi:2
        Driver version: 4.9.201
        Capabilities  : 0x84200001
                Video Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format

Compliance test for device /dev/video0 (not using libv4l2):

Required ioctls:
        test VIDIOC_QUERYCAP: OK

Allow for multiple opens:
        test second video open: OK
        test VIDIOC_QUERYCAP: OK
        test VIDIOC_G/S_PRIORITY: OK
        test for unlimited opens: OK

Debug ioctls:
        test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
        test VIDIOC_LOG_STATUS: OK

Input ioctls:
        test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
        test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
        test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
        test VIDIOC_ENUMAUDIO: OK (Not Supported)
        test VIDIOC_G/S/ENUMINPUT: OK
        test VIDIOC_G/S_AUDIO: OK (Not Supported)
        Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
        test VIDIOC_G/S_MODULATOR: OK (Not Supported)
        test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
        test VIDIOC_ENUMAUDOUT: OK (Not Supported)
        test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
        test VIDIOC_G/S_AUDOUT: OK (Not Supported)
        Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
        test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
        test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
        test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
        test VIDIOC_G/S_EDID: OK (Not Supported)

Test input 0:

        Control ioctls:
                test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
                test VIDIOC_QUERYCTRL: OK
                test VIDIOC_G/S_CTRL: OK
                test VIDIOC_G/S/TRY_EXT_CTRLS: OK
                test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
                test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
                Standard Controls: 1 Private Controls: 20

        Format ioctls:
                test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
                fail: v4l2-test-formats.cpp(1184): ret && node->has_frmintervals
                test VIDIOC_G/S_PARM: FAIL
                test VIDIOC_G_FBUF: OK (Not Supported)
                test VIDIOC_G_FMT: OK
                test VIDIOC_TRY_FMT: OK
                test VIDIOC_S_FMT: OK
                test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
                test Cropping: OK (Not Supported)
                test Composing: OK (Not Supported)
                test Scaling: OK (Not Supported)

        Codec ioctls:
                test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
                test VIDIOC_G_ENC_INDEX: OK (Not Supported)
                test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

        Buffer ioctls:
                test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
                test VIDIOC_EXPBUF: OK

Test input 0:


Total: 43, Succeeded: 42, Failed: 1, Warnings: 0

Also If I try to run the following commands to save frame, I get an error and the saved file is of 0 bytes

v4l2-ctl --set-fmt-video=width=800,height=800,pixelformat=BG10 --stream-mmap --stream-count=1 -d /dev/video0 --stream-to=omcam.raw
 [ 4564.314152] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4564.314332] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4564.314467] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4564.316440] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4566.874065] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4566.874214] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4566.874385] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4566.876502] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4569.434028] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4569.434180] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4569.434319] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4569.436312] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4571.993973] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4571.994126] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4571.994264] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4571.996463] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4574.553940] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4574.554125] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4574.554265] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4574.556245] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4577.113879] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4577.114030] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4577.114172] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4577.116474] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4579.673851] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4579.674008] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4579.674151] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4579.676312] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4582.233814] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4582.234009] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4582.234157] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4582.236987] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4584.761748] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4584.761902] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4584.762032] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4584.764396] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel

Here is the trace log for reference,

# tracer: nop
#
# entries-in-buffer/entries-written: 3121/3121   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/0:3-8755  [000] ....  1788.896963: rtos_queue_peek_from_isr_failed: tstamp:56273992421 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1788.896971: rtcpu_start: tstamp:56273994812
     kworker/0:3-8755  [000] ....  1788.896974: rtos_queue_send_from_isr_failed: tstamp:56274131656 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1788.896976: rtos_queue_send_from_isr_failed: tstamp:56274132161 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1788.896977: rtos_queue_send_from_isr_failed: tstamp:56274132665 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1788.896978: rtos_queue_send_from_isr_failed: tstamp:56274133163 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1788.896979: rtos_queue_send_from_isr_failed: tstamp:56274133682 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1788.896981: rtcpu_string: tstamp:56274134987 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:3-8755  [000] ....  1788.896996: rtcpu_string: tstamp:56274135612 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/0:3-8755  [000] ....  1788.897004: rtcpu_string: tstamp:56274136293 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/0:3-8755  [000] ....  1788.897011: rtcpu_string: tstamp:56274137120 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:3-8755  [000] ....  1788.897050: rtcpu_string: tstamp:56274137897 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:3-8755  [000] ....  1788.897057: rtcpu_string: tstamp:56274138561 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:3-8755  [000] ....  1788.897063: rtcpu_string: tstamp:56274139235 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:3-8755  [000] ....  1788.897070: rtcpu_string: tstamp:56274159369 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol vers"
     kworker/0:3-8755  [000] ....  1788.897072: rtcpu_string: tstamp:56274159886 id:0x04010000 str:"on 2.2
"
     kworker/0:3-8755  [000] ....  1788.897078: rtos_queue_send_from_isr_failed: tstamp:56274239065 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1788.897079: rtos_queue_send_from_isr_failed: tstamp:56274239685 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1788.897081: rtos_queue_send_from_isr_failed: tstamp:56274240204 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1788.897082: rtos_queue_send_from_isr_failed: tstamp:56274240724 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1788.897083: rtos_queue_send_from_isr_failed: tstamp:56274241232 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1788.897084: rtcpu_string: tstamp:56274243710 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000
"
     kworker/0:3-8755  [000] ....  1788.897091: rtos_queue_send_from_isr_failed: tstamp:56274530000 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1788.897092: rtos_queue_send_from_isr_failed: tstamp:56274530150 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1788.897093: rtos_queue_send_from_isr_failed: tstamp:56274530304 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1788.897121: rtos_queue_send_from_isr_failed: tstamp:56274530450 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1788.897122: rtos_queue_send_from_isr_failed: tstamp:56274530596 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1788.897125: rtcpu_vinotify_event: tstamp:56274710327 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:57019158496 data:0x10000000
     kworker/0:3-8755  [000] ....  1788.897126: rtcpu_vinotify_event: tstamp:56274710471 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:57019167168 data:0x31000001
     kworker/0:3-8755  [000] ....  1788.897128: rtcpu_vinotify_event: tstamp:56274710632 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:57019169312 data:0x07020001
     kworker/0:3-8755  [000] ....  1788.897129: rtcpu_vinotify_event: tstamp:56274710767 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:57019293472 data:0x10000000
     kworker/0:3-8755  [000] ....  1788.897130: rtcpu_vinotify_event: tstamp:56274710924 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:57019301856 data:0x31000002
     kworker/0:3-8755  [000] ....  1789.064958: rtos_queue_peek_from_isr_failed: tstamp:56278992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1789.232956: rtos_queue_peek_from_isr_failed: tstamp:56283992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1789.344951: rtos_queue_peek_from_isr_failed: tstamp:56288992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1789.516974: rtos_queue_peek_from_isr_failed: tstamp:56293992787 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1789.684962: rtos_queue_peek_from_isr_failed: tstamp:56298992787 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1789.852975: rtos_queue_peek_from_isr_failed: tstamp:56303992787 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1790.024968: rtos_queue_peek_from_isr_failed: tstamp:56308992799 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1790.197001: rtos_queue_peek_from_isr_failed: tstamp:56313992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1790.309051: rtos_queue_peek_from_isr_failed: tstamp:56318992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1790.476992: rtos_queue_peek_from_isr_failed: tstamp:56323992787 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1790.644992: rtos_queue_peek_from_isr_failed: tstamp:56328992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1790.812959: rtos_queue_peek_from_isr_failed: tstamp:56333992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1790.980969: rtos_queue_peek_from_isr_failed: tstamp:56338992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1791.148998: rtos_queue_peek_from_isr_failed: tstamp:56343992792 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1791.260975: rtos_queue_peek_from_isr_failed: tstamp:56348992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1791.428974: rtos_queue_peek_from_isr_failed: tstamp:56353992791 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1791.601118: rtos_queue_peek_from_isr_failed: tstamp:56358992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1791.601125: rtos_queue_send_from_isr_failed: tstamp:56359461380 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1791.601127: rtos_queue_send_from_isr_failed: tstamp:56359461532 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1791.601128: rtos_queue_send_from_isr_failed: tstamp:56359461686 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1791.601129: rtos_queue_send_from_isr_failed: tstamp:56359461833 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1791.601130: rtos_queue_send_from_isr_failed: tstamp:56359461979 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1791.601131: rtos_queue_send_from_isr_failed: tstamp:56359510981 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1791.601132: rtos_queue_send_from_isr_failed: tstamp:56359511132 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1791.601133: rtos_queue_send_from_isr_failed: tstamp:56359511284 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1791.601134: rtos_queue_send_from_isr_failed: tstamp:56359511431 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1791.601135: rtos_queue_send_from_isr_failed: tstamp:56359511577 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1791.601136: rtos_queue_send_from_isr_failed: tstamp:56359513324 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1791.601137: rtos_queue_send_from_isr_failed: tstamp:56359513469 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1791.601138: rtos_queue_send_from_isr_failed: tstamp:56359513609 queue:0x0bcba578
     kworker/0:3-8755  [000] ....  1791.601139: rtos_queue_send_from_isr_failed: tstamp:56359513745 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1791.601141: rtos_queue_send_from_isr_failed: tstamp:56359513881 queue:0x0bcbb338
     kworker/0:3-8755  [000] ....  1791.601142: rtos_queue_send_from_isr_failed: tstamp:56359514016 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1791.601143: rtos_queue_send_from_isr_failed: tstamp:56359514151 queue:0x0bcbc0f8
     kworker/0:3-8755  [000] ....  1791.601144: rtos_queue_send_from_isr_failed: tstamp:56359514283 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1791.601145: rtos_queue_send_from_isr_failed: tstamp:56359520817 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1791.601146: rtos_queue_send_from_isr_failed: tstamp:56359520990 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1791.601147: rtos_queue_send_from_isr_failed: tstamp:56359521141 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1791.601148: rtos_queue_send_from_isr_failed: tstamp:56359521292 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1791.601149: rtos_queue_send_from_isr_failed: tstamp:56359521437 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1791.601173: rtcpu_string: tstamp:56359521857 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:3-8755  [000] ....  1791.601185: rtcpu_string: tstamp:56359522036 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/0:3-8755  [000] ....  1791.601192: rtcpu_string: tstamp:56359522289 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/0:3-8755  [000] ....  1791.601197: rtcpu_string: tstamp:56359522554 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:3-8755  [000] ....  1791.601202: rtcpu_string: tstamp:56359522787 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:3-8755  [000] ....  1791.601207: rtcpu_string: tstamp:56359523019 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:3-8755  [000] ....  1791.601258: rtcpu_string: tstamp:56359523251 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:3-8755  [000] ....  1791.601263: rtos_queue_send_from_isr_failed: tstamp:56359528935 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1791.601265: rtos_queue_send_from_isr_failed: tstamp:56359529086 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1791.601266: rtos_queue_send_from_isr_failed: tstamp:56359529239 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1791.601267: rtos_queue_send_from_isr_failed: tstamp:56359529386 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1791.601268: rtos_queue_send_from_isr_failed: tstamp:56359529531 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1791.601269: rtos_queue_send_from_isr_failed: tstamp:56359535882 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1791.601270: rtos_queue_send_from_isr_failed: tstamp:56359536048 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1791.601271: rtos_queue_send_from_isr_failed: tstamp:56359536201 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1791.601272: rtos_queue_send_from_isr_failed: tstamp:56359536346 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1791.601273: rtos_queue_send_from_isr_failed: tstamp:56359536493 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1791.656994: rtcpu_vinotify_event: tstamp:56359889142 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:55453380096 data:0x10000000
     kworker/0:3-8755  [000] ....  1791.656998: rtcpu_vinotify_event: tstamp:56359889309 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:55453410912 data:0x31000001
     kworker/0:3-8755  [000] ....  1791.656999: rtcpu_vinotify_event: tstamp:56359889448 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:55453419520 data:0x07020001
     kworker/0:3-8755  [000] ....  1791.657001: rtcpu_vinotify_event: tstamp:56359889604 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:55453584992 data:0x10000000
     kworker/0:3-8755  [000] ....  1791.657002: rtcpu_vinotify_event: tstamp:56359889741 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:55453614688 data:0x31000002
     kworker/0:3-8755  [000] ....  1791.768982: rtos_queue_peek_from_isr_failed: tstamp:56363992793 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1791.936984: rtos_queue_peek_from_isr_failed: tstamp:56368992791 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1792.104981: rtos_queue_peek_from_isr_failed: tstamp:56373992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1792.272996: rtos_queue_peek_from_isr_failed: tstamp:56378992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1792.385007: rtos_queue_peek_from_isr_failed: tstamp:56383992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1792.552992: rtos_queue_peek_from_isr_failed: tstamp:56388992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1792.721088: rtos_queue_peek_from_isr_failed: tstamp:56393992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1792.888995: rtos_queue_peek_from_isr_failed: tstamp:56398992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1793.056998: rtos_queue_peek_from_isr_failed: tstamp:56403992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1793.225022: rtos_queue_peek_from_isr_failed: tstamp:56408992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1793.393007: rtos_queue_peek_from_isr_failed: tstamp:56413992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1793.505019: rtos_queue_peek_from_isr_failed: tstamp:56418992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1793.673006: rtos_queue_peek_from_isr_failed: tstamp:56423992787 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1793.841005: rtos_queue_peek_from_isr_failed: tstamp:56428992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1794.009040: rtos_queue_peek_from_isr_failed: tstamp:56433992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1794.177028: rtos_queue_peek_from_isr_failed: tstamp:56438992792 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1794.177035: rtos_queue_send_from_isr_failed: tstamp:56439461501 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1794.177036: rtos_queue_send_from_isr_failed: tstamp:56439461654 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1794.177038: rtos_queue_send_from_isr_failed: tstamp:56439461808 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1794.177039: rtos_queue_send_from_isr_failed: tstamp:56439461954 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1794.177040: rtos_queue_send_from_isr_failed: tstamp:56439462101 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1794.177041: rtos_queue_send_from_isr_failed: tstamp:56439520834 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1794.177043: rtos_queue_send_from_isr_failed: tstamp:56439520983 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1794.177044: rtos_queue_send_from_isr_failed: tstamp:56439521132 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1794.177045: rtos_queue_send_from_isr_failed: tstamp:56439521279 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1794.177046: rtos_queue_send_from_isr_failed: tstamp:56439521424 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1794.177049: rtcpu_string: tstamp:56439528179 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:3-8755  [000] ....  1794.177067: rtcpu_string: tstamp:56439528359 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/0:3-8755  [000] ....  1794.177074: rtcpu_string: tstamp:56439528617 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/0:3-8755  [000] ....  1794.177081: rtcpu_string: tstamp:56439528881 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:3-8755  [000] ....  1794.177087: rtcpu_string: tstamp:56439529112 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:3-8755  [000] ....  1794.177093: rtcpu_string: tstamp:56439529344 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:3-8755  [000] ....  1794.177099: rtcpu_string: tstamp:56439529576 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:3-8755  [000] ....  1794.177105: rtos_queue_send_from_isr_failed: tstamp:56439533522 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1794.177106: rtos_queue_send_from_isr_failed: tstamp:56439533675 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1794.177107: rtos_queue_send_from_isr_failed: tstamp:56439533828 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1794.177109: rtos_queue_send_from_isr_failed: tstamp:56439533975 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1794.177110: rtos_queue_send_from_isr_failed: tstamp:56439534121 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1794.177111: rtos_queue_send_from_isr_failed: tstamp:56439547556 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1794.177112: rtos_queue_send_from_isr_failed: tstamp:56439547705 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1794.177114: rtos_queue_send_from_isr_failed: tstamp:56439547854 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1794.177115: rtos_queue_send_from_isr_failed: tstamp:56439548001 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1794.177116: rtos_queue_send_from_isr_failed: tstamp:56439548146 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1794.177117: rtos_queue_send_from_isr_failed: tstamp:56439557965 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1794.177119: rtos_queue_send_from_isr_failed: tstamp:56439558114 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1794.177120: rtos_queue_send_from_isr_failed: tstamp:56439558264 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1794.177121: rtos_queue_send_from_isr_failed: tstamp:56439558411 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1794.177122: rtos_queue_send_from_isr_failed: tstamp:56439558557 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1794.177124: rtos_queue_send_from_isr_failed: tstamp:56439566814 queue:0x0bcb41f8
     kworker/0:3-8755  [000] ....  1794.177125: rtos_queue_send_from_isr_failed: tstamp:56439566962 queue:0x0bcb8a60
     kworker/0:3-8755  [000] ....  1794.177126: rtos_queue_send_from_isr_failed: tstamp:56439567111 queue:0x0bcba5e0
     kworker/0:3-8755  [000] ....  1794.177127: rtos_queue_send_from_isr_failed: tstamp:56439567258 queue:0x0bcbb3a0
     kworker/0:3-8755  [000] ....  1794.177129: rtos_queue_send_from_isr_failed: tstamp:56439567403 queue:0x0bcbc160
     kworker/0:3-8755  [000] ....  1794.177131: rtcpu_vinotify_event: tstamp:56439642692 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:58013514624 data:0x10000000
     kworker/0:3-8755  [000] ....  1794.177133: rtcpu_vinotify_event: tstamp:56439642836 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:58013544000 data:0x31000001
     kworker/0:3-8755  [000] ....  1794.177134: rtcpu_vinotify_event: tstamp:56439642998 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:58013552576 data:0x07020001
     kworker/0:3-8755  [000] ....  1794.177135: rtcpu_vinotify_event: tstamp:56439643134 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:58013950208 data:0x10000000
     kworker/0:3-8755  [000] ....  1794.177137: rtcpu_vinotify_event: tstamp:56439643293 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:58013979904 data:0x31000002
     kworker/0:3-8755  [000] ....  1794.345028: rtos_queue_peek_from_isr_failed: tstamp:56443992784 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1794.513021: rtos_queue_peek_from_isr_failed: tstamp:56448992792 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1794.625010: rtos_queue_peek_from_isr_failed: tstamp:56453992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1794.793041: rtos_queue_peek_from_isr_failed: tstamp:56458992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1794.961027: rtos_queue_peek_from_isr_failed: tstamp:56463992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1795.129050: rtos_queue_peek_from_isr_failed: tstamp:56468992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1795.297023: rtos_queue_peek_from_isr_failed: tstamp:56473992787 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1795.465038: rtos_queue_peek_from_isr_failed: tstamp:56478992788 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1795.633026: rtos_queue_peek_from_isr_failed: tstamp:56483992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1795.745024: rtos_queue_peek_from_isr_failed: tstamp:56488992792 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1795.913032: rtos_queue_peek_from_isr_failed: tstamp:56493992790 queue:0x0bcbcf78
     kworker/0:3-8755  [000] ....  1796.081036: rtos_queue_peek_from_isr_failed: tstamp:56498992788 queue:0x0bcbcf78

I’ve attached devicetree files for reference.

Could anyone of you please provide us any pointer’s on this.
Any help on this is much appreciated.devicetree.zip (3.3 KB)

Hi @omkarm,

I am going to move this topic over to the Jetson Xavier NX forum for better visibility.

Tom K

Thank you @TomK

1 Like

The trace log show didn’t receive any validate data from MIPI bus. You may need to probe the MIPI signal to confirm it.

Thank you @ShaneCCC for your response, I probed the MIPI lane and I was able to see differential signals, varying when we move the camera around different lighting conditions.
I’m wondering if I’ve missed something in devicetree, could you please check the devicetree attached to this post?

The configure is one lane configure connect to the CSI2?
I didn’t find any error from the device tree.

Yes it is a single lane configuration on CSI2