Jetpack 5.0.2 : NULL VI channel received & VIFALC_TDSTATE

Hi,
I am developing a driver which has been working Jetpack 5.0.2 in xavier
(1)Here is the dtsi:
mclk_khz = “27000”;
num_lanes = “4”;
tegra_sinterface = “serial_a”;
phy_mode = “DPHY”;
discontinuous_clk = “no”;
dpcm_enable = “false”;
cil_settletime = “0”;
dynamic_pixel_bit_depth = “16”;
csi_pixel_bit_depth = “16”;
mode_type = “yuv”;
pixel_phase = “uyvy”;

	active_w = "3840";
	active_h = "2160";
	readout_orientation = "0";
	line_length = "5000";
	inherent_gain = "1";
	mclk_multiplier = "2";
	pix_clk_hz = "300000000";
	serdes_pix_clk_hz = "300000000";

When i used this command:
v4l2-ctl --set-ctrl bypass_mode=0 --stream-mmap -d /dev/video0

and got following error :

[ 641.245393] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 641.245716] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 641.246577] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 641.246759] t194-nvcsi 13e10000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 641.246992] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 641.247150] t194-nvcsi 13e10000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 641.247671] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 641.248565] ------------[ cut here ]------------

and trace as follows:

kworker/0:1-15 [000] … 638.713532: rtcpu_vinotify_event: tstamp:20746020343 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:663856604256 data:0xcd9ce50010000000
kworker/0:1-15 [000] … 638.713536: rtcpu_vinotify_event: tstamp:20746020514 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:663856610048 data:0x0000000031000001
kworker/0:1-15 [000] … 638.713537: rtcpu_vinotify_event: tstamp:20746020706 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:663856672704 data:0xcd9ce20010000000
kworker/0:1-15 [000] … 638.713538: rtcpu_vinotify_event: tstamp:20746020869 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:663856678272 data:0x0000000031000002
vi-output, ox08-3520 [003] … 641.247415: tegra_channel_capture_setup: vnc_id 0 W 3840 H 2160 fmt 10
v4l2-ctl-3518 [002] … 641.257460: tegra_channel_close: vi-output, ox08b40 30-0024

dmesg.txt (86.5 KB)
trace.txt (5.0 KB)

Looks like NVCSI/VI didn’t receive any validate data from the sensor.
May need to probe the MIPI signal to confirm.

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