V4L2-ctl not able to captue video

Greetings All,

Myself and others have been working on trying to capture video from HDMI-to-CSI-2 bridge board that uses the tc358743 chip.

I2C communication seems to be working as I can see the HDMI input signal when I run v4l2-ctl --all

Driver Info (not using libv4l2):
	Driver name   : tegra-video
	Card type     : vi-output, tc358743 2-000f
	Bus info      : platform:15c10000.vi:0
	Driver version: 4.9.201
	Capabilities  : 0x84200001
		Video Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Priority: 2
Video input : 0 (HDMI 0: ok)
DV timings:
	Active width: 1280
	Active height: 720
	Total width: 1650
	Total height: 750
	Frame format: progressive
	Polarities: -vsync -hsync
	Pixelclock: 75487500 Hz (61.00 frames per second)
	Horizontal frontporch: 0
	Horizontal sync: 370
	Horizontal backporch: 0
	Vertical frontporch: 0
	Vertical sync: 30
	Vertical backporch: 0
	Standards: 
	Flags: 
DV timings capabilities:
	Minimum Width: 1
	Maximum Width: 10000
	Minimum Height: 1
	Maximum Height: 10000
	Minimum PClock: 0
	Maximum PClock: 165000000
	Standards: CTA-861, DMT, CVT, GTF
	Capabilities: Progressive, Reduced Blanking, Custom Formats
Format Video Capture:
	Width/Height      : 1280/720
	Pixel Format      : 'UYVY'
	Field             : None
	Bytes per Line    : 2560
	Size Image        : 1843200
	Colorspace        : SMPTE 170M
	Transfer Function : Default (maps to Rec. 709)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Limited Range)
	Flags             : 

User Controls

            audio_sampling_rate 0x00981980 (int)    : min=0 max=768000 step=1 default=0 value=48000 flags=read-only
                  audio_present 0x00981981 (bool)   : default=0 value=0 flags=read-only

Camera Controls

           sensor_configuration 0x009a2032 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, volatile, has-payload
         sensor_mode_i2c_packet 0x009a2033 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, volatile, has-payload
      sensor_control_i2c_packet 0x009a2034 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, volatile, has-payload
                    bypass_mode 0x009a2064 (intmenu): min=0 max=1 default=0 value=0
                override_enable 0x009a2065 (intmenu): min=0 max=1 default=0 value=0
                   height_align 0x009a2066 (int)    : min=1 max=16 step=1 default=1 value=1
                     size_align 0x009a2067 (intmenu): min=0 max=2 default=0 value=0
               write_isp_format 0x009a2068 (int)    : min=1 max=1 step=1 default=1 value=1
       sensor_signal_properties 0x009a2069 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
        sensor_image_properties 0x009a206a (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
      sensor_control_properties 0x009a206b (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
              sensor_dv_timings 0x009a206c (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
               low_latency_mode 0x009a206d (bool)   : default=0 value=0
               preferred_stride 0x009a206e (int)    : min=0 max=65535 step=1 default=0 value=0
                   sensor_modes 0x009a2082 (int)    : min=0 max=30 step=1 default=30 value=30 flags=read-only

Digital Video Controls

                  power_present 0x00a00964 (bitmask): max=0x00000001 default=0x00000000 value=0x00000000 flags=read-only

The CSI to VI mappings seem to be setup as I can see them when I run media-ctl -p -d /dev/media0

Media controller API version 0.1.0

Media device information
------------------------
driver          tegra194-vi5
model           NVIDIA Tegra Video Input Device
serial          
bus info        
hw revision     0x3
driver version  0.0.0

Device topology
- entity 1: 15a00000.nvcsi--1 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
	pad0: Sink
		<- "tc358743 2-000f":0 [ENABLED]
	pad1: Source
		-> "vi-output, tc358743 2-000f":0 [ENABLED]

- entity 4: tc358743 2-000f (1 pad, 1 link)
            type V4L2 subdev subtype Sensor flags 0
            device node name /dev/v4l-subdev1
	pad0: Source
		[fmt:UYVY8_1X16/1280x720 field:none colorspace:smpte170m]
		[dv.caps:BT.656/1120 min:1x1@0 max:10000x10000@165000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
		[dv.detect:BT.656/1120 1280x720p60 (1650x750) stds: flags:]
		[dv.current:BT.656/1120 1280x720p61 (1650x750) stds: flags:]
		-> "15a00000.nvcsi--1":0 [ENABLED]

- entity 6: vi-output, tc358743 2-000f (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
	pad0: Sink
		<- "15a00000.nvcsi--1":1 [ENABLED]

When I run the following v4l2 command to capture I get a “tegra194-vi5 15c10000.vi: no reply from camera processor” error ( see dmesg logs below)

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=720 --stream-mmap --stream-count=1 --set-ctrl bypass_mode=0 --stream-skip=20 --stream-to=video.raw

dmesg log

[95917.345983] tc358743 2-000f: Calling tc358743_s_stream
[95917.346112] tc358743 2-000f: enable_stream: enable
[95917.347722] tc358743 2-000f: 792:enable_stream: end
[95917.348331] tc358743 2-000f: -----Chip status-----
[95917.348588] tc358743 2-000f: Chip ID:0x00
[95917.348813] tc358743 2-000f: Chip revision:0x00
[95917.348819] tc358743 2-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[95917.348824] tc358743 2-000f: Sleep mode: off
[95917.348828] tc358743 2-000f: Cable detected (+5V power): yes
[95917.349019] tc358743 2-000f: DDC lines enabled: yes
[95917.349221] tc358743 2-000f: Hotplug enabled: yes
[95917.349436] tc358743 2-000f: CEC enabled: no
[95917.349441] tc358743 2-000f: -----Signal status-----
[95917.349445] tc358743 2-000f: TMDS signal detected: yes
[95917.349449] tc358743 2-000f: Stable sync signal: yes
[95917.349454] tc358743 2-000f: PHY PLL locked: yes
[95917.349458] tc358743 2-000f: PHY DE detected: yes
[95917.352498] tc358743 2-000f: 495:tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0
[95917.352512] tc358743 2-000f: Detected format: 1280x720p61.0 (1650x750)
[95917.352519] tc358743 2-000f: horizontal: fp = 0, -sync = 370, bp = 0
[95917.352524] tc358743 2-000f: vertical: fp = 0, -sync = 30, bp = 0
[95917.352531] tc358743 2-000f: pixelclock: 75487500
[95917.352539] tc358743 2-000f: flags (0x0):
[95917.352545] tc358743 2-000f: standards (0x0):
[95917.352551] tc358743 2-000f: Configured format: 1280x720p60.0 (1650x750)
[95917.352556] tc358743 2-000f: horizontal: fp = 0, -sync = 370, bp = 0
[95917.352561] tc358743 2-000f: vertical: fp = 0, -sync = 30, bp = 0
[95917.352566] tc358743 2-000f: pixelclock: 74250000
[95917.352572] tc358743 2-000f: flags (0x0):
[95917.352577] tc358743 2-000f: standards (0x0):
[95917.352581] tc358743 2-000f: -----CSI-TX status-----
[95917.352586] tc358743 2-000f: Lanes needed: 2
[95917.352847] tc358743 2-000f: Lanes in use: 2
[95917.353058] tc358743 2-000f: Waiting for particular sync signal: no
[95917.353267] tc358743 2-000f: Transmit mode: yes
[95917.353476] tc358743 2-000f: Receive mode: no
[95917.353695] tc358743 2-000f: Stopped: no
[95917.353700] tc358743 2-000f: Color space: YCbCr 422 16-bit
[95917.353883] tc358743 2-000f: -----DVI-D status-----
[95917.353888] tc358743 2-000f: HDCP encrypted content: no
[95917.353893] tc358743 2-000f: Input color space: RGB full range
[95917.354628] [RCE] Configuring VI GoS.
[95917.354644] [RCE] VM GOS[#0] addr=0xc2100000
[95917.354654] [RCE] VM GOS[#1] addr=0xc2101000
[95917.354699] [RCE] VM GOS[#2] addr=0xc2102000
[95917.354708] [RCE] VM GOS[#3] addr=0xc2103000
[95917.354717] [RCE] VM GOS[#4] addr=0xc2104000
[95917.354726] [RCE] VM GOS[#5] addr=0xc2105000
[95917.354736] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[95917.354752] [RCE] VI GOS[#0] set to VM GOS[4] base 0xc2104000
[95919.958579] tegra194-vi5 15c10000.vi: no reply from camera processor
[95919.958754] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[95919.958895] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[95919.960830] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel

Setting up trace logs to capture more info with the following commands gives me these logs below.

echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 2 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
echo > /sys/kernel/debug/tracing/trace

cat /sys/kernel/debug/tracing/trace

# tracer: nop
#
# entries-in-buffer/entries-written: 253/253   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/1:2-12551 [001] .... 95884.930576: rtos_queue_peek_from_isr_failed: tstamp:2996874233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95885.098570: rtos_queue_peek_from_isr_failed: tstamp:2996879233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95885.210566: rtos_queue_peek_from_isr_failed: tstamp:2996884233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95885.378568: rtos_queue_peek_from_isr_failed: tstamp:2996889233893 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95885.546568: rtos_queue_peek_from_isr_failed: tstamp:2996894233893 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95885.714568: rtos_queue_peek_from_isr_failed: tstamp:2996899233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95885.882564: rtos_queue_peek_from_isr_failed: tstamp:2996904233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95886.050567: rtos_queue_peek_from_isr_failed: tstamp:2996909233897 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95886.218587: rtos_queue_peek_from_isr_failed: tstamp:2996914233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95886.330567: rtos_queue_peek_from_isr_failed: tstamp:2996919233895 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95886.498574: rtos_queue_peek_from_isr_failed: tstamp:2996924233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95886.666573: rtos_queue_peek_from_isr_failed: tstamp:2996929233894 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95886.834565: rtos_queue_peek_from_isr_failed: tstamp:2996934233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95887.002566: rtos_queue_peek_from_isr_failed: tstamp:2996939233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95887.170569: rtos_queue_peek_from_isr_failed: tstamp:2996944233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95887.338576: rtos_queue_peek_from_isr_failed: tstamp:2996949233895 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95887.450576: rtos_queue_peek_from_isr_failed: tstamp:2996954233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95887.618578: rtos_queue_peek_from_isr_failed: tstamp:2996959233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95887.786578: rtos_queue_peek_from_isr_failed: tstamp:2996964233889 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95887.954585: rtos_queue_peek_from_isr_failed: tstamp:2996969233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95888.122588: rtos_queue_peek_from_isr_failed: tstamp:2996974233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95888.290581: rtos_queue_peek_from_isr_failed: tstamp:2996979233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95888.458581: rtos_queue_peek_from_isr_failed: tstamp:2996984233893 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95888.570570: rtos_queue_peek_from_isr_failed: tstamp:2996989233894 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95888.738571: rtos_queue_peek_from_isr_failed: tstamp:2996994233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95888.906585: rtos_queue_peek_from_isr_failed: tstamp:2996999233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95889.074590: rtos_queue_peek_from_isr_failed: tstamp:2997004233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95889.242568: rtos_queue_peek_from_isr_failed: tstamp:2997009233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95889.410578: rtos_queue_peek_from_isr_failed: tstamp:2997014233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95889.578588: rtos_queue_peek_from_isr_failed: tstamp:2997019233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95889.690579: rtos_queue_peek_from_isr_failed: tstamp:2997024233890 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95889.858567: rtos_queue_peek_from_isr_failed: tstamp:2997029233894 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95890.026568: rtos_queue_peek_from_isr_failed: tstamp:2997034233895 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95890.194564: rtos_queue_peek_from_isr_failed: tstamp:2997039233891 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95890.306578: rtos_queue_peek_from_isr_failed: tstamp:2997042322068 queue:0x0bcbcf78
        v4l2-ctl-14946 [003] .... 95917.316989: tegra_channel_open: vi-output, tc358743 2-000f
        v4l2-ctl-14946 [000] .... 95917.318424: tegra_channel_set_power: tc358743 2-000f : 0x1
        v4l2-ctl-14946 [000] .... 95917.318430: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-14946 [000] .... 95917.318433: csi_s_power: enable : 0x1
        v4l2-ctl-14946 [000] .... 95917.338215: tegra_channel_capture_setup: vnc_id 0 W 1280 H 720 fmt 13
        v4l2-ctl-14946 [003] .... 95917.342431: tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-14946 [000] .... 95917.345950: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-14946 [000] .... 95917.345955: csi_s_stream: enable : 0x1
        v4l2-ctl-14946 [000] .... 95917.345966: tegra_channel_set_stream: tc358743 2-000f : 0x1
     kworker/1:2-12551 [001] .... 95917.354595: rtos_queue_peek_from_isr_failed: tstamp:2997888524638 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95917.354601: rtcpu_start: tstamp:2997888526517
     kworker/1:2-12551 [001] .... 95917.354604: rtos_queue_send_from_isr_failed: tstamp:2997888540003 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95917.354605: rtos_queue_send_from_isr_failed: tstamp:2997888540153 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95917.354606: rtos_queue_send_from_isr_failed: tstamp:2997888540304 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95917.354607: rtos_queue_send_from_isr_failed: tstamp:2997888540451 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95917.354609: rtos_queue_send_from_isr_failed: tstamp:2997888540599 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95917.354611: rtcpu_string: tstamp:2997888541031 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/1:2-12551 [001] .... 95917.354635: rtcpu_string: tstamp:2997888541209 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/1:2-12551 [001] .... 95917.354648: rtcpu_string: tstamp:2997888541464 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/1:2-12551 [001] .... 95917.354658: rtcpu_string: tstamp:2997888541735 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/1:2-12551 [001] .... 95917.354703: rtcpu_string: tstamp:2997888541967 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/1:2-12551 [001] .... 95917.354712: rtcpu_string: tstamp:2997888542199 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/1:2-12551 [001] .... 95917.354721: rtcpu_string: tstamp:2997888542430 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/1:2-12551 [001] .... 95917.354729: rtcpu_string: tstamp:2997888551115 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol vers"
     kworker/1:2-12551 [001] .... 95917.354731: rtcpu_string: tstamp:2997888551233 id:0x04010000 str:"on 2.2
"
     kworker/1:2-12551 [001] .... 95917.354740: rtos_queue_send_from_isr_failed: tstamp:2997888563807 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95917.354742: rtos_queue_send_from_isr_failed: tstamp:2997888563976 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95917.354743: rtos_queue_send_from_isr_failed: tstamp:2997888564130 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95917.354744: rtos_queue_send_from_isr_failed: tstamp:2997888564274 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95917.354745: rtos_queue_send_from_isr_failed: tstamp:2997888564419 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95917.354746: rtcpu_string: tstamp:2997888565292 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000
"
     kworker/1:2-12551 [001] .... 95917.354755: rtos_queue_send_from_isr_failed: tstamp:2997888677566 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95917.354757: rtos_queue_send_from_isr_failed: tstamp:2997888677715 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95917.354758: rtos_queue_send_from_isr_failed: tstamp:2997888677868 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95917.354759: rtos_queue_send_from_isr_failed: tstamp:2997888678015 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95917.354760: rtos_queue_send_from_isr_failed: tstamp:2997888678160 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95917.354762: rtcpu_nvcsi_intr: tstamp:2997888730725 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000110
     kworker/1:2-12551 [001] .... 95917.354764: rtcpu_nvcsi_intr: tstamp:2997888730725 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000110
     kworker/1:2-12551 [001] .... 95917.410572: rtcpu_vinotify_event: tstamp:2997889095442 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2997931776000 data:0x10000000
     kworker/1:2-12551 [001] .... 95917.410575: rtcpu_vinotify_event: tstamp:2997889095582 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2997931784320 data:0x31000001
     kworker/1:2-12551 [001] .... 95917.410576: rtcpu_vinotify_event: tstamp:2997889095743 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:2997931786496 data:0x07020001
     kworker/1:2-12551 [001] .... 95917.410578: rtcpu_vinotify_event: tstamp:2997889095878 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2997931820352 data:0x10000000
     kworker/1:2-12551 [001] .... 95917.410579: rtcpu_vinotify_event: tstamp:2997889096035 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2997931828768 data:0x31000002
     kworker/1:2-12551 [001] .... 95917.522576: rtos_queue_peek_from_isr_failed: tstamp:2997893524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95917.690568: rtos_queue_peek_from_isr_failed: tstamp:2997898524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95917.858568: rtos_queue_peek_from_isr_failed: tstamp:2997903524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95918.026563: rtos_queue_peek_from_isr_failed: tstamp:2997908524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95918.194568: rtos_queue_peek_from_isr_failed: tstamp:2997913524979 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95918.306577: rtos_queue_peek_from_isr_failed: tstamp:2997918524986 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95918.474573: rtos_queue_peek_from_isr_failed: tstamp:2997923524986 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95918.642566: rtos_queue_peek_from_isr_failed: tstamp:2997928524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95918.810566: rtos_queue_peek_from_isr_failed: tstamp:2997933524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95918.978568: rtos_queue_peek_from_isr_failed: tstamp:2997938524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95919.146575: rtos_queue_peek_from_isr_failed: tstamp:2997943524988 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95919.314566: rtos_queue_peek_from_isr_failed: tstamp:2997948524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95919.426571: rtos_queue_peek_from_isr_failed: tstamp:2997953524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95919.594566: rtos_queue_peek_from_isr_failed: tstamp:2997958524987 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95919.762567: rtos_queue_peek_from_isr_failed: tstamp:2997963524987 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95919.930565: rtos_queue_peek_from_isr_failed: tstamp:2997968524987 queue:0x0bcbcf78
 vi-output, tc35-14948 [001] .... 95919.960508: tegra_channel_capture_setup: vnc_id 0 W 1280 H 720 fmt 13
     kworker/1:2-12551 [001] .... 95919.986577: rtos_queue_send_from_isr_failed: tstamp:2997970336216 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95919.986580: rtos_queue_send_from_isr_failed: tstamp:2997970336369 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95919.986581: rtos_queue_send_from_isr_failed: tstamp:2997970336522 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95919.986583: rtos_queue_send_from_isr_failed: tstamp:2997970336669 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95919.986584: rtos_queue_send_from_isr_failed: tstamp:2997970336814 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95919.986585: rtos_queue_send_from_isr_failed: tstamp:2997970379977 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95919.986586: rtos_queue_send_from_isr_failed: tstamp:2997970380143 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95919.986587: rtos_queue_send_from_isr_failed: tstamp:2997970380293 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95919.986588: rtos_queue_send_from_isr_failed: tstamp:2997970380440 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95919.986589: rtos_queue_send_from_isr_failed: tstamp:2997970380586 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95919.986592: rtcpu_string: tstamp:2997970386850 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/1:2-12551 [001] .... 95919.986616: rtcpu_string: tstamp:2997970387046 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/1:2-12551 [001] .... 95919.986653: rtcpu_string: tstamp:2997970387301 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/1:2-12551 [001] .... 95919.986662: rtcpu_string: tstamp:2997970387566 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/1:2-12551 [001] .... 95919.986671: rtcpu_string: tstamp:2997970387798 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/1:2-12551 [001] .... 95919.986679: rtcpu_string: tstamp:2997970388032 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/1:2-12551 [001] .... 95919.986689: rtcpu_string: tstamp:2997970388264 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/1:2-12551 [001] .... 95919.986698: rtos_queue_send_from_isr_failed: tstamp:2997970392291 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95919.986699: rtos_queue_send_from_isr_failed: tstamp:2997970392443 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95919.986700: rtos_queue_send_from_isr_failed: tstamp:2997970392593 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95919.986701: rtos_queue_send_from_isr_failed: tstamp:2997970392740 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95919.986703: rtos_queue_send_from_isr_failed: tstamp:2997970392885 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95919.986705: rtcpu_vinotify_event: tstamp:2997970476386 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2996255380160 data:0x10000000
     kworker/1:2-12551 [001] .... 95919.986706: rtcpu_vinotify_event: tstamp:2997970476572 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2996255417216 data:0x31000001
     kworker/1:2-12551 [001] .... 95919.986708: rtcpu_vinotify_event: tstamp:2997970476713 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2996255427328 data:0x10000000
     kworker/1:2-12551 [001] .... 95919.986736: rtcpu_vinotify_event: tstamp:2997970476870 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:2996255435776 data:0x07020001
     kworker/1:2-12551 [001] .... 95919.986738: rtcpu_vinotify_event: tstamp:2997970477016 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2996255466240 data:0x31000002
     kworker/1:2-12551 [001] .... 95920.098619: rtos_queue_peek_from_isr_failed: tstamp:2997973524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95920.266575: rtos_queue_peek_from_isr_failed: tstamp:2997978524987 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95920.434575: rtos_queue_peek_from_isr_failed: tstamp:2997983524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95920.546574: rtos_queue_peek_from_isr_failed: tstamp:2997988524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95920.714565: rtos_queue_peek_from_isr_failed: tstamp:2997993524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95920.882568: rtos_queue_peek_from_isr_failed: tstamp:2997998524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95921.050575: rtos_queue_peek_from_isr_failed: tstamp:2998003524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95921.218568: rtos_queue_peek_from_isr_failed: tstamp:2998008524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95921.386608: rtos_queue_peek_from_isr_failed: tstamp:2998013524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95921.554568: rtos_queue_peek_from_isr_failed: tstamp:2998018524987 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95921.666578: rtos_queue_peek_from_isr_failed: tstamp:2998023524987 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95921.834567: rtos_queue_peek_from_isr_failed: tstamp:2998028524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95922.002567: rtos_queue_peek_from_isr_failed: tstamp:2998033524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95922.170566: rtos_queue_peek_from_isr_failed: tstamp:2998038524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95922.338565: rtos_queue_peek_from_isr_failed: tstamp:2998043524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95922.506568: rtos_queue_peek_from_isr_failed: tstamp:2998048524987 queue:0x0bcbcf78
 vi-output, tc35-14948 [001] .... 95922.521989: tegra_channel_capture_setup: vnc_id 0 W 1280 H 720 fmt 13
     kworker/1:2-12551 [001] .... 95922.562577: rtos_queue_send_from_isr_failed: tstamp:2998050337155 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95922.562580: rtos_queue_send_from_isr_failed: tstamp:2998050337310 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95922.562581: rtos_queue_send_from_isr_failed: tstamp:2998050337465 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95922.562582: rtos_queue_send_from_isr_failed: tstamp:2998050337612 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95922.562584: rtos_queue_send_from_isr_failed: tstamp:2998050337759 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95922.562585: rtos_queue_send_from_isr_failed: tstamp:2998050426205 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95922.562586: rtos_queue_send_from_isr_failed: tstamp:2998050426355 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95922.562587: rtos_queue_send_from_isr_failed: tstamp:2998050426507 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95922.562588: rtos_queue_send_from_isr_failed: tstamp:2998050426653 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95922.562589: rtos_queue_send_from_isr_failed: tstamp:2998050426800 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95922.562592: rtcpu_string: tstamp:2998050433152 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/1:2-12551 [001] .... 95922.562639: rtcpu_string: tstamp:2998050433348 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/1:2-12551 [001] .... 95922.562658: rtcpu_string: tstamp:2998050433602 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/1:2-12551 [001] .... 95922.562668: rtcpu_string: tstamp:2998050433866 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/1:2-12551 [001] .... 95922.562675: rtcpu_string: tstamp:2998050434099 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/1:2-12551 [001] .... 95922.562681: rtcpu_string: tstamp:2998050434331 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/1:2-12551 [001] .... 95922.562693: rtcpu_string: tstamp:2998050434563 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/1:2-12551 [001] .... 95922.562699: rtos_queue_send_from_isr_failed: tstamp:2998050437189 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95922.562700: rtos_queue_send_from_isr_failed: tstamp:2998050437339 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95922.562702: rtos_queue_send_from_isr_failed: tstamp:2998050437491 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95922.562703: rtos_queue_send_from_isr_failed: tstamp:2998050437636 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95922.562704: rtos_queue_send_from_isr_failed: tstamp:2998050437782 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95922.562706: rtcpu_vinotify_event: tstamp:2998050772981 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2998816831008 data:0x10000000
     kworker/1:2-12551 [001] .... 95922.562708: rtcpu_vinotify_event: tstamp:2998050773125 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2998816860416 data:0x31000001
     kworker/1:2-12551 [001] .... 95922.562709: rtcpu_vinotify_event: tstamp:2998050773287 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2998816870560 data:0x10000000
     kworker/1:2-12551 [001] .... 95922.562710: rtcpu_vinotify_event: tstamp:2998050773422 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:2998816879008 data:0x07020001
     kworker/1:2-12551 [001] .... 95922.562711: rtcpu_vinotify_event: tstamp:2998050773579 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:2998816911488 data:0x31000002
     kworker/1:2-12551 [001] .... 95922.674578: rtos_queue_peek_from_isr_failed: tstamp:2998053524987 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95922.786570: rtos_queue_peek_from_isr_failed: tstamp:2998058524986 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95922.954564: rtos_queue_peek_from_isr_failed: tstamp:2998063524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95923.122568: rtos_queue_peek_from_isr_failed: tstamp:2998068524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95923.290613: rtos_queue_peek_from_isr_failed: tstamp:2998073524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95923.458626: rtos_queue_peek_from_isr_failed: tstamp:2998078524983 queue:0x0bcbcf78
        v4l2-ctl-14946 [001] .... 95923.574407: tegra_channel_close: vi-output, tc358743 2-000f
     kworker/1:2-12551 [001] .... 95923.626577: rtos_queue_peek_from_isr_failed: tstamp:2998083524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95923.794567: rtos_queue_peek_from_isr_failed: tstamp:2998088524987 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95923.906569: rtos_queue_peek_from_isr_failed: tstamp:2998093524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95924.074598: rtos_queue_peek_from_isr_failed: tstamp:2998098524979 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95924.242569: rtos_queue_peek_from_isr_failed: tstamp:2998103524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95924.410609: rtos_queue_peek_from_isr_failed: tstamp:2998108524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95924.578565: rtos_queue_peek_from_isr_failed: tstamp:2998113524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95924.746575: rtos_queue_peek_from_isr_failed: tstamp:2998118524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95924.914576: rtos_queue_peek_from_isr_failed: tstamp:2998123524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95925.026565: rtos_queue_peek_from_isr_failed: tstamp:2998128524983 queue:0x0bcbcf78
 vi-output, tc35-14948 [000] .... 95925.049373: tegra_channel_capture_setup: vnc_id 0 W 1280 H 720 fmt 13
        v4l2-ctl-14946 [000] .... 95925.049850: tegra_channel_set_stream: enable : 0x0
        v4l2-ctl-14946 [000] .... 95925.049854: tegra_channel_set_stream: tc358743 2-000f : 0x0
        v4l2-ctl-14946 [000] .... 95925.057471: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x0
        v4l2-ctl-14946 [000] .... 95925.057476: csi_s_stream: enable : 0x0
        v4l2-ctl-14946 [000] .... 95925.063738: tegra_channel_set_power: tc358743 2-000f : 0x0
        v4l2-ctl-14946 [000] .... 95925.063742: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x0
        v4l2-ctl-14946 [000] .... 95925.063744: csi_s_power: enable : 0x0
     kworker/1:2-12551 [001] .... 95925.082649: rtos_queue_send_from_isr_failed: tstamp:2998129337460 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95925.082652: rtos_queue_send_from_isr_failed: tstamp:2998129337610 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95925.082653: rtos_queue_send_from_isr_failed: tstamp:2998129337765 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95925.082654: rtos_queue_send_from_isr_failed: tstamp:2998129337914 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95925.082656: rtos_queue_send_from_isr_failed: tstamp:2998129338060 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95925.082657: rtos_queue_send_from_isr_failed: tstamp:2998129406927 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95925.082658: rtos_queue_send_from_isr_failed: tstamp:2998129407076 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95925.082688: rtos_queue_send_from_isr_failed: tstamp:2998129407227 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95925.082690: rtos_queue_send_from_isr_failed: tstamp:2998129407374 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95925.082691: rtos_queue_send_from_isr_failed: tstamp:2998129407522 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95925.082693: rtcpu_string: tstamp:2998129413824 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/1:2-12551 [001] .... 95925.082719: rtcpu_string: tstamp:2998129414017 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/1:2-12551 [001] .... 95925.082730: rtcpu_string: tstamp:2998129414273 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/1:2-12551 [001] .... 95925.082738: rtcpu_string: tstamp:2998129414537 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/1:2-12551 [001] .... 95925.082746: rtcpu_string: tstamp:2998129414769 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/1:2-12551 [001] .... 95925.082755: rtcpu_string: tstamp:2998129415000 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/1:2-12551 [001] .... 95925.082763: rtcpu_string: tstamp:2998129415231 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/1:2-12551 [001] .... 95925.082772: rtcpu_nvcsi_intr: tstamp:2998129434458 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000110
     kworker/1:2-12551 [001] .... 95925.082774: rtcpu_nvcsi_intr: tstamp:2998129434458 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000110
     kworker/1:2-12551 [001] .... 95925.082802: rtos_queue_send_from_isr_failed: tstamp:2998129662496 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95925.082803: rtos_queue_send_from_isr_failed: tstamp:2998129662648 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95925.082804: rtos_queue_send_from_isr_failed: tstamp:2998129662798 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95925.082806: rtos_queue_send_from_isr_failed: tstamp:2998129662946 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95925.082807: rtos_queue_send_from_isr_failed: tstamp:2998129663091 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95925.082808: rtos_queue_send_from_isr_failed: tstamp:2998129757106 queue:0x0bcb41f8
     kworker/1:2-12551 [001] .... 95925.082809: rtos_queue_send_from_isr_failed: tstamp:2998129757255 queue:0x0bcb8a60
     kworker/1:2-12551 [001] .... 95925.082810: rtos_queue_send_from_isr_failed: tstamp:2998129757404 queue:0x0bcba5e0
     kworker/1:2-12551 [001] .... 95925.082811: rtos_queue_send_from_isr_failed: tstamp:2998129757551 queue:0x0bcbb3a0
     kworker/1:2-12551 [001] .... 95925.082812: rtos_queue_send_from_isr_failed: tstamp:2998129757697 queue:0x0bcbc160
     kworker/1:2-12551 [001] .... 95925.194588: rtos_queue_peek_from_isr_failed: tstamp:2998133524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95925.362568: rtos_queue_peek_from_isr_failed: tstamp:2998138524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95925.530574: rtos_queue_peek_from_isr_failed: tstamp:2998143524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95925.698587: rtos_queue_peek_from_isr_failed: tstamp:2998148524978 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95925.866582: rtos_queue_peek_from_isr_failed: tstamp:2998153524986 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95926.034575: rtos_queue_peek_from_isr_failed: tstamp:2998158524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95926.146566: rtos_queue_peek_from_isr_failed: tstamp:2998163524986 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95926.314578: rtos_queue_peek_from_isr_failed: tstamp:2998168524981 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95926.482580: rtos_queue_peek_from_isr_failed: tstamp:2998173524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95926.650585: rtos_queue_peek_from_isr_failed: tstamp:2998178524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95926.818575: rtos_queue_peek_from_isr_failed: tstamp:2998183524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95926.986577: rtos_queue_peek_from_isr_failed: tstamp:2998188524978 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95927.154577: rtos_queue_peek_from_isr_failed: tstamp:2998193524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95927.266573: rtos_queue_peek_from_isr_failed: tstamp:2998198524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95927.434578: rtos_queue_peek_from_isr_failed: tstamp:2998203524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95927.602583: rtos_queue_peek_from_isr_failed: tstamp:2998208524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95927.770575: rtos_queue_peek_from_isr_failed: tstamp:2998213524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95927.938565: rtos_queue_peek_from_isr_failed: tstamp:2998218524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95928.106574: rtos_queue_peek_from_isr_failed: tstamp:2998223524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95928.274588: rtos_queue_peek_from_isr_failed: tstamp:2998228524987 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95928.386569: rtos_queue_peek_from_isr_failed: tstamp:2998233524983 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95928.554579: rtos_queue_peek_from_isr_failed: tstamp:2998238524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95928.722571: rtos_queue_peek_from_isr_failed: tstamp:2998243524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95928.890567: rtos_queue_peek_from_isr_failed: tstamp:2998248524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95929.058587: rtos_queue_peek_from_isr_failed: tstamp:2998253524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95929.226575: rtos_queue_peek_from_isr_failed: tstamp:2998258524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95929.394583: rtos_queue_peek_from_isr_failed: tstamp:2998263524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95929.506607: rtos_queue_peek_from_isr_failed: tstamp:2998268524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95929.674616: rtos_queue_peek_from_isr_failed: tstamp:2998273524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95929.842616: rtos_queue_peek_from_isr_failed: tstamp:2998278524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95930.010586: rtos_queue_peek_from_isr_failed: tstamp:2998283524982 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95930.178568: rtos_queue_peek_from_isr_failed: tstamp:2998288524985 queue:0x0bcbcf78
     kworker/1:2-12551 [001] .... 95930.234573: rtos_queue_peek_from_isr_failed: tstamp:2998290322232 queue:0x0bcbcf78

There have been threads suggesting to make sure the csi to vi mappings are correct in the device tree (DT). Not sure how to go about doing this? Is media-ctl the right tool to ensure it’s setup correctly?

Current dsti file. ( Excuse mess )

#include <dt-bindings/media/camera.h>
#include <dt-bindings/gpio/tegra194-gpio.h>
#include <dt-bindings/clock/tegra194-clock.h>

#define CAM0_PWDN	TEGRA194_MAIN_GPIO(P, 4)
#define CAM1_PWDN	TEGRA194_MAIN_GPIO(P, 5)
#define CAM_I2C_MUX 	TEGRA194_AON_GPIO(CC, 3)



/{
    host1x {
        gpio: gpio@2200000{
                #gpio-cells = <2>;
            camera-control-output-low {
                gpio-hog;
                output-low;
                gpios = < CAM0_PWDN 0 >;
                label = "cam0-pwdn";
            };
        };

        vi@15c10000  {
            num-channels = <1>;
            ports {
                #address-cells = <1>;
                #size-cells = <0>;
                tc358743_vi_port2: port@0 {
                    status = "okay";
                    reg = <0>;
                    tc358743_vi_in0: endpoint {
                        status = "okay";
                        port-index = <0>;
                        csi-port = <0>;  /* CSI-C */
                        bus-width = <4>; /* Use CSI-CD*/
                        remote-endpoint = <&tc358743_csi_out0>;
                    };
                };
            };
        };


	    nvcsi@15a00000 {
			num-channels = <1>;
            		#address-cells = <1>;
            		#size-cells = <0>;
			channel@0 {
				reg = <0>;
                		status = "okay";
					ports {
						#address-cells = <1>;
						#size-cells = <0>;
						port@0 {
                        				status = "okay";
							reg = <0>;
							tc358743_csi_in0: endpoint@0 {
								status = "okay";
                            					port-index = <0>;
								csi-port = <0>;
								bus-width = <4>;
								remote-endpoint = <&tc358743_out0>;
								};
						};
						port@1 {
                        				status = "okay";
							reg = <1>;
							tc358743_csi_out0: endpoint@1 {
							status = "okay";
                            				remote-endpoint = <&tc358743_vi_in0>;
						};
					};
				};
			};
        };
    };
    
    i2c@3180000 {  /* I2C_0, "adapter" 0 */
        status = "okay";
        #address-cells = <1>;
        #size-cells = <0>;
        tc358743@0f {
            status = "okay";
            compatible = "tc358743";
            reg = <0x0f>; /* (normal = address not shifted) */

            devnode ="video0";

            // Trying to make sense of these reference clocks
            //clocks = <&bpmp_clks TEGRA194_CLK_EXTPERIPH1>, <&bpmp_clks TEGRA194_CLK_PLLP_OUT0>;
            clocks = <&bpmp_clks TEGRA194_CLK_EXTPERIPH1>;
            //clock-names = “extperiph1”, “pllp_grtba”;
            clock-names = "extperiph1";
            clock-frequency = <27000000>;
            mclk = "cam_mclk1";



            //mclk = "cam_mclk1";  // EDO commmented for modes

           // reset-gpios = <&gpio 151 0>; // EDO commented out to test

            reset-gpios = <&tegra_main_gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
            
            refclk_hz = <27000000>;  // refclk_hz -> regclk

	    //interrupt-parent = <&gpio>;
	    interrupt-parent = <&tegra_main_gpio>;
	    
            interrupts = <TEGRA194_MAIN_GPIO(N, 1) GPIO_ACTIVE_HIGH>;


            /* Physical dimensions of sensor */
            physical_w = "4.713";
            physical_h = "3.494";

            /* Sensor Model */
            sensor_model ="tc358743";

            ddc5v_delay = <2>;
            enable_hdcp = "false";
            lineinitcnt = <0xe80>;
            lptxtimecnt = <0x003>;
            tclk_headercnt = <0x1403>;
            tclk_trailcnt = <0x00>;
            ths_headercnt = <0x0103>;
            twakeup = <0x4882>;
            tclk_postcnt = <0x008>;
            ths_trailcnt = <0x02>;
            hstxvregcnt = <0>;
 

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

                port@0 {
                    reg = <0>;
                    tc358743_out0: endpoint {
                        port-index = <0>; /* CSI B */
                        bus-width = <4>; /* Use CSI-B only */
                        data-lanes = <1 2>;
                        clock-lanes = <0>;
                        clock-noncontinuous;
                        link-frequencies = /bits/ 64 <297000000>;
                        remote-endpoint = <&tc358743_csi_in0>;
                    };
                };
            };
        };
    };
    
    tcp: tegra-camera-platform {
	    status = "okay";
		compatible = "nvidia, tegra-camera-platform";
		num_csi_lanes = <2>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <16>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		max_pixel_rate = <430000>;  //408000  this is related to the capped VI's max BW  max_pixel_rate / 0.4 = capped VI BW  
		isp_peak_byte_per_pixel = <2>;
		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 {
                status = "okay";
                badge = "tc358743_top_i2c0_cd";
                position = "top";
                orientation = "3";
                drivernode0 {
                    status = "okay";
                    /* Declare PCL support driver (classically known as guid)  */
                    pcl_id = "v4l2_sensor";
                    /* Driver's v4l2 device name */
                    devname = "tc358743 0-000f";
                    /* Declare the device-tree hierarchy to driver instance */
                    proc-device-tree = "/proc/device-tree/i2c@3180000/tc358743@0f";
                };
                
            };
		};
	};
};

There have also been suggestions about probing the MIPI bus/CSI lines to make sure they have data flowing on them. Again, not sure how exactly to do this? Is this something you would do with an O-scope probing the pins on the CSI connector?

Thanks in advance for all the help!

How do you connect to camera connector? NX cam0/cam1 connector only support 2 lanes.

I currently have it connected on CAM1. Yes we discovered the NX Dev carrier board only supports the 2 lanes. This should be fine with this chip as it’s max resolution is 1080p. For right now I was only trying to get 720p working. Others have got it working with the Nano Dev Kit which also only supports 2 lanes.
From the dmesg logs it appears like it’s only using 2. Is that what it means?

[95917.352581] tc358743 2-000f: -----CSI-TX status-----
**[95917.352586] tc358743 2-000f: Lanes needed: 2**
**[95917.352847] tc358743 2-000f: Lanes in use: 2**
[95917.353058] tc358743 2-000f: Waiting for particular sync signal: no
[95917.353267] tc358743 2-000f: Transmit mode: yes
[95917.353476] tc358743 2-000f: Receive mode: no
[95917.353695] tc358743 2-000f: Stopped: no
[95917.353700] tc358743 2-000f: Color space: YCbCr 422 16-bit

Those message is from the tc358743 you may check the driver to confirm it.

When you say check the driver I’m assuming you mean to look at the source code? Or is there another way to check the driver?

When the driver is loaded the “tc358743_probe_of” function is called. These lines in dmesg come from that function. It would appear it’s only using 2 lanes.

[    3.598173] tc358743 endpoint->bus.mipi_csi2.flags 512
[    3.598177] tc358743 endpoint->bus.mipi_csi2.clock_lane 0
[    3.598181] tc358743 endpoint->bus.mipi_csi2.num_data_lanes 2
[    3.598184] tc358743 endpoint->bus.mipi_csi2.data_lanes [1-2-0-0]
[    3.598189] tc358743 endpoint->nr_of_link_frequencies 1
[    3.598192] tc358743 state->bus 2

Yes, please check the source code to know the detail information.

Yes the driver is setting up CSI to use only 2 lanes.

This function is setting the CSI

static void tc358743_set_csi(struct v4l2_subdev *sd)
{
        struct tc358743_state *state = to_state(sd);
        struct tc358743_platform_data *pdata = &state->pdata;
        unsigned lanes = tc358743_num_csi_lanes_needed(sd);

This function is responsible for displaying the number of lanes needed. Notice to set the CSI lanes and display the number needed it’s the same function being called tc358743_num_csi_lanes_needed

static int tc358743_log_status(struct v4l2_subdev *sd)
{
  v4l2_info(sd, "-----CSI-TX status-----\n"); 
  v4l2_info(sd, "Lanes needed: %d\n", tc358743_num_csi_lanes_needed(sd));

Output

[95917.352581] tc358743 2-000f: -----CSI-TX status-----
**[95917.352586] tc358743 2-000f: Lanes needed: 2**

So your device tree should set the bus-width = <2>;

@ShaneCCC
That resolved the issue! Thanks Shane!

It was interesting the first time I ran v4l2-ctl command to capture video it didn’t capture and had this in the dmesg. Not sure what happened that first time.

[ 70.981123] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 160, err_data 160

Don’t have idea about it. Maybe something need initial for the chip tc358743 first.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.