Configuration for raw data over CSI

Hi,

I have an FPGA that sends me raw data over CSI interface (not a camera).
The data resolution is 1024x128, and each pixel is 16bit.

I have written a custom CSI driver based on ov5693 template, and updated my device tree as well.
(As described here: Jetson AGX Xavier MIPI CSI-2 without I2C from FPGA)

My question is how to configure in dtsi the following:
mode_type = ?
pixel_phase = ?
csi_pixel_bit_depth = ?
line_length = ?

to get 16bits per pixel of raw data.

Regards,
Ron

You can ignore the line_length that only for the Bayer sensor.
You can have fpga output as YUV422 and configure like below.

mode_type=yuv
pixel_phase =uyvy/yuyv/…
csi_pixel_bit_depth = 16

Thanks Shane,

I can’t modify the FPGA, as it is not mine.
This is raw data stream over CSI, but not an image data.

Another issue I notice is that when I wanted to test my CSI driver, I ran:
“sudo v4l2-ctl -d /dev/video0 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw”

But got the following error:
VIDIOC_REQBUFS: failed: Device or resource busy

Reboot the device and check the command without sudo

After removing the line_length property from the dtsi, I get the following error on module load:

[ 108.174865] ov5693 2-0036: probing v4l2 sensor no i2c.
[ 108.178738] ov5693 2-0036: sensor_common_parse_image_props:Line length property missing
[ 108.178949] ov5693 2-0036: Failed to read mode0 image props
[ 108.179070] ov5693 2-0036: Could not initialize sensor properties.
[ 108.179246] ov5693 2-0036: Failed to initialize ov5693
[ 108.179361] ov5693 2-0036: tegra camera driver registration failed
[ 108.179752] ov5693: probe of 2-0036 failed with error -61

I added the line_length again (with the value of 2048 which is 2Bytes per pixel).

Now when running:

  "v4l2-ctl --list-formats-ext"

I get:

    ioctl: VIDIOC_ENUM_FMT
    Index       : 0
    Type        : Video Capture
    Pixel Format: 'YUYV'
    Name        : YUYV 4:2:2
            Size: Discrete 1024x128
                    Interval: Discrete 0.040s (25.000 fps)

    Index       : 1
    Type        : Video Capture
    Pixel Format: 'YUYV'
    Name        : YUYV 4:2:2
            Size: Discrete 1024x128
                    Interval: Discrete 0.040s (25.000 fps)

When running:

 "v4l2-ctl -d /dev/video0 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw --verbose"

I get:

 VIDIOC_QUERYCAP: ok
 VIDIOC_S_EXT_CTRLS: ok
 VIDIOC_REQBUFS: ok
 VIDIOC_QUERYBUF: ok
 VIDIOC_QBUF: ok
 VIDIOC_QUERYBUF: ok
 VIDIOC_QBUF: ok
 VIDIOC_QUERYBUF: ok
 VIDIOC_QBUF: ok
 VIDIOC_QUERYBUF: ok
 VIDIOC_QBUF: ok
 VIDIOC_STREAMON: ok
    Index    : 0
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 0
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 1
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 1
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 2
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 2
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 3
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 3
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 0
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 0
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 0
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 0
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 1
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 1
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 2
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 2
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 3
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 3
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 0
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 0
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 0
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 0
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 1
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 1
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 2
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 2
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 3
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 3
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 0
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 0
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 0
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 0
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 1
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 1
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 2
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 2
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

    Index    : 3
    Type     : Video Capture
    Flags    : mapped, error
    Field    : None
    Sequence : 3
    Length   : 262144
    Bytesused: 262144
    Timestamp: 0.000000s (Monotonic, End-of-Frame)

with dmesg:

 [  223.987596] tegra194-vi5 15c10000.vi: no reply from camera processor
 [  223.987823] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
 [  223.987999] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
 [  223.989944] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
 [  226.547546] tegra194-vi5 15c10000.vi: no reply from camera processor
 [  226.547737] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
 [  226.547877] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
 [  226.549932] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
 [  229.107482] tegra194-vi5 15c10000.vi: no reply from camera processor
 [  229.107650] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms

I tested with oscilloscope, and there is CSI clock and data on the lines.

What could be the reason for no frame being received ?

Get the trace log may get more information.

Which trace log are you referring to ?

Check this link.

https://elinux.org/Jetson/l4t/Camera_BringUp

Thanks!

Below are the trace logs:

 tracer: nop

 entries-in-buffer/entries-written: 254/254   #P:4

                              _-----=> irqs-off
                             / _----=> need-resched
                            | / _---=> hardirq/softirq
                            || / _--=> preempt-depth
                            ||| /     delay
           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
              | |       |   ||||       |         |
     kworker/0:3-10991 [000] ....  6184.871940: rtos_queue_peek_from_isr_failed: tstamp:193594688828 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6185.039926: rtos_queue_peek_from_isr_failed: tstamp:193599688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6185.207912: rtos_queue_peek_from_isr_failed: tstamp:193604688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6185.375909: rtos_queue_peek_from_isr_failed: tstamp:193609688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6185.543888: rtos_queue_peek_from_isr_failed: tstamp:193614688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6185.715889: rtos_queue_peek_from_isr_failed: tstamp:193619688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6185.827869: rtos_queue_peek_from_isr_failed: tstamp:193624688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6185.995881: rtos_queue_peek_from_isr_failed: tstamp:193629688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6186.163857: rtos_queue_peek_from_isr_failed: tstamp:193634688826 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6186.331840: rtos_queue_peek_from_isr_failed: tstamp:193639688828 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6186.499830: rtos_queue_peek_from_isr_failed: tstamp:193644688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6186.667821: rtos_queue_peek_from_isr_failed: tstamp:193649688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6186.835808: rtos_queue_peek_from_isr_failed: tstamp:193654688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6186.947817: rtos_queue_peek_from_isr_failed: tstamp:193659688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6187.115794: rtos_queue_peek_from_isr_failed: tstamp:193664688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6187.287786: rtos_queue_peek_from_isr_failed: tstamp:193669688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6187.455767: rtos_queue_peek_from_isr_failed: tstamp:193674688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6187.623763: rtos_queue_peek_from_isr_failed: tstamp:193679688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6187.791831: rtos_queue_peek_from_isr_failed: tstamp:193684688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6187.959745: rtos_queue_peek_from_isr_failed: tstamp:193689688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6188.071734: rtos_queue_peek_from_isr_failed: tstamp:193694688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6188.239717: rtos_queue_peek_from_isr_failed: tstamp:193699688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6188.407706: rtos_queue_peek_from_isr_failed: tstamp:193704688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6188.575696: rtos_queue_peek_from_isr_failed: tstamp:193709688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6188.747689: rtos_queue_peek_from_isr_failed: tstamp:193714688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6188.915681: rtos_queue_peek_from_isr_failed: tstamp:193719688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6189.027675: rtos_queue_peek_from_isr_failed: tstamp:193724688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6189.195659: rtos_queue_peek_from_isr_failed: tstamp:193729688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6189.363646: rtos_queue_peek_from_isr_failed: tstamp:193734688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6189.531634: rtos_queue_peek_from_isr_failed: tstamp:193739688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6189.699624: rtos_queue_peek_from_isr_failed: tstamp:193744688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6189.867611: rtos_queue_peek_from_isr_failed: tstamp:193749688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6190.035607: rtos_queue_peek_from_isr_failed: tstamp:193754688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6190.147591: rtos_queue_peek_from_isr_failed: tstamp:193759688827 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6190.315590: rtos_queue_peek_from_isr_failed: tstamp:193764688823 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6190.371581: rtos_queue_peek_from_isr_failed: tstamp:193765159399 queue:0x0bcbcf78
        v4l2-ctl-11074 [001] ....  6275.386063: tegra_channel_open: vi-output, ov5693 2-0036
        v4l2-ctl-11074 [000] ....  6275.387709: tegra_channel_set_power: ov5693 2-0036 : 0x1
        v4l2-ctl-11074 [000] ....  6275.387722: camera_common_s_power: status : 0x1
        v4l2-ctl-11074 [000] ....  6275.392131: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-11074 [000] ....  6275.392135: csi_s_power: enable : 0x1
        v4l2-ctl-11074 [000] ....  6275.395060: tegra_channel_capture_setup: vnc_id 0 W 1024 H 128 fmt 10
        v4l2-ctl-11074 [001] ....  6275.398698: tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-11074 [001] ....  6275.399868: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-11074 [001] ....  6275.399870: csi_s_stream: enable : 0x1
        v4l2-ctl-11074 [001] ....  6275.399877: tegra_channel_set_stream: ov5693 2-0036 : 0x1
     kworker/0:3-10991 [000] ....  6275.430334: rtos_queue_peek_from_isr_failed: tstamp:196423839059 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6275.430338: rtcpu_start: tstamp:196423841158
     kworker/0:3-10991 [000] ....  6275.430339: rtos_queue_send_from_isr_failed: tstamp:196423856139 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6275.430340: rtos_queue_send_from_isr_failed: tstamp:196423856300 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6275.430340: rtos_queue_send_from_isr_failed: tstamp:196423856459 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6275.430341: rtos_queue_send_from_isr_failed: tstamp:196423856620 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6275.430342: rtos_queue_send_from_isr_failed: tstamp:196423856776 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6275.430343: rtcpu_string: tstamp:196423857239 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:3-10991 [000] ....  6275.430365: rtcpu_string: tstamp:196423857429 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/0:3-10991 [000] ....  6275.430386: rtcpu_string: tstamp:196423857696 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/0:3-10991 [000] ....  6275.430389: rtcpu_string: tstamp:196423857980 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:3-10991 [000] ....  6275.430394: rtcpu_string: tstamp:196423858221 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:3-10991 [000] ....  6275.430397: rtcpu_string: tstamp:196423858464 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:3-10991 [000] ....  6275.430400: rtcpu_string: tstamp:196423858705 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:3-10991 [000] ....  6275.430403: rtcpu_string: tstamp:196423866305 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol versi"
     kworker/0:3-10991 [000] ....  6275.430405: rtcpu_string: tstamp:196423866432 id:0x04010000 str:"on 2.2
"
     kworker/0:3-10991 [000] ....  6275.430408: rtos_queue_send_from_isr_failed: tstamp:196423879089 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6275.430409: rtos_queue_send_from_isr_failed: tstamp:196423879269 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6275.430410: rtos_queue_send_from_isr_failed: tstamp:196423879433 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6275.430410: rtos_queue_send_from_isr_failed: tstamp:196423879589 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6275.430411: rtos_queue_send_from_isr_failed: tstamp:196423879745 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6275.430411: rtcpu_string: tstamp:196423880650 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000
"
     kworker/0:3-10991 [000] ....  6275.430415: rtos_queue_send_from_isr_failed: tstamp:196423917489 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6275.430416: rtos_queue_send_from_isr_failed: tstamp:196423917648 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6275.430416: rtos_queue_send_from_isr_failed: tstamp:196423917810 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6275.430417: rtos_queue_send_from_isr_failed: tstamp:196423917969 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6275.430418: rtos_queue_send_from_isr_failed: tstamp:196423918126 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6275.430420: rtcpu_nvcsi_intr: tstamp:196423920663 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000089
     kworker/0:3-10991 [000] ....  6275.430438: rtcpu_nvcsi_intr: tstamp:196423920663 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000088
     kworker/0:3-10991 [000] ....  6275.430440: rtcpu_vinotify_event: tstamp:196424179018 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:195300585056 data:0x10000000
     kworker/0:3-10991 [000] ....  6275.430441: rtcpu_vinotify_event: tstamp:196424179172 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:195300588896 data:0x31000001
     kworker/0:3-10991 [000] ....  6275.430441: rtcpu_vinotify_event: tstamp:196424179346 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:195300589888 data:0x07020001
     kworker/0:3-10991 [000] ....  6275.430442: rtcpu_vinotify_event: tstamp:196424179492 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:195300629344 data:0x10000000
     kworker/0:3-10991 [000] ....  6275.430443: rtcpu_vinotify_event: tstamp:196424179663 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:195300633248 data:0x31000002
     kworker/0:3-10991 [000] ....  6275.598341: rtos_queue_peek_from_isr_failed: tstamp:196428839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6275.766312: rtos_queue_peek_from_isr_failed: tstamp:196433839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6275.878303: rtos_queue_peek_from_isr_failed: tstamp:196438839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6276.046315: rtos_queue_peek_from_isr_failed: tstamp:196443839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6276.214286: rtos_queue_peek_from_isr_failed: tstamp:196448839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6276.382283: rtos_queue_peek_from_isr_failed: tstamp:196453839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6276.550278: rtos_queue_peek_from_isr_failed: tstamp:196458839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6276.718252: rtos_queue_peek_from_isr_failed: tstamp:196463839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6276.886242: rtos_queue_peek_from_isr_failed: tstamp:196468839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6276.998253: rtos_queue_peek_from_isr_failed: tstamp:196473839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6277.166225: rtos_queue_peek_from_isr_failed: tstamp:196478839417 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6277.334215: rtos_queue_peek_from_isr_failed: tstamp:196483839417 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6277.502203: rtos_queue_peek_from_isr_failed: tstamp:196488839422 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6277.670196: rtos_queue_peek_from_isr_failed: tstamp:196493839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6277.838187: rtos_queue_peek_from_isr_failed: tstamp:196498839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6278.006174: rtos_queue_peek_from_isr_failed: tstamp:196503839417 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6278.118169: rtos_queue_peek_from_isr_failed: tstamp:196508839420 queue:0x0bcbcf78
 vi-output, ov56-11076 [001] ....  6278.134666: tegra_channel_capture_setup: vnc_id 0 W 1024 H 128 fmt 10
     kworker/0:3-10991 [000] ....  6278.174173: rtos_queue_send_from_isr_failed: tstamp:196509004378 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6278.174176: rtos_queue_send_from_isr_failed: tstamp:196509004539 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6278.174177: rtos_queue_send_from_isr_failed: tstamp:196509004702 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6278.174178: rtos_queue_send_from_isr_failed: tstamp:196509004859 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6278.174178: rtos_queue_send_from_isr_failed: tstamp:196509005016 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6278.174179: rtos_queue_send_from_isr_failed: tstamp:196509376935 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6278.174180: rtos_queue_send_from_isr_failed: tstamp:196509377096 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6278.174180: rtos_queue_send_from_isr_failed: tstamp:196509377258 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6278.174181: rtos_queue_send_from_isr_failed: tstamp:196509377414 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6278.174182: rtos_queue_send_from_isr_failed: tstamp:196509377571 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6278.174183: rtcpu_string: tstamp:196509384746 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:3-10991 [000] ....  6278.174202: rtcpu_string: tstamp:196509384938 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/0:3-10991 [000] ....  6278.174232: rtcpu_string: tstamp:196509385205 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/0:3-10991 [000] ....  6278.174237: rtcpu_string: tstamp:196509385479 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:3-10991 [000] ....  6278.174240: rtcpu_string: tstamp:196509385720 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:3-10991 [000] ....  6278.174244: rtcpu_string: tstamp:196509385961 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:3-10991 [000] ....  6278.174247: rtcpu_string: tstamp:196509386205 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:3-10991 [000] ....  6278.174250: rtos_queue_send_from_isr_failed: tstamp:196509389754 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6278.174251: rtos_queue_send_from_isr_failed: tstamp:196509389915 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6278.174252: rtos_queue_send_from_isr_failed: tstamp:196509390077 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6278.174252: rtos_queue_send_from_isr_failed: tstamp:196509390233 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6278.174253: rtos_queue_send_from_isr_failed: tstamp:196509390390 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6278.174255: rtcpu_vinotify_event: tstamp:196509629115 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:198036914240 data:0x10000000
     kworker/0:3-10991 [000] ....  6278.174256: rtcpu_vinotify_event: tstamp:196509629294 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:198036918112 data:0x31000001
     kworker/0:3-10991 [000] ....  6278.174256: rtcpu_vinotify_event: tstamp:196509629443 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:198036919104 data:0x07020001
     kworker/0:3-10991 [000] ....  6278.174273: rtcpu_vinotify_event: tstamp:196509629613 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:198036958560 data:0x10000000
     kworker/0:3-10991 [000] ....  6278.174273: rtcpu_vinotify_event: tstamp:196509629759 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:198036962432 data:0x31000002
     kworker/0:3-10991 [000] ....  6278.286165: rtos_queue_peek_from_isr_failed: tstamp:196513839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6278.454158: rtos_queue_peek_from_isr_failed: tstamp:196518839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6278.622142: rtos_queue_peek_from_isr_failed: tstamp:196523839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6278.790128: rtos_queue_peek_from_isr_failed: tstamp:196528839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6278.958124: rtos_queue_peek_from_isr_failed: tstamp:196533839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6279.126103: rtos_queue_peek_from_isr_failed: tstamp:196538839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6279.238100: rtos_queue_peek_from_isr_failed: tstamp:196543839422 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6279.406090: rtos_queue_peek_from_isr_failed: tstamp:196548839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6279.574090: rtos_queue_peek_from_isr_failed: tstamp:196553839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6279.742066: rtos_queue_peek_from_isr_failed: tstamp:196558839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6279.910058: rtos_queue_peek_from_isr_failed: tstamp:196563839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6280.078055: rtos_queue_peek_from_isr_failed: tstamp:196568839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6280.246048: rtos_queue_peek_from_isr_failed: tstamp:196573839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6280.358033: rtos_queue_peek_from_isr_failed: tstamp:196578839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6280.530026: rtos_queue_peek_from_isr_failed: tstamp:196583839418 queue:0x0bcbcf78
 vi-output, ov56-11076 [000] ....  6280.683791: tegra_channel_capture_setup: vnc_id 0 W 1024 H 128 fmt 10
     kworker/0:3-10991 [000] ....  6280.698020: rtos_queue_peek_from_isr_failed: tstamp:196588839416 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6280.698024: rtos_queue_send_from_isr_failed: tstamp:196588998836 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6280.698025: rtos_queue_send_from_isr_failed: tstamp:196588998997 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6280.698026: rtos_queue_send_from_isr_failed: tstamp:196588999159 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6280.698026: rtos_queue_send_from_isr_failed: tstamp:196588999316 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6280.698027: rtos_queue_send_from_isr_failed: tstamp:196588999473 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6280.698027: rtos_queue_send_from_isr_failed: tstamp:196589037888 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6280.698028: rtos_queue_send_from_isr_failed: tstamp:196589038050 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6280.698028: rtos_queue_send_from_isr_failed: tstamp:196589038211 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6280.698029: rtos_queue_send_from_isr_failed: tstamp:196589038368 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6280.698030: rtos_queue_send_from_isr_failed: tstamp:196589038525 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6280.698032: rtcpu_string: tstamp:196589045948 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:3-10991 [000] ....  6280.698080: rtcpu_string: tstamp:196589046140 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/0:3-10991 [000] ....  6280.698084: rtcpu_string: tstamp:196589046402 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/0:3-10991 [000] ....  6280.698088: rtcpu_string: tstamp:196589046678 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:3-10991 [000] ....  6280.698092: rtcpu_string: tstamp:196589046921 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:3-10991 [000] ....  6280.698095: rtcpu_string: tstamp:196589047163 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:3-10991 [000] ....  6280.698099: rtcpu_string: tstamp:196589047406 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:3-10991 [000] ....  6280.698121: rtos_queue_send_from_isr_failed: tstamp:196589057712 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6280.698121: rtos_queue_send_from_isr_failed: tstamp:196589057871 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6280.698122: rtos_queue_send_from_isr_failed: tstamp:196589058032 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6280.698123: rtos_queue_send_from_isr_failed: tstamp:196589058189 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6280.698123: rtos_queue_send_from_isr_failed: tstamp:196589058343 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6280.698125: rtcpu_vinotify_event: tstamp:196589132127 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:196291320960 data:0x10000000
     kworker/0:3-10991 [000] ....  6280.698126: rtcpu_vinotify_event: tstamp:196589132281 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:196291324832 data:0x31000001
     kworker/0:3-10991 [000] ....  6280.698127: rtcpu_vinotify_event: tstamp:196589132456 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:196291325824 data:0x07020001
     kworker/0:3-10991 [000] ....  6280.698127: rtcpu_vinotify_event: tstamp:196589132603 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:196291365280 data:0x10000000
     kworker/0:3-10991 [000] ....  6280.698128: rtcpu_vinotify_event: tstamp:196589132773 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:196291369152 data:0x31000002
     kworker/0:3-10991 [000] ....  6280.866009: rtos_queue_peek_from_isr_failed: tstamp:196593839413 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6281.034107: rtos_queue_peek_from_isr_failed: tstamp:196598839413 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6281.201982: rtos_queue_peek_from_isr_failed: tstamp:196603839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6281.369980: rtos_queue_peek_from_isr_failed: tstamp:196608839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6281.481968: rtos_queue_peek_from_isr_failed: tstamp:196613839420 queue:0x0bcbcf78
        v4l2-ctl-11074 [001] ....  6281.572914: tegra_channel_close: vi-output, ov5693 2-0036
     kworker/0:3-10991 [000] ....  6281.649958: rtos_queue_peek_from_isr_failed: tstamp:196618839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6281.817949: rtos_queue_peek_from_isr_failed: tstamp:196623839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6281.985947: rtos_queue_peek_from_isr_failed: tstamp:196628839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6282.153927: rtos_queue_peek_from_isr_failed: tstamp:196633839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6282.321919: rtos_queue_peek_from_isr_failed: tstamp:196638839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6282.489904: rtos_queue_peek_from_isr_failed: tstamp:196643839422 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6282.601904: rtos_queue_peek_from_isr_failed: tstamp:196648839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6282.769898: rtos_queue_peek_from_isr_failed: tstamp:196653839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6282.937878: rtos_queue_peek_from_isr_failed: tstamp:196658839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6283.105871: rtos_queue_peek_from_isr_failed: tstamp:196663839420 queue:0x0bcbcf78
 vi-output, ov56-11076 [000] ....  6283.211644: tegra_channel_capture_setup: vnc_id 0 W 1024 H 128 fmt 10
        v4l2-ctl-11074 [001] ....  6283.212133: tegra_channel_set_stream: enable : 0x0
        v4l2-ctl-11074 [001] ....  6283.212136: tegra_channel_set_stream: ov5693 2-0036 : 0x0
        v4l2-ctl-11074 [001] ....  6283.212153: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x0
        v4l2-ctl-11074 [001] ....  6283.212155: csi_s_stream: enable : 0x0
        v4l2-ctl-11074 [000] ....  6283.215659: tegra_channel_set_power: ov5693 2-0036 : 0x0
        v4l2-ctl-11074 [000] ....  6283.215667: camera_common_s_power: status : 0x0
     kworker/0:3-10991 [000] ....  6283.217874: rtos_queue_send_from_isr_failed: tstamp:196667993993 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6283.217876: rtos_queue_send_from_isr_failed: tstamp:196667994155 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6283.217877: rtos_queue_send_from_isr_failed: tstamp:196667994317 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6283.217877: rtos_queue_send_from_isr_failed: tstamp:196667994475 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6283.217878: rtos_queue_send_from_isr_failed: tstamp:196667994632 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6283.217878: rtos_queue_send_from_isr_failed: tstamp:196668033238 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6283.217879: rtos_queue_send_from_isr_failed: tstamp:196668033400 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6283.217880: rtos_queue_send_from_isr_failed: tstamp:196668033564 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6283.217880: rtos_queue_send_from_isr_failed: tstamp:196668033722 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6283.217881: rtos_queue_send_from_isr_failed: tstamp:196668033879 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6283.217883: rtcpu_string: tstamp:196668041061 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:3-10991 [000] ....  6283.217913: rtcpu_string: tstamp:196668041251 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
        v4l2-ctl-11074 [001] ....  6283.217917: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x0
     kworker/0:3-10991 [000] ....  6283.217918: rtcpu_string: tstamp:196668041516 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
        v4l2-ctl-11074 [001] ....  6283.217921: csi_s_power: enable : 0x0
     kworker/0:3-10991 [000] ....  6283.217922: rtcpu_string: tstamp:196668041794 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:3-10991 [000] ....  6283.217925: rtcpu_string: tstamp:196668042035 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:3-10991 [000] ....  6283.217928: rtcpu_string: tstamp:196668042294 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:3-10991 [000] ....  6283.217932: rtcpu_string: tstamp:196668042538 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:3-10991 [000] ....  6283.217935: rtos_queue_send_from_isr_failed: tstamp:196668051336 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6283.217936: rtos_queue_send_from_isr_failed: tstamp:196668051496 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6283.217936: rtos_queue_send_from_isr_failed: tstamp:196668051658 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6283.217937: rtos_queue_send_from_isr_failed: tstamp:196668051815 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6283.217937: rtos_queue_send_from_isr_failed: tstamp:196668051970 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6283.217938: rtos_queue_send_from_isr_failed: tstamp:196668094816 queue:0x0bcb41f8
     kworker/0:3-10991 [000] ....  6283.217939: rtos_queue_send_from_isr_failed: tstamp:196668094975 queue:0x0bcb8a60
     kworker/0:3-10991 [000] ....  6283.217939: rtos_queue_send_from_isr_failed: tstamp:196668095135 queue:0x0bcba5e0
     kworker/0:3-10991 [000] ....  6283.217941: rtos_queue_send_from_isr_failed: tstamp:196668095292 queue:0x0bcbb3a0
     kworker/0:3-10991 [000] ....  6283.217941: rtos_queue_send_from_isr_failed: tstamp:196668095449 queue:0x0bcbc160
     kworker/0:3-10991 [000] ....  6283.273862: rtos_queue_peek_from_isr_failed: tstamp:196668839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6283.441854: rtos_queue_peek_from_isr_failed: tstamp:196673839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6283.609843: rtos_queue_peek_from_isr_failed: tstamp:196678839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6283.721832: rtos_queue_peek_from_isr_failed: tstamp:196683839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6283.889835: rtos_queue_peek_from_isr_failed: tstamp:196688839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6284.057817: rtos_queue_peek_from_isr_failed: tstamp:196693839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6284.225812: rtos_queue_peek_from_isr_failed: tstamp:196698839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6284.393792: rtos_queue_peek_from_isr_failed: tstamp:196703839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6284.561787: rtos_queue_peek_from_isr_failed: tstamp:196708839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6284.729770: rtos_queue_peek_from_isr_failed: tstamp:196713839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6284.841769: rtos_queue_peek_from_isr_failed: tstamp:196718839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6285.009756: rtos_queue_peek_from_isr_failed: tstamp:196723839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6285.177746: rtos_queue_peek_from_isr_failed: tstamp:196728839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6285.349782: rtos_queue_peek_from_isr_failed: tstamp:196733839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6285.517722: rtos_queue_peek_from_isr_failed: tstamp:196738839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6285.685735: rtos_queue_peek_from_isr_failed: tstamp:196743839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6285.797708: rtos_queue_peek_from_isr_failed: tstamp:196748839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6285.965695: rtos_queue_peek_from_isr_failed: tstamp:196753839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6286.133687: rtos_queue_peek_from_isr_failed: tstamp:196758839422 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6286.301687: rtos_queue_peek_from_isr_failed: tstamp:196763839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6286.469664: rtos_queue_peek_from_isr_failed: tstamp:196768839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6286.637663: rtos_queue_peek_from_isr_failed: tstamp:196773839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6286.805646: rtos_queue_peek_from_isr_failed: tstamp:196778839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6286.917643: rtos_queue_peek_from_isr_failed: tstamp:196783839413 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6287.089630: rtos_queue_peek_from_isr_failed: tstamp:196788839416 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6287.257617: rtos_queue_peek_from_isr_failed: tstamp:196793839413 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6287.425614: rtos_queue_peek_from_isr_failed: tstamp:196798839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6287.593625: rtos_queue_peek_from_isr_failed: tstamp:196803839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6287.761586: rtos_queue_peek_from_isr_failed: tstamp:196808839421 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6287.929585: rtos_queue_peek_from_isr_failed: tstamp:196813839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6288.041573: rtos_queue_peek_from_isr_failed: tstamp:196818839418 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6288.209567: rtos_queue_peek_from_isr_failed: tstamp:196823839420 queue:0x0bcbcf78
     kworker/0:3-10991 [000] ....  6288.265556: rtos_queue_peek_from_isr_failed: tstamp:196824470611 queue:0x0bcbcf78

The trace tell didn’t receive any validate data from MIPI bus. Have a confirm with HW to check the port-index and bus-width, otherwise need to make sure the output signal match MIPI spec.

Thanks Shane,

I will look into the signal integrity.

Just to make sure,
If I am working with the following signals (4 CSI channels)

Then I should be using:

 port-index = <2>;
 bus-width = <4>;

Should be as below.

port-index=<4>;
bus-width=<4>;

Thanks!
I will give it a try, and report back.

Hi,

I have updated the dts to the correct port index, but still not getting any CSI signal (I can see in the oscilloscope the signals and clock are there).

Here is my tegra194-camera-e3326-a00.dtsi
My device is 4 lanes CSI2, connected to port_e:
Am I missing something in the DTS ?

/*
 * Copyright (c) 2015-2019, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/ {
	host1x {
		vi@15c10000 {
			num-channels = <1>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					e3326_vi_in0: endpoint {
						port-index = <4>;
						bus-width = <4>;
						remote-endpoint = <&e3326_csi_out0>;
					};
				};
			};
		};

		nvcsi@15a00000 {
			num-channels = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						e3326_csi_in0: endpoint@0 {
							port-index = <4>;
							bus-width = <4>;
							remote-endpoint = <&e3326_ov5693_out0>;
						};
					};
					port@1 {
						reg = <1>;
						e3326_csi_out0: endpoint@1 {
							remote-endpoint = <&e3326_vi_in0>;
						};
					};
				};
			};
		};
	};

	i2c@3180000 {
		ov5693_c@36 {
			compatible = "nvidia,ov5693";
			/* I2C device address */
			reg = <0x36>;

			/* V4L2 device node location */
			devnode = "video0";

			/* Physical dimensions of sensor */
			physical_w = "3.674";
			physical_h = "2.738";

			/* Define any required hw resources needed by driver */
			/* ie. clocks, io pins, power sources */
			avdd-reg = "vana";
			iovdd-reg = "vif";

			/* Sensor output flip settings */
			vertical-flip = "true";

			/**
			* A modeX node is required to support v4l2 driver
			* implementation with NVIDIA camera software stack
			*
			* mclk_khz = "";
			* Standard MIPI driving clock, typically 24MHz
			*
			* num_lanes = "";
			* Number of lane channels sensor is programmed to output
			*
			* tegra_sinterface = "";
			* The base tegra serial interface lanes are connected to
			* Incase of virtual HW devices, use virtual
			* For SW emulated devices, use host
			*
			* phy_mode = "";
			* PHY mode used by the MIPI lanes for this device
			*
			* discontinuous_clk = "";
			* The sensor is programmed to use a discontinuous clock on MIPI lanes
			*
			* dpcm_enable = "true";
			* The sensor is programmed to use a DPCM modes
			*
			* cil_settletime = "";
			* MIPI lane settle time value.
			* A "0" value attempts to autocalibrate based on mclk_multiplier
			*
			*
			*
			*
			* active_w = "";
			* Pixel active region width
			*
			* active_h = "";
			* Pixel active region height
			*
			* pixel_t = "";
			* The sensor readout pixel pattern
			*
			* readout_orientation = "0";
			* Based on camera module orientation.
			* Only change readout_orientation if you specifically
			* Program a different readout order for this mode
			*
			* line_length = "";
			* Pixel line length (width) for sensor mode.
			* This is used to calibrate features in our camera stack.
			*
			* mclk_multiplier = "";
			* Multiplier to MCLK to help time hardware capture sequence
			* TODO: Assign to PLL_Multiplier as well until fixed in core
			*
			* pix_clk_hz = "";
			* Sensor pixel clock used for calculations like exposure and framerate
			*
			*
			*
			*
			* inherent_gain = "";
			* Gain obtained inherently from mode (ie. pixel binning)
			*
			* == Source Control Settings ==
			*
			* Gain factor used to convert fixed point integer to float
			* Gain range [min_gain/gain_factor, max_gain/gain_factor]
			* Gain step [step_gain/gain_factor is the smallest step that can be configured]
			* Default gain [Default gain to be initialized for the control.
			*     use min_gain_val as default for optimal results]
			* Framerate factor used to convert fixed point integer to float
			* Framerate range [min_framerate/framerate_factor, max_framerate/framerate_factor]
			* Framerate step [step_framerate/framerate_factor is the smallest step that can be configured]
			* Default Framerate [Default framerate to be initialized for the control.
			*     use max_framerate to get required performance]
			* Exposure factor used to convert fixed point integer to float
			* For convenience use 1 sec = 1000000us as conversion factor
			* Exposure range [min_exp_time/exposure_factor, max_exp_time/exposure_factor]
			* Exposure step [step_exp_time/exposure_factor is the smallest step that can be configured]
			* Default Exposure Time [Default exposure to be initialized for the control.
			*     Set default exposure based on the default_framerate for optimal exposure settings]
			*
			* gain_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_gain_val = ""; (ceil to integer)
			* max_gain_val = ""; (ceil to integer)
			* step_gain_val = ""; (ceil to integer)
			* default_gain = ""; (ceil to integer)
			* Gain limits for mode
			*
			* exposure_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_exp_time = ""; (ceil to integer)
			* max_exp_time = ""; (ceil to integer)
			* step_exp_time = ""; (ceil to integer)
			* default_exp_time = ""; (ceil to integer)
			* Exposure Time limits for mode (us)
			*
			*
			* min_hdr_ratio = "";
			* max_hdr_ratio = "";
			* HDR Ratio limits for mode
			*
			* framerate_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_framerate = "";
			* max_framerate = "";
			* step_framerate = ""; (ceil to integer)
			* default_framerate = ""; (ceil to integer)
			* Framerate limits for mode (fps)
			*/
			mode0 { // OV5693_MODE_1024X128
				mclk_khz = "24000";
				num_lanes = "4";
				tegra_sinterface = "serial_e";
				phy_mode = "DPHY";
				discontinuous_clk = "yes";
				dpcm_enable = "false";
				cil_settletime = "0";

				active_w = "2048";
				active_h = "128";
				mode_type = "yuv";
				pixel_phase = "yuyv";
				csi_pixel_bit_depth = "16";
				readout_orientation = "0";
				line_length = "2048";
				inherent_gain = "1";
				mclk_multiplier = "6.67";
				pix_clk_hz = "160000000";	//"6600000";	//"160000000";

				gain_factor = "10";
				min_gain_val = "10";/* 1DB*/
				max_gain_val = "160";/* 16DB*/
				step_gain_val = "1";
				default_gain = "10";
				min_hdr_ratio = "1";
				max_hdr_ratio = "1";
				framerate_factor = "1000000";
				min_framerate = "1816577";/*1.816577 */
				max_framerate = "30000000";/*30*/
				step_framerate = "1";
				default_framerate = "30000000";
				exposure_factor = "1000000";
				min_exp_time = "34";/* us */
				max_exp_time = "550385";/* us */
				step_exp_time = "1";
				default_exp_time = "33334";/* us */
				embedded_metadata_height = "0";
			};

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
					e3326_ov5693_out0: endpoint {
						port-index = <4>;
						bus-width = <4>;
						remote-endpoint = <&e3326_csi_in0>;
					};
				};
			};
		};
	};

	e3326_lens_ov5693@P5V27C {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "2.67";
		f_number = "2.0";
		aperture = "2.0";
	};

	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		/**
		* Physical settings to calculate max ISO BW
		*
		* num_csi_lanes = <>;
		* Total number of CSI lanes when all cameras are active
		*
		* max_lane_speed = <>;
		* Max lane speed in Kbit/s
		*
		* min_bits_per_pixel = <>;
		* Min bits per pixel
		*
		* vi_peak_byte_per_pixel = <>;
		* Max byte per pixel for the VI ISO case
		*
		* vi_bw_margin_pct = <>;
		* Vi bandwidth margin in percentage
		*
		* max_pixel_rate = <>;
		* Max pixel rate in Kpixel/s for the ISP ISO case
		*
		* isp_peak_byte_per_pixel = <>;
		* Max byte per pixel for the ISP ISO case
		*
		* isp_bw_margin_pct = <>;
		* Isp bandwidth margin in percentage
		*/
		num_csi_lanes = <4>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <16>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		max_pixel_rate = <160000>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		/**
		* The general guideline for naming badge_info contains 3 parts, and is as follows,
		* The first part is the camera_board_id for the module; if the module is in a FFD
		* platform, then use the platform name for this part.
		* The second part contains the position of the module, ex. “rear” or “front”.
		* The third part contains the last 6 characters of a part number which is found
		* in the module's specsheet from the vender.
		*/
		modules {
			module0 {
				badge = "e3326_front_P5V27C";
				position = "rear";
				orientation = "1";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "ov5693 2-0036";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/ov5693_c@36";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/e3326_lens_ov5693@P5V27C/";
				};
			};
		};
	};
};

What do you mean CSI2?

CSI-2 Interface

OK, I got it. The configure is fine. May need to make sure the MIPI signal is match MIPI spec.