Orin NX(8G) CSI-2 single camera doesn't work but multiple does

您好,我这边在使用Orin NX(8G) Jetson35.3.1,4个GMSL相机通过解串器挂在CSIA/B上。格式:1280x960, yuv422
提供该部分sensor的设备树配置:

isx019_a@1a {
			compatible = "nvidia,isx019";

			reg = <0x1a>;
			
			/* V4L2 device node location */
			devnode = "video0";

			/* Physical dimensions of sensor */
			physical_w = "15.0";
			physical_h = "12.5";

			sensor_model ="isx019";
			
			post_crop_frame_drop = "0";

			/* Convert Gain to unit of dB (decibel) befor passing to kernel driver */
			use_decibel_gain = "true";

			/* enable CID_SENSOR_MODE_ID for sensor modes selection */
			use_sensor_mode_id = "true";

			mode0 {/*mode isx019_MODE_1280X960_CROP_30FPS*/
				mclk_khz = "24000";
				num_lanes = "4";
				tegra_sinterface = "serial_a";
				lane_polarity = "6";
				vc_id = "0";
				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 = "1280";
				active_h = "960";
				readout_orientation = "0";
				line_length = "2200";
				inherent_gain = "1";
				pix_clk_hz = "74250000";
				serdes_pix_clk_hz = "375000000";

				gain_factor = "10";
				min_gain_val = "0"; /* dB */
				max_gain_val = "300"; /* dB */
				step_gain_val = "3"; /* 0.3 */
				default_gain = "0";
				min_hdr_ratio = "1";
				max_hdr_ratio = "1";
				framerate_factor = "1000000";
				min_framerate = "30000000";
				max_framerate = "30000000";
				step_framerate = "1";
				default_framerate = "30000000";
				exposure_factor = "1000000";
				min_exp_time = "59"; /*us, 2 lines*/
				max_exp_time = "33333";
				step_exp_time = "1";
				default_exp_time = "33333";/* us */
				embedded_metadata_height = "0";
			};
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					isx019_isx019_out0: endpoint {
						vc-id = <0>;
						port-index = <0>;
						bus-width = <4>;
						remote-endpoint = <&isx019_csi_in0>;
						};
					};
				};
			gmsl-link {
				src-csi-port = "b";
				dst-csi-port = "a";
				serdes-csi-link = "a";
				csi-mode = "1x4";
				st-vc = <0>;
				vc-id = <0>;
				num-lanes = <4>;
				streams = "yuv422";
				};
			};

遇到的问题是:单个相机无法正常工作,但是大于2个可以。
尝试了提高时钟到最大值,但没有效果。

echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/emc/rate

也尝试了修改dts中的pix_clk_hz和serdes_pix_clk_hz。有趣的现象是:当pix_clk_hz调小到一定程度时,单个可以正常工作,多个不行。
下面提供单个相机无法工作时的trace.log和dmesg。

dmesg

[ 202.787316] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 202.796455] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 202.806271] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 202.813987] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 202.824655] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 202.832371] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 202.843357] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel

trace.log

entries-in-buffer/entries-written: 75842/75842   #P:6
                                _-----=> irqs-off
                               / _----=> need-resched
                              | / _---=> hardirq/softirq
                              || / _--=> preempt-depth
                              ||| /     delay
           TASK-PID     CPU#  ||||   TIMESTAMP  FUNCTION
              | |         |   ||||      |         |
        v4l2-ctl-2568    [000] ....   200.281023: tegra_channel_open: vi-output, isx019 7-001a
        v4l2-ctl-2568    [000] ....   200.284002: tegra_channel_set_power: isx019 7-001a : 0x1
        v4l2-ctl-2568    [000] ....   200.284011: camera_common_s_power: status : 0x1
        v4l2-ctl-2568    [000] ....   200.284034: tegra_channel_set_power: 13e40000.host1x:nvcsi@15a00000- : 0x1
        v4l2-ctl-2568    [000] ....   200.284036: csi_s_power: enable : 0x1
        v4l2-ctl-2568    [000] ....   200.284374: tegra_channel_capture_setup: vnc_id 0 W 1280 H 960 fmt 13
        v4l2-ctl-2568    [000] ....   200.284700: tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-2568    [000] ....   200.286037: tegra_channel_set_stream: 13e40000.host1x:nvcsi@15a00000- : 0x1
        v4l2-ctl-2568    [000] ....   200.286039: csi_s_stream: enable : 0x1
        v4l2-ctl-2568    [000] ....   200.286120: tegra_channel_set_stream: isx019 7-001a : 0x1
     kworker/1:9-154     [001] ....   200.335415: rtcpu_vinotify_event: tstamp:6888470792 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:220430709984 data:0x719d580010000000
     kworker/1:9-154     [001] ....   200.335416: rtcpu_vinotify_event: tstamp:6888470931 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:220430716448 data:0x0000000031000001
     kworker/1:9-154     [001] ....   200.335417: rtcpu_vinotify_event: tstamp:6888471085 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:220430761760 data:0x719d550010000000
     kworker/1:9-154     [001] ....   200.335417: rtcpu_vinotify_event: tstamp:6888471216 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:220430768288 data:0x0000000031000002
     kworker/1:9-154     [001] ....   200.335419: rtcpu_nvcsi_intr: tstamp:6889573010 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000040
     kworker/1:9-154     [001] ....   200.335419: rtcpu_nvcsi_intr: tstamp:6889573010 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000040
     kworker/1:9-154     [001] ....   200.335419: rtcpu_nvcsi_intr: tstamp:6889686155 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335420: rtcpu_nvcsi_intr: tstamp:6889687196 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335420: rtcpu_nvcsi_intr: tstamp:6889688240 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000004
     kworker/1:9-154     [001] ....   200.335421: rtcpu_nvcsi_intr: tstamp:6889688240 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000040
     kworker/1:9-154     [001] ....   200.335421: rtcpu_nvcsi_intr: tstamp:6889689280 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335421: rtcpu_nvcsi_intr: tstamp:6889690320 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335422: rtcpu_nvcsi_intr: tstamp:6889691360 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335422: rtcpu_nvcsi_intr: tstamp:6889692401 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335422: rtcpu_nvcsi_intr: tstamp:6889693445 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335423: rtcpu_nvcsi_intr: tstamp:6889694488 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335423: rtcpu_nvcsi_intr: tstamp:6889694488 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000040
     kworker/1:9-154     [001] ....   200.335423: rtcpu_nvcsi_intr: tstamp:6889695530 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335423: rtcpu_nvcsi_intr: tstamp:6889696571 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335424: rtcpu_nvcsi_intr: tstamp:6889697611 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335424: rtcpu_nvcsi_intr: tstamp:6889698651 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335424: rtcpu_nvcsi_intr: tstamp:6889699692 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335425: rtcpu_nvcsi_intr: tstamp:6889700735 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335425: rtcpu_nvcsi_intr: tstamp:6889700735 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000040
     kworker/1:9-154     [001] ....   200.335425: rtcpu_nvcsi_intr: tstamp:6889701780 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335425: rtcpu_nvcsi_intr: tstamp:6889702821 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335426: rtcpu_nvcsi_intr: tstamp:6889703865 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335426: rtcpu_nvcsi_intr: tstamp:6889704905 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335426: rtcpu_nvcsi_intr: tstamp:6889704905 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000040
     kworker/1:9-154     [001] ....   200.335426: rtcpu_nvcsi_intr: tstamp:6889705944 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335427: rtcpu_nvcsi_intr: tstamp:6889706985 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000004
     kworker/1:9-154     [001] ....   200.335427: rtcpu_nvcsi_intr: tstamp:6889708026 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335427: rtcpu_nvcsi_intr: tstamp:6889708026 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000044
     kworker/1:9-154     [001] ....   200.335427: rtcpu_nvcsi_intr: tstamp:6889709070 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335428: rtcpu_nvcsi_intr: tstamp:6889710114 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335428: rtcpu_nvcsi_intr: tstamp:6889710114 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000040
     kworker/1:9-154     [001] ....   200.335428: rtcpu_nvcsi_intr: tstamp:6889711155 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335429: rtcpu_nvcsi_intr: tstamp:6889712196 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335429: rtcpu_nvcsi_intr: tstamp:6889713236 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000004
     kworker/1:9-154     [001] ....   200.335429: rtcpu_nvcsi_intr: tstamp:6889714276 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335429: rtcpu_nvcsi_intr: tstamp:6889715317 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335429: rtcpu_nvcsi_intr: tstamp:6889716360 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335430: rtcpu_nvcsi_intr: tstamp:6889717405 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000004
     kworker/1:9-154     [001] ....   200.335430: rtcpu_nvcsi_intr: tstamp:6889717405 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000040
     kworker/1:9-154     [001] ....   200.335430: rtcpu_nvcsi_intr: tstamp:6889718446 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335431: rtcpu_nvcsi_intr: tstamp:6889719490 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335431: rtcpu_nvcsi_intr: tstamp:6889720529 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335431: rtcpu_nvcsi_intr: tstamp:6889721567 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335431: rtcpu_nvcsi_intr: tstamp:6889722610 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335432: rtcpu_nvcsi_intr: tstamp:6889722610 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000040
     kworker/1:9-154     [001] ....   200.335432: rtcpu_nvcsi_intr: tstamp:6889723651 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335432: rtcpu_nvcsi_intr: tstamp:6889724695 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335432: rtcpu_nvcsi_intr: tstamp:6889725738 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000000
     kworker/1:9-154     [001] ....   200.335433: rtcpu_nvcsi_intr: tstamp:6889726781 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x10000004

下面是多个相机正常工作时的trace.log

entries-in-buffer/entries-written: 1672/1672   #P:6
                                _-----=> irqs-off
                               / _----=> need-resched
                              | / _---=> hardirq/softirq
                              || / _--=> preempt-depth
                              ||| /     delay
           TASK-PID     CPU#  ||||   TIMESTAMP  FUNCTION
              | |         |   ||||      |         |
     kworker/1:9-154     [001] ....   354.543959: rtcpu_string: tstamp:11707340036 id:0x04010000 str:"VM0 activating."
     kworker/1:9-154     [001] ....   354.543964: rtcpu_dbg_set_loglevel: tstamp:11707449688 old:2 new:2
     kworker/1:4-113     [001] ....   360.708148: rtcpu_string: tstamp:11901687360 id:0x04010000 str:"VM0 deactivating."
        v4l2-ctl-2721    [002] ....   371.324360: tegra_channel_open: vi-output, isx019 0-001a
        v4l2-ctl-2721    [002] ....   371.327415: tegra_channel_set_power: isx019 0-001a : 0x1
        v4l2-ctl-2721    [002] ....   371.327424: camera_common_s_power: status : 0x1
        v4l2-ctl-2721    [002] ....   371.327447: tegra_channel_set_power: 13e40000.host1x:nvcsi@15a00000- : 0x1
        v4l2-ctl-2721    [002] ....   371.327449: csi_s_power: enable : 0x1
        v4l2-ctl-2721    [001] ....   371.328028: tegra_channel_capture_setup: vnc_id 0 W 1280 H 960 fmt 13
        v4l2-ctl-2721    [001] ....   371.333686: tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-2721    [001] ....   371.334991: tegra_channel_set_stream: 13e40000.host1x:nvcsi@15a00000- : 0x1
        v4l2-ctl-2721    [001] ....   371.334993: csi_s_stream: enable : 0x1
        v4l2-ctl-2721    [001] ....   371.335299: tegra_channel_set_stream: isx019 0-001a : 0x1
     kworker/1:9-154     [001] ....   371.347708: rtcpu_string: tstamp:12233632343 id:0x04010000 str:"VM0 activating."
     kworker/1:9-154     [001] ....   371.347710: rtcpu_vinotify_event: tstamp:12234072690 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:391479831264 data:0x719e300010000000
     kworker/1:9-154     [001] ....   371.347711: rtcpu_vinotify_event: tstamp:12234072851 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:391479837664 data:0x0000000031000001
     kworker/1:9-154     [001] ....   371.347711: rtcpu_vinotify_event: tstamp:12234073003 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:391479878432 data:0x719e2d0010000000
     kworker/1:9-154     [001] ....   371.347712: rtcpu_vinotify_event: tstamp:12234073134 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:391479884992 data:0x0000000031000002
 vi-output, isx0-2723    [003] ....   371.389450: tegra_channel_capture_frame: sof:391.498927456
 vi-output, isx0-2723    [003] ....   371.389451: tegra_channel_capture_frame: eof:391.535301728
     kworker/1:9-154     [001] ....   371.403719: rtcpu_vinotify_error: tstamp:12234342951 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x44 frame:1 vi_tstamp:391498934336 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403720: rtcpu_vinotify_error: tstamp:12234343387 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x84 frame:1 vi_tstamp:391498941216 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403720: rtcpu_vinotify_error: tstamp:12234343816 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0xc4 frame:1 vi_tstamp:391498948160 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403721: rtcpu_vinotify_event: tstamp:12234410634 cch:0 vi:1 tag:FS channel:0x00 frame:1 vi_tstamp:391495307744 data:0x0000000100000012
     kworker/1:9-154     [001] ....   371.403722: rtcpu_vinotify_event: tstamp:12234410769 cch:0 vi:1 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:391495307744 data:0x0000000800000000
     kworker/1:9-154     [001] ....   371.403722: rtcpu_vinotify_event: tstamp:12234410922 cch:-1 vi:1 tag:FS channel:0x01 frame:1 vi_tstamp:391495308160 data:0x0000000100000012
     kworker/1:9-154     [001] ....   371.403723: rtcpu_vinotify_event: tstamp:12234411055 cch:-1 vi:1 tag:FS channel:0x02 frame:1 vi_tstamp:391495308608 data:0x0000000100000012
     kworker/1:9-154     [001] ....   371.403723: rtcpu_vinotify_event: tstamp:12234411207 cch:-1 vi:1 tag:FS channel:0x03 frame:1 vi_tstamp:391495309088 data:0x0000000100000012
     kworker/1:9-154     [001] ....   371.403724: rtcpu_vinotify_event: tstamp:12234411342 cch:0 vi:1 tag:CHANSEL_PXL_SOF channel:0x23 frame:1 vi_tstamp:391498927456 data:0x0000000000000001
     kworker/1:9-154     [001] ....   371.403724: rtcpu_vinotify_event: tstamp:12234411495 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:1 vi_tstamp:391498928992 data:0x0000000008020001
     kworker/1:9-154     [001] ....   371.403725: rtcpu_vinotify_event: tstamp:12234411627 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x44 frame:1 vi_tstamp:391498934336 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403725: rtcpu_vinotify_event: tstamp:12234411779 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x84 frame:1 vi_tstamp:391498941216 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403726: rtcpu_vinotify_event: tstamp:12234411911 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0xc4 frame:1 vi_tstamp:391498948160 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403726: rtcpu_vinotify_event: tstamp:12235341256 cch:0 vi:1 tag:CHANSEL_PXL_EOF channel:0x23 frame:1 vi_tstamp:391530899776 data:0x0000000003bf0002
     kworker/1:9-154     [001] ....   371.403727: rtcpu_vinotify_event: tstamp:12235341392 cch:0 vi:1 tag:ATOMP_FRAME_DONE channel:0x23 frame:1 vi_tstamp:391530900416 data:0x0000000000000000
     kworker/1:9-154     [001] ....   371.403727: rtcpu_vinotify_error: tstamp:12235593122 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x44 frame:2 vi_tstamp:391538933632 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403728: rtcpu_vinotify_error: tstamp:12235593562 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x84 frame:2 vi_tstamp:391538940480 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403728: rtcpu_vinotify_error: tstamp:12235593996 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0xc4 frame:2 vi_tstamp:391538947360 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403728: rtcpu_vinotify_event: tstamp:12235595645 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:1 vi_tstamp:391530904000 data:0x0000000002020001
     kworker/1:9-154     [001] ....   371.403729: rtcpu_vinotify_event: tstamp:12235595789 cch:0 vi:1 tag:FE channel:0x00 frame:1 vi_tstamp:391535301728 data:0x0000000100000022
     kworker/1:9-154     [001] ....   371.403729: rtcpu_vinotify_event: tstamp:12235595944 cch:0 vi:1 tag:ATOMP_FE channel:0x00 frame:1 vi_tstamp:391535301728 data:0x0000000800000000
     kworker/1:9-154     [001] ....   371.403730: rtcpu_vinotify_event: tstamp:12235596076 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:1 vi_tstamp:391535307488 data:0x0000000000020001
     kworker/1:9-154     [001] ....   371.403730: rtcpu_vinotify_event: tstamp:12235596225 cch:-1 vi:1 tag:FE channel:0x01 frame:1 vi_tstamp:391535302176 data:0x0000000100000022
     kworker/1:9-154     [001] ....   371.403730: rtcpu_vinotify_event: tstamp:12235596356 cch:-1 vi:1 tag:FE channel:0x02 frame:1 vi_tstamp:391535302656 data:0x0000000100000022
     kworker/1:9-154     [001] ....   371.403730: rtcpu_vinotify_event: tstamp:12235596503 cch:-1 vi:1 tag:FE channel:0x03 frame:1 vi_tstamp:391535303104 data:0x0000000100000022
     kworker/1:9-154     [001] ....   371.403731: rtcpu_vinotify_event: tstamp:12235596634 cch:0 vi:1 tag:FS channel:0x00 frame:2 vi_tstamp:391535306944 data:0x0000000200000012
     kworker/1:9-154     [001] ....   371.403731: rtcpu_vinotify_event: tstamp:12235596785 cch:0 vi:1 tag:ATOMP_FS channel:0x00 frame:2 vi_tstamp:391535306944 data:0x0000000800000000
     kworker/1:9-154     [001] ....   371.403731: rtcpu_vinotify_event: tstamp:12235596916 cch:-1 vi:1 tag:FS channel:0x01 frame:2 vi_tstamp:391535307392 data:0x0000000200000012
     kworker/1:9-154     [001] ....   371.403731: rtcpu_vinotify_event: tstamp:12235597064 cch:-1 vi:1 tag:FS channel:0x02 frame:2 vi_tstamp:391535307872 data:0x0000000200000012
     kworker/1:9-154     [001] ....   371.403732: rtcpu_vinotify_event: tstamp:12235597192 cch:-1 vi:1 tag:FS channel:0x03 frame:2 vi_tstamp:391535308320 data:0x0000000200000012
     kworker/1:9-154     [001] ....   371.403732: rtcpu_vinotify_event: tstamp:12235597344 cch:0 vi:1 tag:CHANSEL_PXL_SOF channel:0x23 frame:2 vi_tstamp:391538926688 data:0x0000000000000001
     kworker/1:9-154     [001] ....   371.403732: rtcpu_vinotify_event: tstamp:12235597475 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:2 vi_tstamp:391538928224 data:0x0000000008020002
     kworker/1:9-154     [001] ....   371.403732: rtcpu_vinotify_event: tstamp:12235597624 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x44 frame:2 vi_tstamp:391538933632 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403733: rtcpu_vinotify_event: tstamp:12235597755 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x84 frame:2 vi_tstamp:391538940480 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403733: rtcpu_vinotify_event: tstamp:12235898144 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0xc4 frame:2 vi_tstamp:391538947360 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.403733: rtcpu_vinotify_event: tstamp:12235898288 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:391539066304 data:0x719e300010000000
     kworker/1:9-154     [001] ....   371.403733: rtcpu_vinotify_event: tstamp:12235898441 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:391539072832 data:0x0000000031000003
 vi-output, isx0-2723    [003] ....   371.429451: tegra_channel_capture_frame: sof:391.538926688
 vi-output, isx0-2723    [003] ....   371.429453: tegra_channel_capture_frame: eof:391.575300928
     kworker/1:9-154     [001] ....   371.459710: rtcpu_vinotify_event: tstamp:12236730354 cch:0 vi:1 tag:CHANSEL_PXL_EOF channel:0x23 frame:2 vi_tstamp:391570899072 data:0x0000000003bf0002
     kworker/1:9-154     [001] ....   371.459712: rtcpu_vinotify_event: tstamp:12236730513 cch:0 vi:1 tag:ATOMP_FRAME_DONE channel:0x23 frame:2 vi_tstamp:391570899744 data:0x0000000000000000
     kworker/1:9-154     [001] ....   371.459713: rtcpu_vinotify_event: tstamp:12236730652 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:2 vi_tstamp:391570902176 data:0x0000000002020002
     kworker/1:9-154     [001] ....   371.459713: rtcpu_vinotify_event: tstamp:12236730805 cch:0 vi:1 tag:FE channel:0x00 frame:2 vi_tstamp:391575300896 data:0x0000000200000022
     kworker/1:9-154     [001] ....   371.459713: rtcpu_vinotify_event: tstamp:12236730944 cch:0 vi:1 tag:ATOMP_FE channel:0x00 frame:2 vi_tstamp:391575300928 data:0x0000000800000000
     kworker/1:9-154     [001] ....   371.459714: rtcpu_vinotify_event: tstamp:12236731101 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:2 vi_tstamp:391575306752 data:0x0000000000020002
     kworker/1:9-154     [001] ....   371.459714: rtcpu_vinotify_event: tstamp:12236731235 cch:-1 vi:1 tag:FE channel:0x01 frame:2 vi_tstamp:391575301376 data:0x0000000200000022
     kworker/1:9-154     [001] ....   371.459715: rtcpu_vinotify_event: tstamp:12236731390 cch:-1 vi:1 tag:FE channel:0x02 frame:2 vi_tstamp:391575301856 data:0x0000000200000022
     kworker/1:9-154     [001] ....   371.459715: rtcpu_vinotify_event: tstamp:12236731523 cch:-1 vi:1 tag:FE channel:0x03 frame:2 vi_tstamp:391575302304 data:0x0000000200000022
     kworker/1:9-154     [001] ....   371.459715: rtcpu_vinotify_event: tstamp:12236731676 cch:0 vi:1 tag:FS channel:0x00 frame:3 vi_tstamp:391575306144 data:0x0000000300000012
     kworker/1:9-154     [001] ....   371.459716: rtcpu_vinotify_event: tstamp:12236731815 cch:0 vi:1 tag:ATOMP_FS channel:0x00 frame:3 vi_tstamp:391575306176 data:0x0000000800000000
     kworker/1:9-154     [001] ....   371.459716: rtcpu_vinotify_event: tstamp:12236731968 cch:-1 vi:1 tag:FS channel:0x01 frame:3 vi_tstamp:391575306592 data:0x0000000300000012
     kworker/1:9-154     [001] ....   371.459717: rtcpu_vinotify_event: tstamp:12236732100 cch:-1 vi:1 tag:FS channel:0x02 frame:3 vi_tstamp:391575307040 data:0x0000000300000012
     kworker/1:9-154     [001] ....   371.459717: rtcpu_vinotify_error: tstamp:12236842908 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x44 frame:3 vi_tstamp:391578932896 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.459718: rtcpu_vinotify_error: tstamp:12236843345 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x84 frame:3 vi_tstamp:391578939776 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.459718: rtcpu_vinotify_error: tstamp:12236843774 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0xc4 frame:3 vi_tstamp:391578946624 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.459719: rtcpu_vinotify_event: tstamp:12237047527 cch:-1 vi:1 tag:FS channel:0x03 frame:3 vi_tstamp:391575307488 data:0x0000000300000012
     kworker/1:9-154     [001] ....   371.459719: rtcpu_vinotify_event: tstamp:12237047663 cch:0 vi:1 tag:CHANSEL_PXL_SOF channel:0x23 frame:3 vi_tstamp:391578925920 data:0x0000000000000001
     kworker/1:9-154     [001] ....   371.459720: rtcpu_vinotify_event: tstamp:12237047815 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:3 vi_tstamp:391578927392 data:0x0000000008020003
     kworker/1:9-154     [001] ....   371.459720: rtcpu_vinotify_event: tstamp:12237047944 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x44 frame:3 vi_tstamp:391578932896 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.459720: rtcpu_vinotify_event: tstamp:12237048096 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0x84 frame:3 vi_tstamp:391578939776 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.459720: rtcpu_vinotify_event: tstamp:12237048225 cch:-1 vi:1 tag:CHANSEL_NOMATCH channel:0xc4 frame:3 vi_tstamp:391578946624 data:0x00000000000003c9
     kworker/1:9-154     [001] ....   371.459721: rtcpu_vinotify_event: tstamp:12237048380 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:391579057440 data:0x719e2d0010000000
     kworker/1:9-154     [001] ....   371.459721: rtcpu_vinotify_event: tstamp:12237048511 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:391579064000 data:0x0000000031000004
 vi-output, isx0-2723    [003] ....   371.469452: tegra_channel_capture_frame: sof:391.578925920
 vi-output, isx0-2723    [003] ....   371.469454: tegra_channel_capture_frame: eof:391.615300128
 vi-output, isx0-2723    [003] ....   371.509293: tegra_channel_capture_frame: sof:391.618925120
 vi-output, isx0-2723    [003] ....   371.509295: tegra_channel_capture_frame: eof:391.655299328
     kworker/1:9-154     [001] ....   371.515713: rtcpu_vinotify_event: tstamp:12237980325 cch:0 vi:1 tag:CHANSEL_PXL_EOF channel:0x23 frame:3 vi_tstamp:391610898304 data:0x0000000003bf0002
     kworker/1:9-154     [001] ....   371.515714: rtcpu_vinotify_event: tstamp:12237980464 cch:0 vi:1 tag:ATOMP_FRAME_DONE channel:0x23 frame:3 vi_tstamp:391610898944 data:0x0000000000000000
     kworker/1:9-154     [001] ....   371.515715: rtcpu_vinotify_event: tstamp:12237980618 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:3 vi_tstamp:391610901376 data:0x0000000002020003
     kworker/1:9-154     [001] ....   371.515715: rtcpu_vinotify_event: tstamp:12237980753 cch:0 vi:1 tag:FE channel:0x00 frame:3 vi_tstamp:391615300128 data:0x0000000300000022

有人说建议更换成35.4.1,但是我查看了release note后,没发现有这块相关的已知bug的解决。目前还是怀疑是我这边的问题但没什么思路。
需要您的帮助,感激不尽。

hello 897989187,

as you can see in Release Notes (r35.4.1).

Added support for Deskew calibration for high data rate sensors (> 1.5 Gbps).

感谢帮助!
我曾经尝试过提高serdes_pix_clk_hz来满足data rate sensors (> 1.5 Gbps)的条件,确实有效:提高之前无论单个或多个摄像头都无法使用,提高后则是现在的情况。
您的意思是说我应该尝试35.4.1的版本吗?

hello 897989187,

please moving to JP-5.1.2/l4t-r35.4.1 for verification,
if you’re still seeing issues, please see-also Topic 268833 to apply JP-5.1.2 camera firmware update.

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