Get half raw data of wdr DOL mode 2 exposure

Hi,

My sensor is AR0221, I want to get raw data of WDR DOL mode with 2 frame exposure。
So, the dts file:

  mode1 {/*mode AR0221_MODE_1920X1080_CROP_HDR_30FPS*/
			mclk_khz = "27000";
			num_lanes = "4";
			tegra_sinterface = "serial_e";
			phy_mode = "DPHY";
			discontinuous_clk = "no";
			dpcm_enable = "false";
			cil_settletime = "0";

			dynamic_pixel_bit_depth = "12";
			csi_pixel_bit_depth = "12";
			mode_type = "bayer_wdr_pwl";
			pixel_phase = "grbg";

			active_w = "1936";
			active_h = "2196";
			readout_orientation = "0";
			line_length = "2200";
			inherent_gain = "1";
			pix_clk_hz = "940000000";

			gain_factor = "1";
			min_gain_val = "1"; /* 0dB */
			max_gain_val = "69"; /* 12dB */
			step_gain_val = "1"; /* 0.3 */
			default_gain = "1";

			min_hdr_ratio = "4";
			max_hdr_ratio = "4";

			framerate_factor = "1000000";
			min_framerate = "2000000"; /* 2 */
			max_framerate = "30000000"; /* 30 */
			step_framerate = "1";
			default_framerate= "30000000";

			exposure_factor = "1000000";
			min_exp_time = "30"; /* us */
			max_exp_time = "683709"; /* us */
			step_exp_time = "30";
			default_exp_time = "2495";/* us */

			embedded_metadata_height = "0";

			// is_interlaced = "1";
			// interlaced_type = "1";
			
			num_of_exposure = "2";
			num_of_ignored_lines = "8";
			num_of_lines_offset_0 = "10";
			num_of_ignored_pixels = "4";
			num_of_left_margin_pixels = "6";
			num_of_right_margin_pixels = "6";
		};
		ports {
			#address-cells = <1>;
			#size-cells = <0>;
			port@0 {
				reg = <0>;
				rbpcv2_ar0221_out0: endpoint {
					port-index = <4>;
					bus-width = <4>;
					remote-endpoint = <&rbpcv2_ar0221_csi_in0>;
				};
			};
		};

I use following v4l2-ctrl to get raw data.
command:
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=BA12 --set-ctrl=bypass_mode=0,hdr_enable=1,sensor_mode=1 --stream-mmap --stream-count=1 --stream-to=ov1080.raw

But it has CHANSEL_NOMATCH error, I check https://elinux.org/Jetson_TX2_Camera_BringUp, And
data:0x00000589 mean that no_match, LS, NvCsiDataType_RAW12

[ 47.187753] [ar0221_power_on][426] …
[ 47.271597] [vi5_channel_start_streaming] chan->bypass=0
[ 47.307394] ar0221_set_mode …, mode=1
[ 47.307510] [ar0221_write_table][207] …
[ 47.317610] [ar0221_start_streaming][560] …
[ 47.317729] [ar0221_write_table][207] …
[ 47.360612] tegra194-vi5 15c10000.vi: corr_err: discarding frame 1, flags: 0, err_data 131072
[ 47.360798] tegra194-vi5 15c10000.vi: [debug]discard error
[ 47.393897] tegra194-vi5 15c10000.vi: corr_err: discarding frame 2, flags: 0, err_data 131072
[ 47.394082] tegra194-vi5 15c10000.vi: [debug]discard error
[ 47.427229] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 131072
[ 47.427419] tegra194-vi5 15c10000.vi: [debug]discard error
[ 47.460591] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 131072
[ 47.460809] tegra194-vi5 15c10000.vi: [debug]discard error
[ 47.493904] tegra194-vi5 15c10000.vi: corr_err: discarding frame 5, flags: 0, err_data 131072
[ 47.527230] tegra194-vi5 15c10000.vi: corr_err: discarding frame 6, flags: 0, err_data 131072
[ 47.527442] tegra194-vi5 15c10000.vi: [debug]discard error
[ 47.560584] tegra194-vi5 15c10000.vi: corr_err: discarding frame 7, flags: 0, err_data 131072
[ 47.560802] tegra194-vi5 15c10000.vi: [debug]discard error
[ 47.593901] tegra194-vi5 15c10000.vi: corr_err: discarding frame 8, flags: 0, err_data 131072
[ 47.594090] tegra194-vi5 15c10000.vi: [debug]discard error
[ 47.594243] [ar0221_stop_streaming][572] …
[ 47.594326] [ar0221_write_table][207] …
[ 47.646524] [ar0221_power_off][448] …

# tracer: nop
#
# entries-in-buffer/entries-written: 278/278   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
 kworker/1:2-1344  [001] ....   166.839595: rtos_queue_peek_from_isr_failed: tstamp:5579223597 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   167.007505: rtos_queue_peek_from_isr_failed: tstamp:5584223599 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   167.175565: rtos_queue_peek_from_isr_failed: tstamp:5589223597 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   167.343486: rtos_queue_peek_from_isr_failed: tstamp:5594223600 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   167.455567: rtos_queue_peek_from_isr_failed: tstamp:5599223603 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   167.623494: rtos_queue_peek_from_isr_failed: tstamp:5604223602 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   167.791470: rtos_queue_peek_from_isr_failed: tstamp:5609223599 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   167.959531: rtos_queue_peek_from_isr_failed: tstamp:5614223603 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   168.127523: rtos_queue_peek_from_isr_failed: tstamp:5619223617 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   168.295482: rtos_queue_peek_from_isr_failed: tstamp:5624223607 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   168.463536: rtos_queue_peek_from_isr_failed: tstamp:5629223602 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   168.575506: rtos_queue_peek_from_isr_failed: tstamp:5634223607 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   168.743503: rtos_queue_peek_from_isr_failed: tstamp:5639223599 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   168.911583: rtos_queue_peek_from_isr_failed: tstamp:5644223599 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   169.079519: rtos_queue_peek_from_isr_failed: tstamp:5649223608 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   169.247511: rtos_queue_peek_from_isr_failed: tstamp:5654223603 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   169.415543: rtos_queue_peek_from_isr_failed: tstamp:5659223617 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   169.583586: rtos_queue_peek_from_isr_failed: tstamp:5664223611 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   169.695490: rtos_queue_peek_from_isr_failed: tstamp:5669223604 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   169.863530: rtos_queue_peek_from_isr_failed: tstamp:5674223602 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   170.031541: rtos_queue_peek_from_isr_failed: tstamp:5679223599 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   170.199506: rtos_queue_peek_from_isr_failed: tstamp:5684223606 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   170.367594: rtos_queue_peek_from_isr_failed: tstamp:5689223604 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   170.535506: rtos_queue_peek_from_isr_failed: tstamp:5694223604 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   170.703503: rtos_queue_peek_from_isr_failed: tstamp:5699223621 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   170.815535: rtos_queue_peek_from_isr_failed: tstamp:5704223599 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   170.983550: rtos_queue_peek_from_isr_failed: tstamp:5709223604 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   171.151534: rtos_queue_peek_from_isr_failed: tstamp:5714223612 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   171.319530: rtos_queue_peek_from_isr_failed: tstamp:5719223603 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   171.487529: rtos_queue_peek_from_isr_failed: tstamp:5724223599 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   171.655570: rtos_queue_peek_from_isr_failed: tstamp:5729223604 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   171.823598: rtos_queue_peek_from_isr_failed: tstamp:5734223602 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   171.935605: rtos_queue_peek_from_isr_failed: tstamp:5739223599 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   172.103618: rtos_queue_peek_from_isr_failed: tstamp:5744223603 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   172.271515: rtos_queue_peek_from_isr_failed: tstamp:5749223607 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   172.383571: rtos_queue_peek_from_isr_failed: tstamp:5752947056 queue:0x0bcbcf78
    v4l2-ctl-8601  [001] ....   175.224990: tegra_channel_open: vi-output, ar0221 2-0010
    v4l2-ctl-8601  [000] ....   175.226534: tegra_channel_set_power: ar0221 2-0010 : 0x1
    v4l2-ctl-8601  [000] ....   175.226550: camera_common_s_power: status : 0x1
    v4l2-ctl-8601  [000] ....   175.270879: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
    v4l2-ctl-8601  [000] ....   175.270895: csi_s_power: enable : 0x1
    v4l2-ctl-8601  [001] ....   175.341657: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt c4
    v4l2-ctl-8601  [001] ....   175.362815: tegra_channel_set_stream: enable : 0x1
    v4l2-ctl-8601  [001] ....   175.373928: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x1
    v4l2-ctl-8601  [001] ....   175.373933: csi_s_stream: enable : 0x1
    v4l2-ctl-8601  [001] ....   175.373943: tegra_channel_set_stream: ar0221 2-0010 : 0x1
 kworker/1:2-1344  [001] ....   175.407520: rtos_queue_peek_from_isr_failed: tstamp:5846202455 queue:0x0bcbcf78
 kworker/1:2-1344  [001] ....   175.407524: rtcpu_start: tstamp:5846206238
 kworker/1:2-1344  [001] ....   175.407526: rtos_queue_send_from_isr_failed: tstamp:5846331981 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.407528: rtos_queue_send_from_isr_failed: tstamp:5846332480 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.407529: rtos_queue_send_from_isr_failed: tstamp:5846332999 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.407530: rtos_queue_send_from_isr_failed: tstamp:5846333494 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.407531: rtos_queue_send_from_isr_failed: tstamp:5846333993 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.407533: rtcpu_string: tstamp:5846335339 id:0x04010000 str:"Configuring VI GoS."
      kworker/1:2-1344  [001] ....   175.407562: rtcpu_string: tstamp:5846335955 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000"
 kworker/1:2-1344  [001] ....   175.407575: rtcpu_string: tstamp:5846336631 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000"
 kworker/1:2-1344  [001] ....   175.407586: rtcpu_string: tstamp:5846337439 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000"
 kworker/1:2-1344  [001] ....   175.407597: rtcpu_string: tstamp:5846338099 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000"
 kworker/1:2-1344  [001] ....   175.407607: rtcpu_string: tstamp:5846338760 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000"
 kworker/1:2-1344  [001] ....   175.407617: rtcpu_string: tstamp:5846339443 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000"
 kworker/1:2-1344  [001] ....   175.407627: rtcpu_string: tstamp:5846359528 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol versi"
 kworker/1:2-1344  [001] ....   175.407630: rtcpu_string: tstamp:5846359998 id:0x04010000 str:"on 2.2"
 kworker/1:2-1344  [001] ....   175.407640: rtos_queue_send_from_isr_failed: tstamp:5846416064 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.407642: rtos_queue_send_from_isr_failed: tstamp:5846416685 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.407643: rtos_queue_send_from_isr_failed: tstamp:5846417191 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.407644: rtos_queue_send_from_isr_failed: tstamp:5846417690 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.407645: rtos_queue_send_from_isr_failed: tstamp:5846418210 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.407646: rtcpu_string: tstamp:5846420636 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000"
 kworker/1:2-1344  [001] ....   175.407686: rtos_queue_send_from_isr_failed: tstamp:5846768922 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.407687: rtos_queue_send_from_isr_failed: tstamp:5846769071 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.407688: rtos_queue_send_from_isr_failed: tstamp:5846769224 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.407689: rtos_queue_send_from_isr_failed: tstamp:5846769371 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.407691: rtos_queue_send_from_isr_failed: tstamp:5846769517 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.407693: rtcpu_nvcsi_intr: tstamp:5846772081 class:GLOBAL type:PHY_INTR0 phy:2 cil:0 st:0 vc:0 status:0x00000089
 kworker/1:2-1344  [001] ....   175.407694: rtcpu_nvcsi_intr: tstamp:5846772081 class:GLOBAL type:PHY_INTR0 phy:2 cil:1 st:0 vc:0 status:0x00000088
 kworker/1:2-1344  [001] ....   175.407696: rtcpu_vinotify_event: tstamp:5846800867 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6696916896 data:0x10000000
 kworker/1:2-1344  [001] ....   175.407698: rtcpu_vinotify_event: tstamp:5846801010 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6696925152 data:0x31000001
 kworker/1:2-1344  [001] ....   175.407699: rtcpu_vinotify_event: tstamp:5846801170 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6696927328 data:0x07020001
 kworker/1:2-1344  [001] ....   175.407700: rtcpu_vinotify_event: tstamp:5846801307 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6697041024 data:0x10000000
 kworker/1:2-1344  [001] ....   175.407701: rtcpu_vinotify_event: tstamp:5846801465 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6697049376 data:0x31000002
 kworker/1:2-1344  [001] ....   175.407708: rtcpu_vinotify_error: tstamp:5847515085 tag:CHANSEL_NOMATCH channel:0x50 frame:1 vi_tstamp:5847512850 data:0x00000589
 kworker/1:2-1344  [001] ....   175.407709: rtcpu_vinotify_event: tstamp:5847614452 tag:FS channel:0x01 frame:1 vi_tstamp:5847468166 data:0x00000014
 kworker/1:2-1344  [001] ....   175.407710: rtcpu_vinotify_event: tstamp:5847614613 tag:FS channel:0x00 frame:1 vi_tstamp:5847490461 data:0x00000014
 kworker/1:2-1344  [001] ....   175.407712: rtcpu_vinotify_event: tstamp:5847614757 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:5847490463 data:0x00000000
 kworker/1:2-1344  [001] ....   175.407713: rtcpu_vinotify_event: tstamp:5847614918 tag:CHANSEL_PXL_SOF channel:0x23 frame:1 vi_tstamp:5847490503 data:0x00000001
 kworker/1:2-1344  [001] ....   175.407714: rtcpu_vinotify_event: tstamp:5847615055 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:6731081056 data:0x08020001
 kworker/1:2-1344  [001] ....   175.407715: rtcpu_vinotify_event: tstamp:5847615210 tag:CHANSEL_NOMATCH channel:0x50 frame:1 vi_tstamp:5847512850 data:0x00000589
 kworker/1:2-1344  [001] ....   175.464888: rtcpu_vinotify_event: tstamp:5848426116 tag:FE channel:0x00 frame:1 vi_tstamp:5848422085 data:0x00000024
 kworker/1:2-1344  [001] ....   175.464892: rtcpu_vinotify_event: tstamp:5848426279 tag:CHANSEL_SHORT_FRAME channel:0x10 frame:1 vi_tstamp:5848422086 data:0x01000000
 kworker/1:2-1344  [001] ....   175.464894: rtcpu_vinotify_event: tstamp:5848426421 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:6760893536 data:0x01020001
 kworker/1:2-1344  [001] ....   175.464895: rtcpu_vinotify_event: tstamp:5848426584 tag:ATOMP_FE channel:0x00 frame:1 vi_tstamp:5848422088 data:0x00000000
 kworker/1:2-1344  [001] ....   175.464896: rtcpu_vinotify_event: tstamp:5848426720 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6760918208 data:0x07020002
 kworker/1:2-1344  [001] ....   175.464899: rtos_queue_send_from_isr_failed: tstamp:5848440425 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.464900: rtos_queue_send_from_isr_failed: tstamp:5848440577 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.464901: rtos_queue_send_from_isr_failed: tstamp:5848440732 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.464902: rtos_queue_send_from_isr_failed: tstamp:5848440880 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.464904: rtos_queue_send_from_isr_failed: tstamp:5848441025 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.464908: rtcpu_vinotify_error: tstamp:5848556505 tag:CHANSEL_NOMATCH channel:0x50 frame:2 vi_tstamp:5848554259 data:0x00000589
 kworker/1:2-1344  [001] ....   175.464909: rtcpu_vinotify_event: tstamp:5848794639 tag:FE channel:0x01 frame:1 vi_tstamp:5848423565 data:0x00000024
 kworker/1:2-1344  [001] ....   175.464910: rtcpu_vinotify_event: tstamp:5848794782 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6761126560 data:0x10000000
 kworker/1:2-1344  [001] ....   175.464912: rtcpu_vinotify_event: tstamp:5848794946 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6761148832 data:0x31000003
 kworker/1:2-1344  [001] ....   175.464913: rtcpu_vinotify_event: tstamp:5848795084 tag:FS channel:0x01 frame:2 vi_tstamp:5848509576 data:0x00000014
 kworker/1:2-1344  [001] ....   175.464914: rtcpu_vinotify_event: tstamp:5848795238 tag:FS channel:0x00 frame:2 vi_tstamp:5848531871 data:0x00000014
 kworker/1:2-1344  [001] ....   175.464915: rtcpu_vinotify_event: tstamp:5848795381 tag:ATOMP_FS channel:0x00 frame:2 vi_tstamp:5848531873 data:0x00000000
 kworker/1:2-1344  [001] ....   175.464916: rtcpu_vinotify_event: tstamp:5848795539 tag:CHANSEL_PXL_SOF channel:0x23 frame:2 vi_tstamp:5848531913 data:0x00000001
 kworker/1:2-1344  [001] ....   175.464917: rtcpu_vinotify_event: tstamp:5848795675 tag:RESERVED_19 channel:0x23 frame:2 vi_tstamp:6764406208 data:0x08020002
 kworker/1:2-1344  [001] ....   175.464919: rtcpu_vinotify_event: tstamp:5848795829 tag:CHANSEL_NOMATCH channel:0x50 frame:2 vi_tstamp:5848554259 data:0x00000589
 kworker/1:2-1344  [001] ....   175.464921: rtcpu_vinotify_event: tstamp:5849471143 tag:FE channel:0x00 frame:2 vi_tstamp:5849463495 data:0x00000024
 kworker/1:2-1344  [001] ....   175.464922: rtcpu_vinotify_event: tstamp:5849471305 tag:CHANSEL_SHORT_FRAME channel:0x10 frame:2 vi_tstamp:5849463496 data:0x01000000
 kworker/1:2-1344  [001] ....   175.464923: rtcpu_vinotify_event: tstamp:5849471444 tag:RESERVED_19 channel:0x23 frame:2 vi_tstamp:6794218688 data:0x01020002
 kworker/1:2-1344  [001] ....   175.464924: rtcpu_vinotify_event: tstamp:5849471606 tag:ATOMP_FE channel:0x00 frame:2 vi_tstamp:5849463497 data:0x00000000
 kworker/1:2-1344  [001] ....   175.464925: rtcpu_vinotify_event: tstamp:5849471745 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6794243360 data:0x07020003
 kworker/1:2-1344  [001] ....   175.464926: rtcpu_vinotify_event: tstamp:5849471912 tag:FE channel:0x01 frame:2 vi_tstamp:5849464974 data:0x00000024
 kworker/1:2-1344  [001] ....   175.464927: rtcpu_vinotify_event: tstamp:5849472048 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6794390784 data:0x10000000
 kworker/1:2-1344  [001] ....   175.464929: rtos_queue_send_from_isr_failed: tstamp:5849480184 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.464930: rtos_queue_send_from_isr_failed: tstamp:5849480338 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.464931: rtos_queue_send_from_isr_failed: tstamp:5849480488 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.464932: rtos_queue_send_from_isr_failed: tstamp:5849480636 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.464933: rtos_queue_send_from_isr_failed: tstamp:5849480781 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.464935: rtcpu_vinotify_error: tstamp:5849597913 tag:CHANSEL_NOMATCH channel:0x50 frame:3 vi_tstamp:5849595669 data:0x00000589
 kworker/1:2-1344  [001] ....   175.519512: rtcpu_vinotify_event: tstamp:5849852677 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6794479904 data:0x31000004
 kworker/1:2-1344  [001] ....   175.519515: rtcpu_vinotify_event: tstamp:5849852817 tag:FS channel:0x01 frame:3 vi_tstamp:5849550985 data:0x00000014
 kworker/1:2-1344  [001] ....   175.519517: rtcpu_vinotify_event: tstamp:5849852977 tag:FS channel:0x00 frame:3 vi_tstamp:5849573280 data:0x00000014
 kworker/1:2-1344  [001] ....   175.519518: rtcpu_vinotify_event: tstamp:5849853119 tag:ATOMP_FS channel:0x00 frame:3 vi_tstamp:5849573283 data:0x00000000
 kworker/1:2-1344  [001] ....   175.519519: rtcpu_vinotify_event: tstamp:5849853281 tag:CHANSEL_PXL_SOF channel:0x23 frame:3 vi_tstamp:5849573322 data:0x00000001
 kworker/1:2-1344  [001] ....   175.519520: rtcpu_vinotify_event: tstamp:5849853416 tag:RESERVED_19 channel:0x23 frame:3 vi_tstamp:6797731328 data:0x08020003
 kworker/1:2-1344  [001] ....   175.519522: rtcpu_vinotify_event: tstamp:5849853572 tag:CHANSEL_NOMATCH channel:0x50 frame:3 vi_tstamp:5849595669 data:0x00000589
 kworker/1:2-1344  [001] ....   175.519524: rtos_queue_send_from_isr_failed: tstamp:5850520556 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.519525: rtos_queue_send_from_isr_failed: tstamp:5850520709 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.519526: rtos_queue_send_from_isr_failed: tstamp:5850520861 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.519528: rtos_queue_send_from_isr_failed: tstamp:5850521008 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.519529: rtos_queue_send_from_isr_failed: tstamp:5850521155 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.519530: rtcpu_vinotify_event: tstamp:5850594321 tag:FE channel:0x00 frame:3 vi_tstamp:5850504905 data:0x00000024
 kworker/1:2-1344  [001] ....   175.519531: rtcpu_vinotify_event: tstamp:5850594482 tag:CHANSEL_SHORT_FRAME channel:0x10 frame:3 vi_tstamp:5850504905 data:0x01000000
 kworker/1:2-1344  [001] ....   175.519532: rtcpu_vinotify_event: tstamp:5850594622 tag:RESERVED_19 channel:0x23 frame:3 vi_tstamp:6827543840 data:0x01020003
 kworker/1:2-1344  [001] ....   175.519533: rtcpu_vinotify_event: tstamp:5850594783 tag:ATOMP_FE channel:0x00 frame:3 vi_tstamp:5850504907 data:0x00000000
 kworker/1:2-1344  [001] ....   175.519534: rtcpu_vinotify_event: tstamp:5850594922 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6827568448 data:0x07020004
 kworker/1:2-1344  [001] ....   175.519536: rtcpu_vinotify_event: tstamp:5850595081 tag:FE channel:0x01 frame:3 vi_tstamp:5850506384 data:0x00000024
 kworker/1:2-1344  [001] ....   175.519537: rtcpu_vinotify_event: tstamp:5850595216 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6827728928 data:0x10000000
 kworker/1:2-1344  [001] ....   175.519538: rtcpu_vinotify_event: tstamp:5850595373 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6827751200 data:0x31000005
 kworker/1:2-1344  [001] ....   175.519539: rtcpu_vinotify_event: tstamp:5850595507 tag:FS channel:0x01 frame:4 vi_tstamp:5850592395 data:0x00000014
 kworker/1:2-1344  [001] ....   175.519543: rtcpu_vinotify_error: tstamp:5850639312 tag:CHANSEL_NOMATCH channel:0x50 frame:4 vi_tstamp:5850637078 data:0x00000589
 kworker/1:2-1344  [001] ....   175.519544: rtcpu_vinotify_event: tstamp:5850991766 tag:FS channel:0x00 frame:4 vi_tstamp:5850614690 data:0x00000014
 kworker/1:2-1344  [001] ....   175.519545: rtcpu_vinotify_event: tstamp:5850991907 tag:ATOMP_FS channel:0x00 frame:4 vi_tstamp:5850614692 data:0x00000000
 kworker/1:2-1344  [001] ....   175.519546: rtcpu_vinotify_event: tstamp:5850992065 tag:CHANSEL_PXL_SOF channel:0x23 frame:4 vi_tstamp:5850614732 data:0x00000001
 kworker/1:2-1344  [001] ....   175.519548: rtcpu_vinotify_event: tstamp:5850992203 tag:RESERVED_19 channel:0x23 frame:4 vi_tstamp:6831056416 data:0x08020004
 kworker/1:2-1344  [001] ....   175.519549: rtcpu_vinotify_event: tstamp:5850992358 tag:CHANSEL_NOMATCH channel:0x50 frame:4 vi_tstamp:5850637078 data:0x00000589
 kworker/1:2-1344  [001] ....   175.519551: rtos_queue_peek_from_isr_failed: tstamp:5851202830 queue:0x0bcbcf78
vi-output, ar02-8603  [001] ....   175.560538: tegra_channel_capture_frame: sof:187.252996512
vi-output, ar02-8603  [001] ....   175.560544: tegra_channel_capture_frame: eof:5993.50229760
 kworker/1:2-1344  [001] ....   175.575679: rtos_queue_send_from_isr_failed: tstamp:5851561845 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.575682: rtos_queue_send_from_isr_failed: tstamp:5851561999 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.575684: rtos_queue_send_from_isr_failed: tstamp:5851562152 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.575685: rtos_queue_send_from_isr_failed: tstamp:5851562297 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.575686: rtos_queue_send_from_isr_failed: tstamp:5851562445 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.575688: rtcpu_vinotify_event: tstamp:5851659476 tag:FE channel:0x00 frame:4 vi_tstamp:5851546315 data:0x00000024
 kworker/1:2-1344  [001] ....   175.575690: rtcpu_vinotify_event: tstamp:5851659638 tag:CHANSEL_SHORT_FRAME channel:0x10 frame:4 vi_tstamp:5851546315 data:0x01000000
 kworker/1:2-1344  [001] ....   175.575691: rtcpu_vinotify_event: tstamp:5851659778 tag:RESERVED_19 channel:0x23 frame:4 vi_tstamp:6860868896 data:0x01020004
 kworker/1:2-1344  [001] ....   175.575692: rtcpu_vinotify_event: tstamp:5851659941 tag:ATOMP_FE channel:0x00 frame:4 vi_tstamp:5851546316 data:0x00000000
 kworker/1:2-1344  [001] ....   175.575693: rtcpu_vinotify_event: tstamp:5851660079 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6860893568 data:0x07020005
 kworker/1:2-1344  [001] ....   175.575694: rtcpu_vinotify_event: tstamp:5851660242 tag:FE channel:0x01 frame:4 vi_tstamp:5851547794 data:0x00000024
 kworker/1:2-1344  [001] ....   175.575696: rtcpu_vinotify_event: tstamp:5851660378 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6861043360 data:0x10000000
 kworker/1:2-1344  [001] ....   175.575697: rtcpu_vinotify_event: tstamp:5851660535 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6861065632 data:0x31000006
 kworker/1:2-1344  [001] ....   175.575698: rtcpu_vinotify_event: tstamp:5851660669 tag:FS channel:0x01 frame:5 vi_tstamp:5851633804 data:0x00000014
 kworker/1:2-1344  [001] ....   175.575699: rtcpu_vinotify_event: tstamp:5851660824 tag:FS channel:0x00 frame:5 vi_tstamp:5851656099 data:0x00000014
 kworker/1:2-1344  [001] ....   175.575700: rtcpu_vinotify_event: tstamp:5851660963 tag:ATOMP_FS channel:0x00 frame:5 vi_tstamp:5851656102 data:0x00000000
 kworker/1:2-1344  [001] ....   175.575708: rtcpu_vinotify_error: tstamp:5851680737 tag:CHANSEL_NOMATCH channel:0x50 frame:5 vi_tstamp:5851678488 data:0x00000589
 kworker/1:2-1344  [001] ....   175.575709: rtcpu_vinotify_event: tstamp:5852049888 tag:CHANSEL_PXL_SOF channel:0x23 frame:5 vi_tstamp:5851656141 data:0x00000001
 kworker/1:2-1344  [001] ....   175.575710: rtcpu_vinotify_event: tstamp:5852050027 tag:RESERVED_19 channel:0x23 frame:5 vi_tstamp:6864386016 data:0x08020005
 kworker/1:2-1344  [001] ....   175.575711: rtcpu_vinotify_event: tstamp:5852050186 tag:CHANSEL_NOMATCH channel:0x50 frame:5 vi_tstamp:5851678488 data:0x00000589
 kworker/1:2-1344  [001] ....   175.575712: rtcpu_vinotify_event: tstamp:5852700899 tag:FE channel:0x00 frame:5 vi_tstamp:5852587724 data:0x00000024
 kworker/1:2-1344  [001] ....   175.575714: rtcpu_vinotify_event: tstamp:5852701062 tag:CHANSEL_SHORT_FRAME channel:0x10 frame:5 vi_tstamp:5852587724 data:0x01000000
 kworker/1:2-1344  [001] ....   175.575715: rtcpu_vinotify_event: tstamp:5852701202 tag:RESERVED_19 channel:0x23 frame:5 vi_tstamp:6894194016 data:0x01020005
 kworker/1:2-1344  [001] ....   175.575716: rtcpu_vinotify_event: tstamp:5852701366 tag:ATOMP_FE channel:0x00 frame:5 vi_tstamp:5852587726 data:0x00000000
 kworker/1:2-1344  [001] ....   175.575717: rtcpu_vinotify_event: tstamp:5852701505 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6894218624 data:0x07020006
 kworker/1:2-1344  [001] ....   175.575718: rtcpu_vinotify_event: tstamp:5852701661 tag:FE channel:0x01 frame:5 vi_tstamp:5852589203 data:0x00000024
 kworker/1:2-1344  [001] ....   175.575719: rtcpu_vinotify_event: tstamp:5852701798 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6894361504 data:0x10000000
 kworker/1:2-1344  [001] ....   175.575720: rtcpu_vinotify_event: tstamp:5852701955 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6894386080 data:0x31000007
 kworker/1:2-1344  [001] ....   175.575721: rtcpu_vinotify_event: tstamp:5852702089 tag:FS channel:0x01 frame:6 vi_tstamp:5852675214 data:0x00000014
 kworker/1:2-1344  [001] ....   175.575723: rtcpu_vinotify_event: tstamp:5852702244 tag:FS channel:0x00 frame:6 vi_tstamp:5852697509 data:0x00000014
 kworker/1:2-1344  [001] ....   175.575724: rtcpu_vinotify_event: tstamp:5852702383 tag:ATOMP_FS channel:0x00 frame:6 vi_tstamp:5852697511 data:0x00000000
 kworker/1:2-1344  [001] ....   175.575725: rtcpu_vinotify_event: tstamp:5852702540 tag:CHANSEL_PXL_SOF channel:0x23 frame:6 vi_tstamp:5852697551 data:0x00000001
 kworker/1:2-1344  [001] ....   175.575726: rtcpu_vinotify_event: tstamp:5852702675 tag:RESERVED_19 channel:0x23 frame:6 vi_tstamp:6897706624 data:0x08020006
 kworker/1:2-1344  [001] ....   175.575728: rtcpu_vinotify_error: tstamp:5852722151 tag:CHANSEL_NOMATCH channel:0x50 frame:6 vi_tstamp:5852719897 data:0x00000589
 kworker/1:2-1344  [001] ....   175.575729: rtcpu_vinotify_event: tstamp:5853066873 tag:CHANSEL_NOMATCH channel:0x50 frame:6 vi_tstamp:5852719897 data:0x00000589
    v4l2-ctl-8601  [000] ....   175.627441: tegra_channel_set_stream: enable : 0x0
    v4l2-ctl-8601  [000] ....   175.627448: tegra_channel_set_stream: ar0221 2-0010 : 0x0
 kworker/1:2-1344  [001] ....   175.631550: rtos_queue_send_from_isr_failed: tstamp:5853648371 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.631553: rtos_queue_send_from_isr_failed: tstamp:5853648525 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.631555: rtos_queue_send_from_isr_failed: tstamp:5853648677 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.631556: rtos_queue_send_from_isr_failed: tstamp:5853648822 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.631557: rtos_queue_send_from_isr_failed: tstamp:5853648967 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.631565: rtcpu_vinotify_error: tstamp:5853763543 tag:CHANSEL_NOMATCH channel:0x50 frame:7 vi_tstamp:5853761307 data:0x00000589
 kworker/1:2-1344  [001] ....   175.631567: rtcpu_vinotify_event: tstamp:5853881115 tag:FE channel:0x00 frame:6 vi_tstamp:5853629134 data:0x00000024
 kworker/1:2-1344  [001] ....   175.631568: rtcpu_vinotify_event: tstamp:5853881277 tag:CHANSEL_SHORT_FRAME channel:0x10 frame:6 vi_tstamp:5853629134 data:0x01000000
 kworker/1:2-1344  [001] ....   175.631570: rtcpu_vinotify_event: tstamp:5853881418 tag:RESERVED_19 channel:0x23 frame:6 vi_tstamp:6927519072 data:0x01020006
 kworker/1:2-1344  [001] ....   175.631571: rtcpu_vinotify_event: tstamp:5853881580 tag:ATOMP_FE channel:0x00 frame:6 vi_tstamp:5853629135 data:0x00000000
 kworker/1:2-1344  [001] ....   175.631572: rtcpu_vinotify_event: tstamp:5853881719 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6927543712 data:0x07020007
 kworker/1:2-1344  [001] ....   175.631573: rtcpu_vinotify_event: tstamp:5853881877 tag:FE channel:0x01 frame:6 vi_tstamp:5853630613 data:0x00000024
 kworker/1:2-1344  [001] ....   175.631574: rtcpu_vinotify_event: tstamp:5853882012 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6927695648 data:0x10000000
 kworker/1:2-1344  [001] ....   175.631575: rtcpu_vinotify_event: tstamp:5853882169 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6927725920 data:0x31000008
 kworker/1:2-1344  [001] ....   175.631576: rtcpu_vinotify_event: tstamp:5853882302 tag:FS channel:0x01 frame:7 vi_tstamp:5853716624 data:0x00000014
 kworker/1:2-1344  [001] ....   175.631578: rtcpu_vinotify_event: tstamp:5853882458 tag:FS channel:0x00 frame:7 vi_tstamp:5853738918 data:0x00000014
 kworker/1:2-1344  [001] ....   175.631579: rtcpu_vinotify_event: tstamp:5853882598 tag:ATOMP_FS channel:0x00 frame:7 vi_tstamp:5853738921 data:0x00000000
 kworker/1:2-1344  [001] ....   175.631580: rtcpu_vinotify_event: tstamp:5853882755 tag:CHANSEL_PXL_SOF channel:0x23 frame:7 vi_tstamp:5853738960 data:0x00000001
 kworker/1:2-1344  [001] ....   175.631581: rtcpu_vinotify_event: tstamp:5853882890 tag:RESERVED_19 channel:0x23 frame:7 vi_tstamp:6931031744 data:0x08020007
 kworker/1:2-1344  [001] ....   175.631582: rtcpu_vinotify_event: tstamp:5853883044 tag:CHANSEL_NOMATCH channel:0x50 frame:7 vi_tstamp:5853761307 data:0x00000589
 kworker/1:2-1344  [001] ....   175.631583: rtos_queue_send_from_isr_failed: tstamp:5854398061 queue:0x0bcb41f8
 kworker/1:2-1344  [001] ....   175.631585: rtos_queue_send_from_isr_failed: tstamp:5854398214 queue:0x0bcb8a60
 kworker/1:2-1344  [001] ....   175.631587: rtos_queue_send_from_isr_failed: tstamp:5854398364 queue:0x0bcba5e0
 kworker/1:2-1344  [001] ....   175.631588: rtos_queue_send_from_isr_failed: tstamp:5854398515 queue:0x0bcbb3a0
 kworker/1:2-1344  [001] ....   175.631589: rtos_queue_send_from_isr_failed: tstamp:5854398664 queue:0x0bcbc160
 kworker/1:2-1344  [001] ....   175.631590: rtcpu_vinotify_event: tstamp:5854674582 tag:FE channel:0x00 frame:7 vi_tstamp:5854670543 data:0x00000024
 kworker/1:2-1344  [001] ....   175.631592: rtcpu_nvcsi_intr: tstamp:5854704735 class:GLOBAL type:PHY_INTR0 phy:2 cil:0 st:0 vc:0 status:0x00000088
 kworker/1:2-1344  [001] ....   175.631594: rtcpu_nvcsi_intr: tstamp:5854704735 class:GLOBAL type:PHY_INTR0 phy:2 cil:1 st:0 vc:0 status:0x00000088
 kworker/1:2-1344  [001] ....   175.631595: rtcpu_nvcsi_intr: tstamp:5854704735 class:CORRECTABLE_ERR type:PHY_INTR phy:2 cil:0 st:0 vc:0 status:0x00000088
 kworker/1:2-1344  [001] ....   175.631596: rtcpu_nvcsi_intr: tstamp:5854704735 class:CORRECTABLE_ERR type:PHY_INTR phy:2 cil:1 st:0 vc:0 status:0x00000088
    v4l2-ctl-8601  [000] ....   175.648476: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x0
    v4l2-ctl-8601  [000] ....   175.648481: csi_s_stream: enable : 0x0
 kworker/1:2-1344  [001] ....   175.687762: rtcpu_vinotify_event: tstamp:5855061120 tag:CHANSEL_SHORT_FRAME channel:0x10 frame:7 vi_tstamp:5854670543 data:0x01000000
 kworker/1:2-1344  [001] ....   175.687774: rtcpu_vinotify_event: tstamp:5855061265 tag:RESERVED_19 channel:0x23 frame:7 vi_tstamp:6960848672 data:0x01020007
 kworker/1:2-1344  [001] ....   175.687776: rtcpu_vinotify_event: tstamp:5855061431 tag:ATOMP_FE channel:0x00 frame:7 vi_tstamp:5854670545 data:0x00000000
 kworker/1:2-1344  [001] ....   175.687778: rtcpu_vinotify_event: tstamp:5855061571 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6960873792 data:0x07020008
 kworker/1:2-1344  [001] ....   175.687780: rtcpu_vinotify_event: tstamp:5855061732 tag:FE channel:0x01 frame:7 vi_tstamp:5854672022 data:0x00000024
 kworker/1:2-1344  [001] ....   175.687781: rtcpu_vinotify_event: tstamp:5855061871 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6961056096 data:0x10000000
 kworker/1:2-1344  [001] ....   175.687784: rtcpu_vinotify_event: tstamp:5855062030 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6961078368 data:0x31000009

but when I disable the error data of vi5_capture_dequeue() of vi5_fops.c, like this:

I can get a frame raw data, it size is 4147200 Bytes.

So,

  1. How to locate in the source code where the CHANSEL_NOMATCH error occurs?
  2. How to get sensor output data from frame start to frame end?
  3. About this error, please give me some advise to fix it?

Thank you!

hello tangqc023,

this should be duplicate issue, let’s keep on original thread for issue tracking,
thanks