Hi,
I was trying to port a TC35846 driver, which I used in Jetson Nano, to Jetson Orin Nano. After the changes, I’m currently getting these errors
[89793.454261] tc358746 10-000e: [TC358746-INFO] tc358746_start_streaming: Starting streaming sequence
[89793.454265] Writing reg 0x0016 = 0x00006077
[89793.454491] Writing reg 0x0018 = 0x00000203
[89793.456176] Writing reg 0x0018 = 0x00000213
[89793.456369] Writing reg 0x0006 = 0x0000012c
[89793.456542] Writing reg 0x0008 = 0x00000060
[89793.456714] Writing reg 0x0022 = 0x00000500
[89793.456879] Writing reg 0x0140 = 0x00000000
[89793.457043] Writing reg 0x0142 = 0x00000000
[89793.457207] Writing reg 0x0144 = 0x00000000
[89793.457369] Writing reg 0x0146 = 0x00000000
[89793.457531] Writing reg 0x0148 = 0x00000000
[89793.457691] Writing reg 0x014a = 0x00000000
[89793.457852] Writing reg 0x014c = 0x00000001
[89793.458013] Writing reg 0x014e = 0x00000000
[89793.458173] Writing reg 0x0150 = 0x00000001
[89793.458335] Writing reg 0x0152 = 0x00000000
[89793.458497] Writing reg 0x0210 = 0x00001388
[89793.458659] Writing reg 0x0212 = 0x00000000
[89793.458823] Writing reg 0x0214 = 0x00000003
[89793.458985] Writing reg 0x0216 = 0x00000000
[89793.459147] Writing reg 0x0218 = 0x00001403
[89793.459310] Writing reg 0x021a = 0x00000000
[89793.459495] Writing reg 0x0220 = 0x00000103
[89793.459659] Writing reg 0x0222 = 0x00000000
[89793.459821] Writing reg 0x0224 = 0x00004e20
[89793.459985] Writing reg 0x0226 = 0x00000000
[89793.460147] Writing reg 0x022c = 0x00000002
[89793.460309] Writing reg 0x022e = 0x00000000
[89793.460472] Writing reg 0x0230 = 0x00000005
[89793.460637] Writing reg 0x0232 = 0x00000000
[89793.460799] Writing reg 0x0234 = 0x00000007
[89793.460965] Writing reg 0x0236 = 0x00000000
[89793.461126] Writing reg 0x0238 = 0x00000001
[89793.461286] Writing reg 0x023a = 0x00000000
[89793.461446] Writing reg 0x0204 = 0x00000001
[89793.461607] Writing reg 0x0206 = 0x00000000
[89793.461767] Writing reg 0x0518 = 0x00000001
[89793.461928] Writing reg 0x051a = 0x00000000
[89793.462088] Writing reg 0x0500 = 0x00008083
[89793.462248] Writing reg 0x0502 = 0x0000a300
[89793.462409] Writing reg 0x0032 = 0x00000000
[89793.462572] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0004
[89793.462787] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0004 = 0x00008044
[89793.462790] Writing reg 0x0004 = 0x00008044
[89793.572977] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0002
[89793.573248] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0002 = 0x00000002
[89793.573254] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0004
[89793.573476] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0004 = 0x00008044
[89793.573480] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0008
[89793.573696] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0008 = 0x00000060
[89793.573698] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0032
[89793.573911] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0032 = 0x00000000
[89793.573913] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0070
[89793.574124] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0070 = 0x00000000
[89793.574126] tc358746 10-000e: [TC358746-INFO] tc358746_start_streaming: SysCtl=0x0002 ConfCtl=0x8044 DataFmt=0x0060 PP_MISC=0x0000 CSIRX_DPCtl=0x0000
[89793.574130] tc358746 10-000e: [TC358746-INFO] tc358746_start_streaming: Verifying data flow…
[89793.574132] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0208
[89793.574343] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0208 = 0x00000001
[89793.574345] tc358746 10-000e: [TC358746-DBG] tc358746_verify_data_flow: PPI Status: 0x00000001
[89793.574347] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0410
[89793.574558] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0410 = 0x00001044
[89793.574560] tc358746 10-000e: [TC358746-DBG] tc358746_verify_data_flow: CSI_STATUS: 0x00001044 (TxAct=0, WSync=0, Hlt=0)
[89793.574564] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x044c
[89793.574775] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x044c = 0x00000000
[89793.574777] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x0414
[89793.574988] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x0414 = 0x00000010
[89793.574991] tc358746 10-000e: [TC358746-DBG] tc358746_verify_data_flow: CSI_INT: 0x00000010
[89793.574993] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Reading reg 0x00f8
[89793.575204] tc358746 10-000e: [TC358746-DBG] tc358746_read_reg: Read reg 0x00f8 = 0x00000001
[89793.575206] tc358746 10-000e: [TC358746-DBG] tc358746_verify_data_flow: FIFO Status: 0x00000001
[89793.575208] tc358746 10-000e: [TC358746-ERR] tc358746_verify_data_flow: Video buffer FIFO overflow detected. Check parallel input clock vs CSI-2 TX clock ratio.
[89793.575210] tc358746 10-000e: [TC358746-ERR] tc358746_start_streaming: Data flow verification failed: -5
[89793.575212] tc358746 10-000e: [TC358746-ERR] tc358746_start_streaming: Check: Is parallel camera connected?
[89793.575214] tc358746 10-000e: [TC358746-ERR] tc358746_start_streaming: Check: Is FPC cable seated properly?
[89793.575216] tc358746 10-000e: [TC358746-ERR] tc358746_start_streaming: Check: Is camera sending HSYNC/VSYNC?
[89793.575217] tc358746 10-000e: [TC358746-ERR] tc358746_start_streaming: Failed to start streaming: -5
[89793.575219] tc358746 10-000e: [TC358746-ERR] tc358746_s_stream: Failed to start streaming: -5
[89795.975266] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[89795.975284] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[89795.976462] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
Can someone help me with this ?
*** Please note that this reply is generated by LLM automatically ***
The issue you’re experiencing with the TC35846 driver on the Jetson Orin Nano is related to a video buffer FIFO overflow detected during data flow verification. This error is typically caused by a mismatch between the parallel input clock and the CSI2 TX clock ratio.
To resolve this issue, you can try the following steps:
-
Check the parallel input clock vs CSI2 TX clock ratio: Ensure that the clock ratio is correct and within the recommended range. You can refer to the TC35846 datasheet for more information on the clock ratio requirements.
-
Verify the parallel camera connection: Check if the parallel camera is properly connected to the Jetson Orin Nano. Ensure that the camera is sending HSYNC and VSYNC signals.
-
Check the FPC cable seating: Verify that the FPC cable is properly seated and not loose. A loose FPC cable can cause signal integrity issues, leading to errors like the one you’re experiencing.
-
Review the camera configuration: Ensure that the camera is configured correctly and sending the expected signals. You can refer to the camera datasheet for more information on the configuration requirements.
-
Update the device tree: If you’re using a custom device tree, ensure that it’s updated to reflect the changes you made to the TC35846 driver. You can refer to the Jetson Orin Nano device tree documentation for more information on updating the device tree.
-
Check for kernel updates: Ensure that you’re running the latest kernel version. You can check for kernel updates using the following command:
sudo apt-get update
sudo apt-get dist-upgrade
7. Verify the driver configuration: Ensure that the TC35846 driver is configured correctly. You can refer to the TC35846 driver documentation for more information on configuring the driver.
In comparison to the Jetson Nano, the Jetson Orin Nano has a different clocking scheme and requires a different clock ratio. You may need to update the clock ratio in the device tree or the driver configuration to match the requirements of the Jetson Orin Nano.
Additionally, the Jetson Orin Nano has a more advanced camera interface, and you may need to update the camera configuration to take advantage of the new features.
If you're still experiencing issues after trying the above steps, you can try to debug the issue further by:
* Checking the kernel logs for any error messages related to the TC35846 driver.
* Using a logic analyzer to verify the clock signals and ensure that they're within the recommended range.
* Verifying the camera signals using an oscilloscope to ensure that they're correct and within the recommended range.
By following these steps, you should be able to resolve the issue and get the TC35846 driver working correctly on the Jetson Orin Nano.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
i2c@0 {
status = “okay”;
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
/* TC358746 Parallel-to-CSI2 Bridge */
tc358746@e {
compatible = "toshiba,tc358746";
reg = <0xe>;
status = "okay";
devnode = "video0";
use_sensor_mode_id = "false";
sensor_model = "tc358746";
physical_w = "38.000";
physical_h = "38.000";
mode0 {
num_lanes = "2";
lane_polarity = "6";
tegra_sinterface = "serial_a";
embedded_metadata_height = "0";
readout_orientation = "0";
active_l = "1";
active_t = "1";
active_w = "640";
active_h = "480";
pixel_t = "yuv_uyvy16";
mode_type = "yuv";
pixel_phase = "uyvy";
csi_pixel_bit_depth = "16";
min_gain_val = "0";
step_gain_val = "100";
min_exp_time = "1";
step_exp_time = "1";
min_framerate = "15";
step_framerate = "1";
max_gain_val = "48000";
default_gain = "0";
max_exp_time = "1000000";
default_exp_time = "10000";
max_framerate = "30";
default_framerate = "30";
gain_factor = "1000";
exposure_factor = "1000000";
framerate_factor = "1000";
inherent_gain = "1";
min_hdr_ratio = "1";
max_hdr_ratio = "1";
line_length = "1280";
phy_mode = "DPHY";
discontinuous_clk = "true";
mclk_khz = "0";
pix_clk_hz = "27000000";
mclk_multiplier = "9.33";
cil_settletime = "40";
dpcm_enable = "false";
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
tc358746_out0: endpoint {
status = "okay";
port-index = <0>;
bus-width = <2>;
data-lanes = <1 2>;
clock-lanes = <0>;
link-frequencies = /bits/ 64 <216000000>;
remote-endpoint = <&tc358746_csi_in0>;
};
};
};
};
do I need to add anything other than this from orin nano
I had also checked the clock signal and I was getting clock when the stream started and in jetson nano I didn’t get any overflow issue
Does it matter for below error report by tc358746 driver?
What’s the trace log?
This is the current tracelog
tracer: nop
entries-in-buffer/entries-written: 17/17 #P:6
_-------=> irqs-off
/ _------=> need-resched
| / _-----=> need-resched-lazy
|| / _----=> hardirq/softirq
||| / _—=> preempt-depth
|||| / _–=> preempt-lazy-depth
||||| / _-=> migrate-disable
|||||| / delay
TASK-PID CPU# ||||||| TIMESTAMP FUNCTION
| | | ||||||| | |
v4l2-ctl-5343 \[003\] ....... 48295.227636: tegra_channel_open: vi-output, tc358746 10-000e
v4l2-ctl-5343 \[003\] ....... 48295.228872: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-5344 [000] … 48295.230349: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:5344 tid:5344
vi-output, tc35-5344 [000] … 48295.230361: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:5344 tid:5344
vi-output, tc35-5344 [000] … 48295.230363: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:5344 tid:5344
vi-output, tc35-5344 [000] … 48295.230364: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:5344 tid:5344
v4l2-ctl-5343 [003] … 48295.230380: tegra_channel_set_stream: enable : 0x1
v4l2-ctl-5343 [003] … 48295.232552: tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x1
v4l2-ctl-5343 [003] … 48295.232554: tegra_channel_set_stream: tc358746 10-000e : 0x1
kworker/5:2-150 [005] … 48295.283706: rtcpu_vinotify_event: tstamp:1510080094276 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:48322546098464 data:0x799d580010000000
kworker/5:2-150 [005] … 48295.283708: rtcpu_vinotify_event: tstamp:1510080094504 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:48322546155424 data:0x0000000031000001
kworker/5:2-150 [005] … 48295.283709: rtcpu_vinotify_event: tstamp:1510080094755 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:48322546173600 data:0x799d550010000000
kworker/5:2-150 [005] … 48295.283710: rtcpu_vinotify_event: tstamp:1510080094969 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:48322546193920 data:0x0000000007020001
kworker/5:2-150 [005] … 48295.283710: rtcpu_vinotify_event: tstamp:1510080095209 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:48322546236320 data:0x0000000031000002
vi-output, tc35-5345 [002] … 48297.812812: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
v4l2-ctl-5343 [002] … 48297.915237: tegra_channel_close: vi-output, tc358746 10-000e
kworker/5:2-150 [005] … 48303.967409: rtcpu_string: tstamp:1510351945056 id:0x04010000 str:“VM0 deactivating.”
Do you enable trace log by below command?
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
v4l2-ctl --stream-mmap -c bypass_mode=0
cat /sys/kernel/debug/tracing/trace
Yes I used these commands
Looks like NVCSI/VI doesn’t receive any data from the sensor.
You may need to probe the signal to confirm the sensor output.
And I would suggest connect to another CSI port like CSI-C for sensor bring up.
Thanks
@ShaneCCC
# tracer: nop
#
# entries-in-buffer/entries-written: 95/95 #P:6
#
# _-------=> irqs-off
# / _------=> need-resched
# | / _-----=> need-resched-lazy
# || / _----=> hardirq/softirq
# ||| / _---=> preempt-depth
# |||| / _--=> preempt-lazy-depth
# ||||| / _-=> migrate-disable
# |||||| / delay
# TASK-PID CPU# ||||||| TIMESTAMP FUNCTION
# | | | ||||||| | |
kworker/5:2-146 [005] ....... 365.289618: rtcpu_dbg_set_loglevel: tstamp:12267053886 old:0 new:3
kworker/5:2-146 [005] ....... 365.289622: rtcpu_dbg_exit: tstamp:12267054103
v4l2-ctl-3166 [001] ....... 370.322552: tegra_channel_open: vi-output, tc358746 10-000e
v4l2-ctl-3166 [001] ....... 370.323766: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-3167 [001] ....... 370.325048: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 370.325054: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 370.325055: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 370.325055: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
v4l2-ctl-3166 [003] ....... 370.325091: tegra_channel_set_stream: enable : 0x1
v4l2-ctl-3166 [003] ....... 370.326363: tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x1
v4l2-ctl-3166 [003] ....... 370.326366: csi_s_stream: enable : 0x1
v4l2-ctl-3166 [003] ....... 370.326742: tegra_channel_set_stream: tc358746 10-000e : 0x1
kworker/5:2-146 [005] ....... 370.389486: rtcpu_vinotify_event: tstamp:12426356652 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:397626308960 data:0x799d580010000000
kworker/5:2-146 [005] ....... 370.389488: rtcpu_vinotify_event: tstamp:12426356880 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:397626365888 data:0x0000000031000001
kworker/5:2-146 [005] ....... 370.389488: rtcpu_vinotify_event: tstamp:12426357124 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:397626384000 data:0x799d550010000000
kworker/5:2-146 [005] ....... 370.389489: rtcpu_vinotify_event: tstamp:12426357338 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:397626404320 data:0x0000000007020001
kworker/5:2-146 [005] ....... 370.389489: rtcpu_vinotify_event: tstamp:12426357575 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:397626446688 data:0x0000000031000002
vi-output, tc35-3168 [003] ....... 372.930337: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-3167 [001] ....... 372.930478: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 372.930485: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 372.930486: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 372.930487: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
kworker/5:2-146 [005] ....... 372.969429: rtcpu_vinotify_event: tstamp:12507737482 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:400231784576 data:0x799d580010000000
kworker/5:2-146 [005] ....... 372.969432: rtcpu_vinotify_event: tstamp:12507737732 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:400231831456 data:0x0000000031000001
kworker/5:2-146 [005] ....... 372.969433: rtcpu_vinotify_event: tstamp:12507737950 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:400231849600 data:0x799d550010000000
kworker/5:2-146 [005] ....... 372.969434: rtcpu_vinotify_event: tstamp:12507738189 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:400231869984 data:0x0000000007020001
kworker/5:2-146 [005] ....... 372.969435: rtcpu_vinotify_event: tstamp:12507738405 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:400231946752 data:0x0000000031000002
kworker/5:2-146 [005] ....... 373.361408: rtcpu_nvcsi_intr: tstamp:12520049395 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000040
kworker/5:2-146 [005] ....... 373.361410: rtcpu_nvcsi_intr: tstamp:12520049395 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000040
vi-output, tc35-3168 [003] ....... 375.490422: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-3167 [001] ....... 375.490631: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 375.490642: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 375.490643: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 375.490645: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
kworker/5:2-146 [005] ....... 375.545356: rtcpu_vinotify_event: tstamp:12587491408 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:402791873440 data:0x799d580010000000
kworker/5:2-146 [005] ....... 375.545358: rtcpu_vinotify_event: tstamp:12587491633 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:402791930400 data:0x0000000031000001
kworker/5:2-146 [005] ....... 375.545359: rtcpu_vinotify_event: tstamp:12587491876 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:402791948544 data:0x799d550010000000
kworker/5:2-146 [005] ....... 375.545360: rtcpu_vinotify_event: tstamp:12587492089 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:402791968864 data:0x0000000007020001
kworker/5:2-146 [005] ....... 375.545360: rtcpu_vinotify_event: tstamp:12587492326 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:402792011232 data:0x0000000031000002
vi-output, tc35-3168 [003] ....... 378.050540: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-3167 [001] ....... 378.050918: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 378.050928: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 378.050929: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 378.050930: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
kworker/5:2-146 [005] ....... 378.073295: rtcpu_vinotify_event: tstamp:12667258641 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:405352166560 data:0x799d580010000000
kworker/5:2-146 [005] ....... 378.073298: rtcpu_vinotify_event: tstamp:12667787595 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:405352341824 data:0x0000000031000001
kworker/5:2-146 [005] ....... 378.073299: rtcpu_vinotify_event: tstamp:12667787815 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:405352360000 data:0x799d550010000000
kworker/5:2-146 [005] ....... 378.073299: rtcpu_vinotify_event: tstamp:12667788055 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:405352380288 data:0x0000000007020001
kworker/5:2-146 [005] ....... 378.073300: rtcpu_vinotify_event: tstamp:12667788269 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:405352422912 data:0x0000000031000002
vi-output, tc35-3168 [003] ....... 380.610238: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-3167 [001] ....... 380.610396: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 380.610406: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 380.610408: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
vi-output, tc35-3167 [001] ....... 380.610409: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:3167 tid:3167
kworker/5:2-146 [005] ....... 380.649239: rtcpu_vinotify_event: tstamp:12747540536 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:407911653024 data:0x799d580010000000
kworker/5:2-146 [005] ....... 380.649242: rtcpu_vinotify_event: tstamp:12747540763 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:407911709952 data:0x0000000031000001
kworker/5:2-146 [005] ....... 380.649243: rtcpu_vinotify_event: tstamp:12747541014 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:407911728096 data:0x799d550010000000
kworker/5:2-146 [005] ....... 380.649243: rtcpu_vinotify_event: tstamp:12747541228 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:407911748416 data:0x0000000007020001
kworker/5:2-146 [005] ....... 380.649244: rtcpu_vinotify_event: tstamp:12747541468 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:407911790784 data:0x0000000031000002
vi-output, tc35-3168 [003] ....... 383.170215: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
The first trace log was when I got a overflow error could you pleas check this as well
This error tell the SOT multiple bit errors. It could be the cil_settle time cause the problem.
# tracer: nop
#
# entries-in-buffer/entries-written: 110/110 #P:6
#
# _-------=> irqs-off
# / _------=> need-resched
# | / _-----=> need-resched-lazy
# || / _----=> hardirq/softirq
# ||| / _---=> preempt-depth
# |||| / _--=> preempt-lazy-depth
# ||||| / _-=> migrate-disable
# |||||| / delay
# TASK-PID CPU# ||||||| TIMESTAMP FUNCTION
# | | | ||||||| | |
v4l2-ctl-2836 [000] ....... 184.675226: tegra_channel_open: vi-output, tc358746 9-000e
v4l2-ctl-2836 [000] ....... 184.684759: tegra_channel_set_power: tc358746 9-000e : 0x1
v4l2-ctl-2836 [000] ....... 184.684822: camera_common_s_power: status : 0x1
v4l2-ctl-2836 [000] ....... 184.684846: tegra_channel_set_power: 13e00000.host1x:nvcsi@15a00000- : 0x1
v4l2-ctl-2836 [000] ....... 184.684848: csi_s_power: enable : 0x1
v4l2-ctl-2836 [000] ....... 184.685991: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-2837 [001] ....... 184.695072: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [001] ....... 184.695080: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [001] ....... 184.695082: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [001] ....... 184.695083: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
v4l2-ctl-2836 [002] ....... 184.695109: tegra_channel_set_stream: enable : 0x1
v4l2-ctl-2836 [002] ....... 184.698161: tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x1
v4l2-ctl-2836 [002] ....... 184.698164: csi_s_stream: enable : 0x1
v4l2-ctl-2836 [002] ....... 184.698602: tegra_channel_set_stream: tc358746 9-000e : 0x1
kworker/0:0-7 [000] ....... 184.698726: rtcpu_string: tstamp:6619283723 id:0x04010000 str:"VM0 activating."
kworker/0:0-7 [000] ....... 184.754731: rtcpu_vinotify_event: tstamp:6619954860 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:211822832672 data:0x799d580010000000
kworker/0:0-7 [000] ....... 184.754732: rtcpu_vinotify_event: tstamp:6619955086 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:211822842336 data:0x0000000031000001
kworker/0:0-7 [000] ....... 184.754733: rtcpu_vinotify_event: tstamp:6619955333 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:211822846880 data:0x0000000007020001
kworker/0:0-7 [000] ....... 184.754734: rtcpu_vinotify_event: tstamp:6619955547 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:211822940896 data:0x799d550010000000
kworker/0:0-7 [000] ....... 184.754735: rtcpu_vinotify_event: tstamp:6619955788 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:211822950720 data:0x0000000031000002
vi-output, tc35-2838 [003] ....... 187.360353: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-2837 [001] ....... 187.360667: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [001] ....... 187.360680: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [001] ....... 187.360681: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [001] ....... 187.360683: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
kworker/0:0-7 [000] ....... 187.390696: rtcpu_vinotify_event: tstamp:6702963383 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:214488554720 data:0x799d580010000000
kworker/0:0-7 [000] ....... 187.390700: rtcpu_vinotify_event: tstamp:6702963632 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:214488614720 data:0x0000000031000001
kworker/0:0-7 [000] ....... 187.390701: rtcpu_vinotify_event: tstamp:6702963851 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:214488632832 data:0x799d550010000000
kworker/0:0-7 [000] ....... 187.390701: rtcpu_vinotify_event: tstamp:6702964090 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:214488653152 data:0x0000000007020001
kworker/0:0-7 [000] ....... 187.390702: rtcpu_vinotify_event: tstamp:6702964306 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:214488695520 data:0x0000000031000002
vi-output, tc35-2838 [005] ....... 189.919366: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-2837 [000] ....... 189.919532: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 189.919546: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 189.919547: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 189.919548: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
kworker/0:0-7 [000] ....... 189.966646: rtcpu_vinotify_event: tstamp:6783259457 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:217047420544 data:0x799d580010000000
kworker/0:0-7 [000] ....... 189.966648: rtcpu_vinotify_event: tstamp:6783259681 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:217047477504 data:0x0000000031000001
kworker/0:0-7 [000] ....... 189.966648: rtcpu_vinotify_event: tstamp:6783259926 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:217047495648 data:0x799d550010000000
kworker/0:0-7 [000] ....... 189.966649: rtcpu_vinotify_event: tstamp:6783260139 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:217047515936 data:0x0000000007020001
kworker/0:0-7 [000] ....... 189.966649: rtcpu_vinotify_event: tstamp:6783260379 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:217047558336 data:0x0000000031000002
vi-output, tc35-2838 [005] ....... 192.479233: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-2837 [000] ....... 192.479393: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 192.479419: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 192.479420: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 192.479427: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
kworker/0:0-7 [000] ....... 192.490616: rtcpu_vinotify_event: tstamp:6862730962 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:219607280480 data:0x799d580010000000
kworker/0:0-7 [000] ....... 192.546605: rtcpu_vinotify_event: tstamp:6863229195 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:219607455712 data:0x0000000031000001
kworker/0:0-7 [000] ....... 192.546606: rtcpu_vinotify_event: tstamp:6863229422 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:219607473952 data:0x799d550010000000
kworker/0:0-7 [000] ....... 192.546607: rtcpu_vinotify_event: tstamp:6863229673 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:219607494240 data:0x0000000007020001
kworker/0:0-7 [000] ....... 192.546608: rtcpu_vinotify_event: tstamp:6863229887 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:219607536896 data:0x0000000031000002
vi-output, tc35-2838 [005] ....... 195.039467: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-2837 [000] ....... 195.039617: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 195.039677: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 195.039686: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 195.039687: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
kworker/0:0-7 [000] ....... 195.070563: rtcpu_vinotify_event: tstamp:6942983187 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:222167590464 data:0x799d580010000000
kworker/0:0-7 [000] ....... 195.070564: rtcpu_vinotify_event: tstamp:6942983414 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:222167632512 data:0x0000000031000001
kworker/0:0-7 [000] ....... 195.070565: rtcpu_vinotify_event: tstamp:6942983658 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:222167650688 data:0x799d550010000000
kworker/0:0-7 [000] ....... 195.070566: rtcpu_vinotify_event: tstamp:6942983873 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:222167670944 data:0x0000000007020001
kworker/0:0-7 [000] ....... 195.070566: rtcpu_vinotify_event: tstamp:6942984113 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:222167713344 data:0x0000000031000002
vi-output, tc35-2838 [005] ....... 197.599457: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-2837 [000] ....... 197.599603: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 197.599628: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 197.599630: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [000] ....... 197.599637: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
kworker/0:0-7 [000] ....... 197.662534: rtcpu_vinotify_event: tstamp:7023279152 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:224727646176 data:0x799d580010000000
kworker/0:0-7 [000] ....... 197.662537: rtcpu_vinotify_event: tstamp:7023279406 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:224727688224 data:0x0000000031000001
kworker/0:0-7 [000] ....... 197.662538: rtcpu_vinotify_event: tstamp:7023279624 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:224727706496 data:0x799d550010000000
kworker/0:0-7 [000] ....... 197.662539: rtcpu_vinotify_event: tstamp:7023279865 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:224727726784 data:0x0000000007020001
kworker/0:0-7 [000] ....... 197.662539: rtcpu_vinotify_event: tstamp:7023280080 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:224727769152 data:0x0000000031000002
vi-output, tc35-2838 [000] ....... 200.159977: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
vi-output, tc35-2837 [002] ....... 200.160127: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [002] ....... 200.160137: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [002] ....... 200.160138: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
vi-output, tc35-2837 [002] ....... 200.160139: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2837 tid:2837
kworker/0:0-7 [000] ....... 200.186500: rtcpu_vinotify_event: tstamp:7102756630 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:227288039008 data:0x799d580010000000
kworker/0:0-7 [000] ....... 200.186502: rtcpu_vinotify_event: tstamp:7102756853 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:227288095936 data:0x0000000031000001
kworker/0:0-7 [000] ....... 200.186502: rtcpu_vinotify_event: tstamp:7103248672 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:227288208128 data:0x799d550010000000
kworker/0:0-7 [000] ....... 200.186503: rtcpu_vinotify_event: tstamp:7103248890 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:227288228448 data:0x0000000007020001
kworker/0:0-7 [000] ....... 200.186504: rtcpu_vinotify_event: tstamp:7103249131 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:227288305216 data:0x0000000031000002
vi-output, tc35-2838 [000] ....... 202.719416: tegra_channel_capture_setup: vnc_id 0 W 640 H 480 fmt 13
Currently I'm not getting that error but still hitting the same issue
Still getting frame:0. I’m not able to understand the issue behind this. Can anyone help?
Doesn’t receive any validate data from the sensor.
You may need probe the signal to confirm.
I’m getting underflow and overflow errors from the MIPI chip(tc358746) when I checked the fifo status register after I started the stream, but when I used the same device with Jetson Nano, I didn’t get that issue, do you know why that could happen?