How to enable tc358743 on 36.3?

Here is filtered output from dmesg - from boot to failed capture. The current set up is only one tc358743 on 10-000f. It accurately determines the correct resolution, but is unable to get frames :

root@sthd-7:~# dmesg | grep -E 'tc358743|jc-|csi|vi'  | grep -v 'I2C write'


[    6.755409] systemd[1]: Using hardware watchdog 'NVIDIA Tegra186 WDT', version 0, device /dev/watchdog
[    7.101188] systemd[1]: /etc/systemd/system/nvs-service.service:41: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[    7.118238] systemd[1]: /etc/systemd/system/nvargus-daemon.service:42: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[    7.301503] systemd[1]: Starting Journal Service...
[    7.310884] systemd[1]: Starting Create List of Static Device Nodes...
[    7.362016] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    7.399915] platform 13e00000.host1x:nvcsi@15a00000: Fixing up cyclic dependency with 9-000f
[    7.399935] platform 13e00000.host1x:nvcsi@15a00000: Fixing up cyclic dependency with tegra-capture-vi
[    7.399953] platform 13e00000.host1x:nvcsi@15a00000: Fixing up cyclic dependency with 10-000f
[    7.436450] systemd[1]: Starting Coldplug All udev Devices...
[    7.492619] systemd[1]: Started Journal Service.
[    7.817647] scare-pigeon 13e00000.host1x:vi0-thi@15f00000: syncpt_unit_base 60000000 syncpt_unit_size 4000000 size 10000
[    7.818134] scare-pigeon 13e00000.host1x:vi1-thi@14f00000: syncpt_unit_base 60000000 syncpt_unit_size 4000000 size 10000
[    7.822128] videodev: Linux video capture interface: v2.00
[    7.949013] tegra-vic 15340000.vic: Adding to iommu group 24
[    8.317666] pci 0007:00:00.0: Removing from iommu group 3
[    8.320060] tegra-camrtc-capture-vi tegra-capture-vi: subdev 13e00000.host1x:nvcsi@15a00000- bound
[    8.320076] tegra-camrtc-capture-vi tegra-capture-vi: subdev 13e00000.host1x:nvcsi@15a00000- bound
[    8.320079]   jc- csi5 csi5_hw_init
[    8.327992] tegra194-vi5 13e00000.host1x:vi1@14c00000: Adding to iommu group 29
[    8.376319] tegra194-vi5 13e00000.host1x:vi0@15c00000: Adding to iommu group 32
[    8.380477] (NULL device *): fops function table already registered
[    8.969842] dce: tegra_dce_probe:245  Found display consumer device
[    9.023905] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    9.088493] device usb0 entered promiscuous mode
[    9.142151] device usb1 entered promiscuous mode
[    9.251574] tc358743_probe
[    9.251585] tc358743 9-000f: chip found @ 0xf (i2c-2-mux (chan_id 1))
[    9.251589] tc358743_probe_of
[    9.251604] tc358743 endpoint.bus.mipi_csi2.flags 512
[    9.251605] tc358743 endpoint.bus.mipi_csi2.clock_lane 0
[    9.251606] tc358743 endpoint.bus.mipi_csi2.num_data_lanes 4
[    9.251607] tc358743 endpoint.bus.mipi_csi2.data_lanes [1-2-3-4]
[    9.251609] tc358743 endpoint.nr_of_link_frequencies 1
[    9.251610] tc358743 state->pdata.pll_prd=4
[    9.251611] tc358743 state->pdata.pll_fbd=88
[    9.287024] tc358743 9-000f: Subdev init done
[    9.287643] tc358743 9-000f: Chip ID val: 99
[    9.287648] tc358743 9-000f: tc358743: ERROR: not a TC358743 on address 0xf
[    9.289356] tc358743_probe
[    9.289362] tc358743 10-000f: chip found @ 0xf (i2c-2-mux (chan_id 0))
[    9.289368] tc358743_probe_of
[    9.289384] tc358743 endpoint.bus.mipi_csi2.flags 512
[    9.289386] tc358743 endpoint.bus.mipi_csi2.clock_lane 0
[    9.289388] tc358743 endpoint.bus.mipi_csi2.num_data_lanes 4
[    9.289390] tc358743 endpoint.bus.mipi_csi2.data_lanes [1-2-3-4]
[    9.289393] tc358743 endpoint.nr_of_link_frequencies 1
[    9.289395] tc358743 state->pdata.pll_prd=4
[    9.289397] tc358743 state->pdata.pll_fbd=88
[    9.319406] input: NVIDIA Jetson Orin Nano HDA HDMI/DP,pcm=3 as /devices/platform/bus@0/3510000.hda/sound/card0/input5
[    9.331023] tc358743 10-000f: Subdev init done
[    9.331296] tc358743 10-000f: Chip ID val: 0
[    9.331305] tc358743 10-000f: ctrl handler initied
[    9.331321] tc358743 10-000f: function tc358743_update_controls
[    9.331323] tc358743 10-000f: function tc358743_s_ctrl_detect_tx_5v
[    9.331325] tc358743 10-000f: function tx_5v_power_present
[    9.331545] tc358743 10-000f: function tc358743_s_ctrl_audio_sampling_rate
[    9.331548] tc358743 10-000f: function get_audio_sampling_rate
[    9.331551] tc358743 10-000f:  in function no_signal
[    9.331957] tc358743 10-000f: function tc358743_s_ctrl_audio_present
[    9.331960] tc358743 10-000f: function audio_present
[    9.332180] tegra-camrtc-capture-vi tegra-capture-vi: subdev tc358743 10-000f bound
[    9.335587] tc358743 10-000f: tc358743_enum_mbus_code()
[    9.335592] tc358743 10-000f: Mbus code found succsefully (0: 4106)
[    9.335595] tc358743 10-000f: tc358743_enum_mbus_code()
[    9.335596] tc358743 10-000f: Mbus code found succsefully (1: 8207)
[    9.335597] tc358743 10-000f: tc358743_enum_mbus_code()
[    9.335830] tc358743 10-000f: Calling tc358743_get_fmt
[    9.335834] tc358743 10-000f: tc358743_get_fmt starting...
[    9.335836] tc358743 10-000f:  in function no_signal
[    9.336059] tc358743 10-000f:  in function no_sync
[    9.336330] tc358743 10-000f:   jc-  made it past no_signal and no_sync
[    9.340104] tc358743 10-000f: line 585 : tc358743_get_detected_timings: width 1920 heigh 1080 interlaced 0
[    9.340113] tc358743 10-000f: Here 6b, colorspace: 1
[    9.340115] tc358743 10-000f:   tc358743_get_fmt : format width 1920
[    9.340117] tc358743 10-000f:   tc358743_get_fmt : format height 1080
[    9.340119] tc358743 10-000f:   tc358743_get_fmt : fmt_code: 4106
[    9.340120] tc358743 10-000f:   tc358743_get_fmt : RGB888 code: 4106
[    9.340122] tc358743 10-000f:   tc358743_get_fmt :UYVY8 code: 8207
[    9.340124] tc358743 10-000f: tc358743_get_fmt complete
[    9.340971] input: NVIDIA Jetson Orin Nano HDA HDMI/DP,pcm=7 as /devices/platform/bus@0/3510000.hda/sound/card0/input6
[    9.344988] tc358743 10-000f:   jc-- Controls updated
[    9.344992] tc358743 10-000f: before tc358743_initial_setup
[    9.344994] tc358743 10-000f: function tc358743_initial_setup
[    9.345646] tc358743 10-000f: function tc358743_reset
[    9.346012] tc358743 10-000f: function tc358743_sleep_mode
[    9.346579] tc358743 10-000f:   jc- before set_ref_clk
[    9.346581] tc358743 10-000f:   jc- function tc358743_set_ref_clk
[    9.348686] tc358743 10-000f:   jc-   after set_ref_clk
[    9.349367] tc358743 10-000f: function tc358743_set_hdmi_phy
[    9.349514] input: NVIDIA Jetson Orin Nano HDA HDMI/DP,pcm=8 as /devices/platform/bus@0/3510000.hda/sound/card0/input7
[    9.351481] input: NVIDIA Jetson Orin Nano HDA HDMI/DP,pcm=9 as /devices/platform/bus@0/3510000.hda/sound/card0/input8
[    9.353462] tc358743 10-000f: tc358743_set_hdmi_hdcp: disable
[    9.356044] tc358743 10-000f: function tc358743_set_hdmi_audio
[    9.358476] tc358743 10-000f: function tc358743_set_hdmi_info_frame_mode
[    9.360628] tc358743 10-000f: after tc358743_initial_setup
[    9.360630] tc358743 10-000f: before tc358743_s_dv_timings
[    9.360631] tc358743 10-000f: start of -  tc358743_s_dv_timings
[    9.360635] tc358743 10-000f: enable_stream: disable
[    9.361205] tc358743 10-000f: after mutex_unlock - 888:enable_stream: end
[    9.363343] tc358743 10-000f: tc358743_set_pll:
[    9.363349] tc358743 10-000f: tc358743_set_pll: pllctl0 : 12375
[    9.363352] tc358743 10-000f: tc358743_set_pll: pllctl1 : 531
[    9.363354] tc358743 10-000f: tc358743_set_pll: pllctl0_new  : 12375
[    9.363356] tc358743 10-000f: tc358743_set_pll: hsck : 594000000
[    9.363358] tc358743 10-000f: tc358743_set_pll: pdata->refclk_hz : 27000000
[    9.363361] tc358743 10-000f: function tc358743_num_csi_lanes_needed : fps(bt)  60   bits_pr_pixel 24
[    9.363365] tc358743 10-000f: function tc358743_num_csi_lanes_needed : bps 3564000000   bps_pr_lane 594000000
[    9.363367] tc358743 10-000f: function tc358743_num_csi_lanes_needed : ET.width 2200   ET.height 1125
[    9.363370] tc358743 10-000f: tc358743_set_csi: lanes is using in_use
[    9.363372] tc358743 10-000f: function tc358743_num_csi_lanes_needed : fps(bt)  60   bits_pr_pixel 24
[    9.363375] tc358743 10-000f: function tc358743_num_csi_lanes_needed : bps 3564000000   bps_pr_lane 594000000
[    9.363378] tc358743 10-000f: function tc358743_num_csi_lanes_needed : ET.width 2200   ET.height 1125
[    9.363380] tc358743 10-000f:   jc- set_csi : Lanes needed: 6
[    9.363382] tc358743 10-000f: function tc358743_num_csi_lanes_in_use
[    9.363656] tc358743 10-000f:   jc- set_csi : Lanes in use: 1
[    9.363658] tc358743 10-000f: tc358743_set_csi:  jc- lanes : 6
[    9.363879] tc358743 10-000f: function tc358743_reset
[    9.364210] tc358743 10-000f: tc358743_set_csi:  jc- post reset lanes= 6
[    9.369412] tc358743 10-000f:   jc- D0W : 0
[    9.369415] tc358743 10-000f:   jc- D1W : 0
[    9.369416] tc358743 10-000f:   jc- D2W : 0
[    9.369417] tc358743 10-000f:   jc- D3W : 0
[    9.369418] tc358743 10-000f:   jc- HSTXVREGEN : 31
[    9.369419] tc358743 10-000f: end of - tc358743_s_dv_timings
[    9.369421] tc358743 10-000f: function tc358743_set_csi_color_space
[    9.369422] tc358743 10-000f: tc358743_set_csi_color_space: RGB 888 24-bit
[    9.370568] tc358743 10-000f: before tc358743_init_interrupts, irq: 0
[    9.370571] tc358743 10-000f: function tc358743_init_interrupts
[    9.376509] tc358743 10-000f: after tc358743_init_interrupts, irq: 0
[    9.376514] tc358743 10-000f: function tx_5v_power_present
[    9.376744] tc358743 10-000f: tc358743_enable_interrupts: cable connected = 0
[    9.377668] tc358743 10-000f: tc358743 found @0x1e (i2c-2-mux (chan_id 0))
[    9.395705] thermal-trip-event soc1-throttle-alert: cooling device registered.
[    9.417399] thermal-trip-event soc0-throttle-alert: cooling device registered.
[    9.417775] thermal-trip-event cv2-throttle-alert: cooling device registered.
[    9.425099] thermal-trip-event cv1-throttle-alert: cooling device registered.
[    9.425620] CAN device driver interface
[    9.433834] thermal-trip-event hot-surface-alert: cooling device registered.
[    9.434630] thermal-trip-event soc2-throttle-alert: cooling device registered.
[    9.436559] thermal-trip-event cv0-throttle-alert: cooling device registered.
[    9.441352] thermal-trip-event gpu-throttle-alert: cooling device registered.
[    9.441596] thermal-trip-event cpu-throttle-alert: cooling device registered.
[    9.568472] fusb301 1-0025: device id: 0x12
[    9.604119] net can0: mttcan device registered (regs=00000000b3952bf0, irq=148)
[    9.701625] Bluetooth: HCI device and connection manager initialized
[   10.082691] r8168 0008:01:00.0: enabling device (0000 -> 0003)
[   10.258299] rtl88x2ce 0001:01:00.0: enabling device (0000 -> 0003)
[   10.403986] tc358743 10-000f:   jc- reading HDMI_INT0 HDMI_INT1
[   10.404515] tc358743 10-000f: tc358743_hdmi_sys_int_handler: SYS_INT =0x01
[   10.404518] tc358743 10-000f: function tx_5v_power_present
[   10.405006] tc358743 10-000f: tc358743_hdmi_sys_int_handler: Tx 5V power present: yes
[   10.405010] tc358743 10-000f: tc358743_enable_edid
[   10.405011] tc358743 10-000f: tc358743_enable_edid: no EDID -> no hotplug
[   10.405013] tc358743 10-000f: function tc358743_s_ctrl_detect_tx_5v
[   10.405015] tc358743 10-000f: function tx_5v_power_present
[   11.010450] pci 0004:00:00.0: Removing from iommu group 34
[   11.378582] zram: Added device: zram0
[   11.378843] zram: Added device: zram1
[   11.380153] zram: Added device: zram2
[   11.380615] zram: Added device: zram3
[   11.381107] zram: Added device: zram4
[   11.392167] zram: Added device: zram5
[   13.484341] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64  540.3.0  Release Build  (buildbrain@mobile-u64-6367-d8000)  Mon May  6 10:21:06 PDT 2024
[   72.597233] tc358743 10-000f: Calling tc358743_get_fmt
[   72.597243] tc358743 10-000f: tc358743_get_fmt starting...
[   72.597246] tc358743 10-000f:  in function no_signal
[   72.597448] tc358743 10-000f:  in function no_sync
[   72.597648] tc358743 10-000f:   jc-  made it past no_signal and no_sync
[   72.599940] tc358743 10-000f: line 585 : tc358743_get_detected_timings: width 1920 heigh 1080 interlaced 0
[   72.599949] tc358743 10-000f:   tc358743_get_fmt : format width 1920
[   72.599951] tc358743 10-000f:   tc358743_get_fmt : format height 1080
[   72.599953] tc358743 10-000f:   tc358743_get_fmt : fmt_code: 4106
[   72.599954] tc358743 10-000f:   tc358743_get_fmt : RGB888 code: 4106
[   72.599956] tc358743 10-000f:   tc358743_get_fmt :UYVY8 code: 8207
[   72.599957] tc358743 10-000f: tc358743_get_fmt complete
[   72.599959] tc358743 10-000f: tc358743_set_fmt(), ret: 0
[   72.599961] tc358743 10-000f: Set format code: 8207
[   72.599962] tc358743 10-000f: Good code 8207
[   72.600160] tc358743 10-000f: Calling tc358743_get_fmt
[   72.600162] tc358743 10-000f: tc358743_get_fmt starting...
[   72.600163] tc358743 10-000f:  in function no_signal
[   72.600374] tc358743 10-000f:  in function no_sync
[   72.600566] tc358743 10-000f:   jc-  made it past no_signal and no_sync
[   72.602640] tc358743 10-000f: line 585 : tc358743_get_detected_timings: width 1920 heigh 1080 interlaced 0
[   72.602643] tc358743 10-000f:   tc358743_get_fmt : format width 1920
[   72.602644] tc358743 10-000f:   tc358743_get_fmt : format height 1080
[   72.602645] tc358743 10-000f:   tc358743_get_fmt : fmt_code: 4106
[   72.602646] tc358743 10-000f:   tc358743_get_fmt : RGB888 code: 4106
[   72.602647] tc358743 10-000f:   tc358743_get_fmt :UYVY8 code: 8207
[   72.602648] tc358743 10-000f: tc358743_get_fmt complete
[   72.602648] tc358743 10-000f: tc358743_set_fmt(), ret: 0
[   72.602650] tc358743 10-000f: Set format code: 8207
[   72.602650] tc358743 10-000f: Good code 8207
[   72.602652] tc358743 10-000f: enable_stream: disable
[   72.603166] tc358743 10-000f: after mutex_unlock - 888:enable_stream: end
[   72.603618] tc358743 10-000f: tc358743_set_pll:
[   72.603621] tc358743 10-000f: tc358743_set_pll: pllctl0 : 12375
[   72.603623] tc358743 10-000f: tc358743_set_pll: pllctl1 : 531
[   72.603625] tc358743 10-000f: tc358743_set_pll: pllctl0_new  : 12375
[   72.603627] tc358743 10-000f: tc358743_set_pll: hsck : 594000000
[   72.603628] tc358743 10-000f: tc358743_set_pll: pdata->refclk_hz : 27000000
[   72.603631] tc358743 10-000f: function tc358743_num_csi_lanes_needed : fps(bt)  60   bits_pr_pixel 16
[   72.603633] tc358743 10-000f: function tc358743_num_csi_lanes_needed : bps 2376000000   bps_pr_lane 594000000
[   72.603636] tc358743 10-000f: function tc358743_num_csi_lanes_needed : ET.width 2200   ET.height 1125
[   72.603638] tc358743 10-000f: tc358743_set_csi: lanes is using in_use
[   72.603640] tc358743 10-000f: function tc358743_num_csi_lanes_needed : fps(bt)  60   bits_pr_pixel 16
[   72.603642] tc358743 10-000f: function tc358743_num_csi_lanes_needed : bps 2376000000   bps_pr_lane 594000000
[   72.603644] tc358743 10-000f: function tc358743_num_csi_lanes_needed : ET.width 2200   ET.height 1125
[   72.603645] tc358743 10-000f:   jc- set_csi : Lanes needed: 4
[   72.603647] tc358743 10-000f: function tc358743_num_csi_lanes_in_use
[   72.603914] tc358743 10-000f:   jc- set_csi : Lanes in use: 1
[   72.603916] tc358743 10-000f: tc358743_set_csi:  jc- lanes : 4
[   72.604133] tc358743 10-000f: function tc358743_reset
[   72.604470] tc358743 10-000f: tc358743_set_csi:  jc- post reset lanes= 4
[   72.609489] tc358743 10-000f:   jc- D0W : 0
[   72.609491] tc358743 10-000f:   jc- D1W : 0
[   72.609492] tc358743 10-000f:   jc- D2W : 0
[   72.609494] tc358743 10-000f:   jc- D3W : 0
[   72.609495] tc358743 10-000f:   jc- HSTXVREGEN : 31
[   72.609497] tc358743 10-000f: function tc358743_set_csi_color_space
[   72.609499] tc358743 10-000f: tc358743_set_csi_color_space: YCbCr 422 16-bit
[   72.610537] tc358743 10-000f:   jc-- Called tc358743_set_fmt, completed successfully
[   72.610676] tc358743 10-000f: Calling tc358743_g_input_status
[   72.610678] tc358743 10-000f:  in function no_signal
[   72.610890] tc358743 10-000f:  in function no_sync
[   72.611101] tc358743 10-000f: tc358743_g_input_status: status =0x0
[   72.611103] tc358743 10-000f: Now getting and setting dv timings
[   72.611104] tc358743 10-000f: Calling tc358743_query_dv_timings
[   72.611105] tc358743 10-000f:  in function no_signal
[   72.611321] tc358743 10-000f:  in function no_sync
[   72.611513] tc358743 10-000f:   jc-  made it past no_signal and no_sync
[   72.613672] tc358743 10-000f: line 585 : tc358743_get_detected_timings: width 1920 heigh 1080 interlaced 0
[   72.613677] tc358743 10-000f: tc358743_query_dv_timings: 1920x1080p60.00 (2200x1125)
[   72.613682] tc358743 10-000f: start of -  tc358743_s_dv_timings
[   72.613684] tc358743 10-000f: tc358743_s_dv_timings: no change
[   72.613692] tc358743 10-000f: Calling tc358743_query_dv_timings
[   72.613694] tc358743 10-000f:  in function no_signal
[   72.613883] tc358743 10-000f:  in function no_sync
[   72.614071] tc358743 10-000f:   jc-  made it past no_signal and no_sync
[   72.617810] tc358743 10-000f: line 585 : tc358743_get_detected_timings: width 1920 heigh 1080 interlaced 0
[   72.617818] tc358743 10-000f: tc358743_query_dv_timings: 1920x1080p60.00 (2200x1125)
[   72.617838] tc358743 10-000f:   jc- Calling tc358743_g_dv_timings
[   72.617840] tc358743 10-000f:   jc- state passed
[   72.617842] tc358743 10-000f:   jc- timings passed
[   72.624199] tc358743 10-000f: function tc358743_s_power
[   72.624212]   jc- csi5 csi5_power_on
[   72.633659] tegra-camrtc-capture-vi tegra-capture-vi:   jc-- vi5_ops.c : vi5_capture_dequeue : before vi_capture_status
[   72.633666]   jc- in vi_capture_status
[   72.633667]   jc- in vi_capture_status : capture initialized
[   72.633668]   jc- in vi_capture_status : valid channel ID found
[   72.633669]   jc- in vi_capture_status : after wait timeout...
[   72.634292]   jc- csi5  csi5_start_streaming:  csi_pt=0, st_id=0, vc_id=0, pg_mode=0x0
[   72.634300]   jc- csi5  csi5_stream_set_config: stream_id=0, csi_port=0
[   72.634303]   jc- csi5 cil_settletime is pulled from device of_node
[   72.634306]   jc- csi5 cil_setttime is 0
[   72.634310] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- brick_config.phy_mode : 0
[   72.634314] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- brick_config.lane_polarity[index] : 0
[   72.634317] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- csi5_stream_set_config : before s_data
[   72.634320] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- using hardcode 5940
[   72.634322] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- mipi_clock_rate is : 297000
[   72.634325] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- sizeof(msg) is : 280
[   72.634328] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- valid ports is : 1
[   72.634330] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- vi port is : 0
[   72.634724] tc358743 10-000f: Calling tc358743_s_stream - start of attempt
[   72.634730] tc358743 10-000f: enable_stream: enable
[   72.635854] tc358743 10-000f: after mutex_unlock - 888:enable_stream: end
[   75.206997] tegra-camrtc-capture-vi tegra-capture-vi:   jc-- vi5_ops.c : uncorr_err: request timed out after 2500 ms
[   75.207024] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[   75.208353] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[   75.208372] tegra-camrtc-capture-vi tegra-capture-vi:   jc-- vi5_ops.c : vi5_capture_dequeue : before vi_capture_status
[   75.208375]   jc- in vi_capture_status
[   75.208376]   jc- in vi_capture_status : capture initialized
[   75.208377]   jc- in vi_capture_status : valid channel ID found
[   75.208378]   jc- in vi_capture_status : after wait timeout...
[   77.766345] tegra-camrtc-capture-vi tegra-capture-vi:   jc-- vi5_ops.c : uncorr_err: request timed out after 2500 ms
[   77.766376] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[   77.767985] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[   77.768014] tegra-camrtc-capture-vi tegra-capture-vi:   jc-- vi5_ops.c : vi5_capture_dequeue : before vi_capture_status
[   77.768017]   jc- in vi_capture_status
[   77.768019]   jc- in vi_capture_status : capture initialized
[   77.768020]   jc- in vi_capture_status : valid channel ID found
[   77.768021]   jc- in vi_capture_status : after wait timeout...
[   80.326019] tegra-camrtc-capture-vi tegra-capture-vi:   jc-- vi5_ops.c : uncorr_err: request timed out after 2500 ms
[   80.326048] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[   80.327125] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[   80.327151] tegra-camrtc-capture-vi tegra-capture-vi:   jc-- vi5_ops.c : vi5_capture_dequeue : before vi_capture_status
[   80.327154]   jc- in vi_capture_status
[   80.327155]   jc- in vi_capture_status : capture initialized
[   80.327156]   jc- in vi_capture_status : valid channel ID found
[   80.327157]   jc- in vi_capture_status : after wait timeout...
[   82.853738] tegra-camrtc-capture-vi tegra-capture-vi:   jc-- vi5_ops.c : uncorr_err: request timed out after 2500 ms
[   82.853760] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[   82.855093] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[   82.855462] tc358743 10-000f: Calling tc358743_s_stream - start of attempt
[   82.855471] tc358743 10-000f: enable_stream: enable
[   82.856467] tc358743 10-000f: after mutex_unlock - 888:enable_stream: end
[   82.856475]   jc- csi5_stop_streaming: csi5 csi_pt=0, st_id=0, vc_id=0, pg_mode=0x0
[   82.857733] tc358743 10-000f: function tc358743_s_power
[   82.857740]   jc- csi5 csi5_power_off

Thank you.

Maybe try the latest release r36.4

Seems like only five months ago…

Are there changes in r36.4 that might resolve my issue? I would prefer to solve this issue now, instead of kick the can down the road.

Thank you.

I can’t tell if JP6.1 fix the problem for you.
The mipi_clock_rate is correct?

Yes - we solved the mipi_clock_rate issues in February - Orin Nano Dev board 8G, tc358743, 4-lane, CSI1 (J21), 1080p60, not working - #15 by ShaneCCC

Thank you.

To clarify - we set it to 297000 in csi5_fops.c -

cil_config.mipi_clock_rate = 594000000/2000;    // RCB  = 297000

That worked for 2 lane 720p60 and 1080p30 and 4 lane 1080p60 in JetPack 5.1.2.

I reconfigured my .dtbo file for two lane (instead of four lane) and attempted to capture 720p60 and got the same errors as my 1080p60 attempt. I tried both ports on the Nano and neither would capture.

[   41.842888] loop1: detected capacity change from 0 to 8
[   54.477195] tc358743 9-000f: Calling tc358743_get_fmt
[   54.477207] tc358743 9-000f: tc358743_get_fmt starting...
[   54.477210] tc358743 9-000f:  in function no_signal
[   54.477427] tc358743 9-000f:  in function no_sync
[   54.477634] tc358743 9-000f:   jc-  made it past no_signal and no_sync
[   54.479845] tc358743 9-000f: line 585 : tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0
[   54.479852] tc358743 9-000f:   tc358743_get_fmt : format width 1280
[   54.479854] tc358743 9-000f:   tc358743_get_fmt : format height 720
[   54.479856] tc358743 9-000f:   tc358743_get_fmt : fmt_code: 4106
[   54.479857] tc358743 9-000f:   tc358743_get_fmt : RGB888 code: 4106
[   54.479859] tc358743 9-000f:   tc358743_get_fmt :UYVY8 code: 8207
[   54.479860] tc358743 9-000f: tc358743_get_fmt complete
[   54.479861] tc358743 9-000f: tc358743_set_fmt(), ret: 0
[   54.479864] tc358743 9-000f: Set format code: 8207
[   54.479865] tc358743 9-000f: Good code 8207
[   54.480062] tc358743 9-000f: Calling tc358743_get_fmt
[   54.480064] tc358743 9-000f: tc358743_get_fmt starting...
[   54.480065] tc358743 9-000f:  in function no_signal
[   54.480269] tc358743 9-000f:  in function no_sync
[   54.480460] tc358743 9-000f:   jc-  made it past no_signal and no_sync
[   54.482528] tc358743 9-000f: line 585 : tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0
[   54.482531] tc358743 9-000f:   tc358743_get_fmt : format width 1280
[   54.482532] tc358743 9-000f:   tc358743_get_fmt : format height 720
[   54.482533] tc358743 9-000f:   tc358743_get_fmt : fmt_code: 4106
[   54.482534] tc358743 9-000f:   tc358743_get_fmt : RGB888 code: 4106
[   54.482535] tc358743 9-000f:   tc358743_get_fmt :UYVY8 code: 8207
[   54.482536] tc358743 9-000f: tc358743_get_fmt complete
[   54.482537] tc358743 9-000f: tc358743_set_fmt(), ret: 0
[   54.482537] tc358743 9-000f: Set format code: 8207
[   54.482539] tc358743 9-000f: Good code 8207
[   54.482540] tc358743 9-000f: enable_stream: disable
[   54.482697] tc358743 9-000f: I2C write 0x857f = 0xd0
[   54.483120] tc358743 9-000f: I2C write 0x0004 = 0x0c14
[   54.483126] tc358743 9-000f: after mutex_unlock - 888:enable_stream: end
[   54.483579] tc358743 9-000f: tc358743_set_pll:
[   54.483582] tc358743 9-000f: tc358743_set_pll: pllctl0 : 12375
[   54.483585] tc358743 9-000f: tc358743_set_pll: pllctl1 : 531
[   54.483587] tc358743 9-000f: tc358743_set_pll: pllctl0_new  : 12375
[   54.483588] tc358743 9-000f: tc358743_set_pll: hsck : 594000000
[   54.483590] tc358743 9-000f: tc358743_set_pll: pdata->refclk_hz : 27000000
[   54.483593] tc358743 9-000f: function tc358743_num_csi_lanes_needed : fps(bt)  60   bits_pr_pixel 16
[   54.483595] tc358743 9-000f: function tc358743_num_csi_lanes_needed : bps 1188000000   bps_pr_lane 594000000
[   54.483597] tc358743 9-000f: function tc358743_num_csi_lanes_needed : ET.width 1650   ET.height 750
[   54.483599] tc358743 9-000f: tc358743_set_csi: lanes is using in_use
[   54.483601] tc358743 9-000f: function tc358743_num_csi_lanes_needed : fps(bt)  60   bits_pr_pixel 16
[   54.483603] tc358743 9-000f: function tc358743_num_csi_lanes_needed : bps 1188000000   bps_pr_lane 594000000
[   54.483605] tc358743 9-000f: function tc358743_num_csi_lanes_needed : ET.width 1650   ET.height 750
[   54.483607] tc358743 9-000f:   jc- set_csi : Lanes needed: 2
[   54.483608] tc358743 9-000f: function tc358743_num_csi_lanes_in_use
[   54.483877] tc358743 9-000f:   jc- set_csi : Lanes in use: 1
[   54.483879] tc358743 9-000f: tc358743_set_csi:  jc- lanes : 2
[   54.484096] tc358743 9-000f: function tc358743_reset
[   54.484263] tc358743 9-000f: I2C write 0x0002 = 0x0e00
[   54.484431] tc358743 9-000f: I2C write 0x0002 = 0x0c00
[   54.484432] tc358743 9-000f: tc358743_set_csi:  jc- post reset lanes= 2
[   54.484650] tc358743 9-000f: I2C write 0x014c = 0x00000001
[   54.484873] tc358743 9-000f: I2C write 0x0150 = 0x00000001
[   54.485087] tc358743 9-000f: I2C write 0x0210 = 0x00000e80
[   54.485299] tc358743 9-000f: I2C write 0x0214 = 0x00000003
[   54.485510] tc358743 9-000f: I2C write 0x0218 = 0x00001403
[   54.485722] tc358743 9-000f: I2C write 0x021c = 0x00000000
[   54.485933] tc358743 9-000f: I2C write 0x0220 = 0x00000103
[   54.486145] tc358743 9-000f: I2C write 0x0224 = 0x00004882
[   54.486357] tc358743 9-000f: I2C write 0x0228 = 0x00000008
[   54.486569] tc358743 9-000f: I2C write 0x022c = 0x00000002
[   54.486783] tc358743 9-000f: I2C write 0x0230 = 0x00000002
[   54.486997] tc358743 9-000f: I2C write 0x0234 = 0x00000007
[   54.487215] tc358743 9-000f: I2C write 0x0238 = 0x00000000
[   54.487435] tc358743 9-000f: I2C write 0x0204 = 0x00000001
[   54.487653] tc358743 9-000f: I2C write 0x0518 = 0x00000001
[   54.487872] tc358743 9-000f: I2C write 0x0500 = 0xa3008082
[   54.488091] tc358743 9-000f: I2C write 0x0500 = 0xb4000312
[   54.488310] tc358743 9-000f: I2C write 0x0500 = 0xd5000012
[   54.488528] tc358743 9-000f: I2C write 0x0500 = 0xa6000004
[   54.489852] tc358743 9-000f:   jc- D0W : 0
[   54.489853] tc358743 9-000f:   jc- D1W : 0
[   54.489854] tc358743 9-000f:   jc- D2W : 1
[   54.489854] tc358743 9-000f:   jc- D3W : 1
[   54.489855] tc358743 9-000f:   jc- HSTXVREGEN : 7
[   54.489856] tc358743 9-000f: function tc358743_set_csi_color_space
[   54.489857] tc358743 9-000f: tc358743_set_csi_color_space: YCbCr 422 16-bit
[   54.490179] tc358743 9-000f: I2C write 0x8573 = 0xc1
[   54.490500] tc358743 9-000f: I2C write 0x8576 = 0x60
[   54.490887] tc358743 9-000f: I2C write 0x0004 = 0x0cd4
[   54.490889] tc358743 9-000f:   jc-- Called tc358743_set_fmt, completed successfully
[   54.491030] tc358743 9-000f: Calling tc358743_g_input_status
[   54.491032] tc358743 9-000f:  in function no_signal
[   54.491290] tc358743 9-000f:  in function no_sync
[   54.491516] tc358743 9-000f: tc358743_g_input_status: status =0x0
[   54.491522] tc358743 9-000f: Now getting and setting dv timings
[   54.491525] tc358743 9-000f: Calling tc358743_query_dv_timings
[   54.491528] tc358743 9-000f:  in function no_signal
[   54.491742] tc358743 9-000f:  in function no_sync
[   54.491944] tc358743 9-000f:   jc-  made it past no_signal and no_sync
[   54.494157] tc358743 9-000f: line 585 : tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0
[   54.494161] tc358743 9-000f: tc358743_query_dv_timings: 1280x720p60.00 (1650x750)
[   54.494165] tc358743 9-000f: start of -  tc358743_s_dv_timings
[   54.494167] tc358743 9-000f: tc358743_s_dv_timings: no change
[   54.494178] tc358743 9-000f: Calling tc358743_query_dv_timings
[   54.494179] tc358743 9-000f:  in function no_signal
[   54.494374] tc358743 9-000f:  in function no_sync
[   54.494561] tc358743 9-000f:   jc-  made it past no_signal and no_sync
[   54.496759] tc358743 9-000f: line 585 : tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0
[   54.496769] tc358743 9-000f: tc358743_query_dv_timings: 1280x720p60.00 (1650x750)
[   54.496794] tc358743 9-000f:   jc- Calling tc358743_g_dv_timings
[   54.496797] tc358743 9-000f:   jc- state passed
[   54.496799] tc358743 9-000f:   jc- timings passed
[   54.501466] tc358743 9-000f: function tc358743_s_power
[   54.501476]   jc- csi5 csi5_power_on
[   54.512795]   jc- csi5  csi5_start_streaming:  csi_pt=2, st_id=2, vc_id=0, pg_mode=0x0
[   54.512802]   jc- csi5  csi5_stream_set_config: stream_id=2, csi_port=2
[   54.512804]   jc- csi5 cil_settletime is pulled from device of_node
[   54.512807]   jc- csi5 cil_setttime is 0
[   54.512811] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- brick_config.phy_mode : 0
[   54.512815] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- brick_config.lane_polarity[index] : 0
[   54.512818] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- csi5_stream_set_config : before s_data
[   54.512821] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- using RCB hardcode cil_config.mipi_clock_rate  = 297000
[   54.512825] t194-nvcsi 13e00000.host1x:nvcsi@15a00000:    X-- tc358743 (NEW! for 720p) mipi_clock_rate is : 297000
[   54.513210] tc358743 9-000f: Calling tc358743_s_stream - start of attempt
[   54.513214] tc358743 9-000f: enable_stream: enable
[   54.513466] tc358743 9-000f: I2C write 0x0238 = 0x00000000
[   54.513691] tc358743 9-000f: I2C write 0x0238 = 0x00000001
[   54.513840] tc358743 9-000f: I2C write 0x857f = 0xc0
[   54.514233] tc358743 9-000f: I2C write 0x0004 = 0x0cd7
[   54.514237] tc358743 9-000f: after mutex_unlock - 888:enable_stream: end
[   57.054642] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[   57.054677] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[   57.055946] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[   59.582625] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[   59.582649] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[   59.583858] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[   59.583881] tc358743 9-000f: Calling tc358743_s_stream - start of attempt
[   59.583886] tc358743 9-000f: enable_stream: enable
[   59.584137] tc358743 9-000f: I2C write 0x0238 = 0x00000000
[   59.584357] tc358743 9-000f: I2C write 0x0238 = 0x00000001
[   59.584495] tc358743 9-000f: I2C write 0x857f = 0xc0
[   59.584867] tc358743 9-000f: I2C write 0x0004 = 0x0cd7
[   59.584868] tc358743 9-000f: after mutex_unlock - 888:enable_stream: end
[   59.584873]   jc- csi5_stop_streaming: csi5 csi_pt=2, st_id=2, vc_id=0, pg_mode=0x0
[   59.588631] tc358743 9-000f: function tc358743_s_power
[   59.588639]   jc- csi5 csi5_power_off

This was the part we finally got working on 5.1.2 before we were told to try 6.0.

Thank you.

To clarify my post above :

" Yes - we solved the mipi_clock_rate issues in February - Orin Nano Dev board 8G, tc358743, 4-lane, CSI1 (J21), 1080p60, not working - #15 by ShaneCCC "

was on JetPack 5.1.2 - not for the current issue we’re discussing JetPack 6.0. That statement was intended to say this code I am using should be working on JP 6.0 (like it used to on JP 5.1.2) and it is not.

What else can we look at or do on the system to see why we can not capture a frame ?

Thank you.

Please have below command to get the trace log again.

sudo su
modprobe rtcpu_debug

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 3 > /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

Hello ShaneCCC,

I had flashed the JetPack 6.0 to an external USB drive and have made many changes to the OS and code. While waiting for guidance on this issue, I disconnected the JP6.0 HD and used the SDK manager to flash 5.1.4 on a new HD to see if I can get my 5.1.2 code working in 5.1.4.

When I swap the HD back the the JP6.0 hard drive, it fails to boot and attempts to go to recovery mode.

I switched

Device Manager → NVIDIA Configuration → L4T Configuration → OS chain A status

To normal and rebooted. This time I got:

L4TLauncher: Attempting Direct Boot
L4T boot options
0: primary kernel
1: backup kernel
2: Custom Header Config: <CSI ET tc358743 Dual>
Press 0-2 to boot selection within 3.0 seconds.
Press any other key to boot default (Option: 2)
ASSERT [L4TLauncher] /out/nvidia/bootloader/uefi/Jetson_RELEASE/edk2-nvidia/Silicon/NVIDIA/Library/TegraDeviceTreeOverlayLib/TegraDeviceTreeKernelOverlayLib.c(48): ((BOOLEAN)(0==1))

Resetting the system in 5 seconds.

I believe I need to do more than just ‘change hard drives’ to make this work. Can you link to any documentation on what needs to be updated and how to do it?

I had made several changes on this JetPack 6.0 disk, so re-flashing the full image from my dev machine might cause me to loose some of that work. Is there a way to just update relevant boot information to be able to boot to the hard drive with JetPack 6.0?

Thank you.

Hi,

Please do not use jetpack6.0 DP version anymore if you are using this.

There is a known issue in overlay dtb in that version.

I’m not using 6.0 DP, I’m using the release version of 6.0 that the SDK Manager installed,

Is the overlay issue present in 6.0GA(r36.3) release as well ?

Thank you.

Then could you directly try 36.4 ?

I will download the latest SDK Manager and install JetPack 6.1

I will start a new thread when I come across this issue again.

Thank you.

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