Dragonboard 410c: What is the MOST stable version(git branch or tag) to grab a image with MIPI adapter 2.4 + ov5645 sensor

Now I used 20.11 version update, but I found it is not so stable. I tried to grab a image with the following commands, only once I suceccfully grabed a image, other 4 times I failed. So I want to know what is the most stable version(git branch or tag),of course, as new as possible. Than you very much.

media-ctl -v -d /dev/media0 -l ‘“msm_csiphy0”:1->“msm_csid0”:0[1],“msm_csid0”:1->“msm_ispif0”:0[1],“msm_ispif0”:1->“msm_vfe0_rdi0”:0[1]’
media-ctl -v -d /dev/media0 -V ‘“ov5645 4-003c”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_csiphy0”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_csid0”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_ispif0”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_vfe0_rdi0”:0[fmt:UYVY8_2X8/1920x1080 field:none]’
gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! ‘video/x-raw,format=UYVY,width=1920,height=1080’ ! jpegenc ! filesink location=image02.jpg

The following log is one of my fail case. (BTW, I added some printk sentences to try to locate the issue, but no real function change)

[ 255.539815] ov5645 4-003c: —<ov5645_s_power> Line:684 on:1,ov5645->power_count:0----
[ 255.631006] dbg —<csiphy_set_clock_rates>:151—clock->name:csiphy0_timer,csiphy->timer_clk_rate:100000000,pixel_clock:168000000—
[ 255.636443] dbg —<csiphy_hw_version_read>:35—CSIPHY HW Version = 0x10—
[ 255.642698] dbg —<csid_isr>:450—CSID_IRQ_STATUS = 0x800—
[ 255.649342] dbg —<ispif_isr_8x16>:233—VFE_m_IRQ_STATUS = 0x8000000,0,0—
[ 255.654950] dbg —<vfe_get>:1261—power_count = 0—
[ 255.662132] dbg —<vfe_global_reset>:252------
[ 255.667066] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 255.671424] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
[ 255.679332] ov5645 4-003c: —<ov5645_s_power> Line:684 on:0,ov5645->power_count:1----
[ 255.685417] dbg —<vfe_put>:1319—power_count = 1—
[ 255.693100] dbg —<vfe_get>:1261—power_count = 0—
[ 255.698173] dbg —<vfe_global_reset>:252------
[ 255.703205] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 255.707535] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
[ 255.715398] dbg —<vfe_put>:1319—power_count = 1—
[ 255.721289] dbg —<vfe_get>:1261—power_count = 0—
[ 255.726542] dbg —<vfe_global_reset>:252------
[ 255.731362] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 255.735747] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
[ 255.743781] dbg —<vfe_put>:1319—power_count = 1—
[ 255.749310] dbg —<vfe_get>:1261—power_count = 0—
[ 255.754576] dbg —<vfe_global_reset>:252------
[ 255.759603] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 255.763961] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
[ 255.771932] dbg —<vfe_put>:1319—power_count = 1—
[ 255.777688] ov5645 4-003c: —<ov5645_entity_init_cfg> Line:979 ----
[ 256.268123] ov5645 4-003c: —<ov5645_s_power> Line:684 on:1,ov5645->power_count:0----
[ 256.352088] dbg —<csiphy_set_clock_rates>:151—clock->name:csiphy0_timer,csiphy->timer_clk_rate:100000000,pixel_clock:168000000—
[ 256.360431] dbg —<csiphy_hw_version_read>:35—CSIPHY HW Version = 0x10—
[ 256.363570] dbg —<csid_isr>:450—CSID_IRQ_STATUS = 0x800—
[ 256.370476] dbg —<ispif_isr_8x16>:233—VFE_m_IRQ_STATUS = 0x8000000,0,0—
[ 256.376070] dbg —<vfe_get>:1261—power_count = 0—
[ 256.383136] dbg —<vfe_global_reset>:252------
[ 256.388129] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 256.392507] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
[ 256.400495] ov5645 4-003c: —<ov5645_s_power> Line:684 on:0,ov5645->power_count:1----
[ 256.406430] dbg —<vfe_put>:1319—power_count = 1—
[ 256.414128] dbg —<vfe_get>:1261—power_count = 0—
[ 256.419184] dbg —<vfe_global_reset>:252------
[ 256.424252] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 256.428618] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
[ 256.436633] dbg —<vfe_put>:1319—power_count = 1—
[ 256.442310] dbg —<vfe_get>:1261—power_count = 0—
[ 256.447405] dbg —<vfe_global_reset>:252------
[ 256.452468] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 256.456830] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
[ 256.464853] dbg —<vfe_put>:1319—power_count = 1—
[ 256.470479] dbg —<vfe_get>:1261—power_count = 0—
[ 256.475629] dbg —<vfe_global_reset>:252------
[ 256.480653] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 256.485042] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
[ 256.493046] dbg —<vfe_put>:1319—power_count = 1—
[ 256.498665] ov5645 4-003c: —<ov5645_entity_init_cfg> Line:979 ----
Setting pipeline to PAUSED …
[ 256.554190] ov5645 4-003c: —<ov5645_s_power> Line:684 on:1,ov5645->power_count:0----
[ 256.630016] dbg —<csiphy_set_clock_rates>:151—clock->name:csiphy0_timer,csiphy->timer_clk_rate:100000000,pixel_clock:168000000—
[ 256.637404] dbg —<csiphy_hw_version_read>:35—CSIPHY HW Version = 0x10—
[ 256.641473] dbg —<csid_isr>:450—CSID_IRQ_STATUS = 0x800—
[ 256.648403] dbg —<ispif_isr_8x16>:233—VFE_m_IRQ_STATUS = 0x8000000,0,0—
[ 256.653929] dbg —<vfe_get>:1261—power_count = 0—
[ 256.661104] dbg —<vfe_global_reset>:252------
[ 256.666083] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 256.670437] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x80000000,0—
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
[ 256.688372] ov5645 4-003c: —<ov5645_get_format> Line:905 ----
[ 256.688473] dbg —<vfe_set_stream>:1451—enable:1,line->id:0—
[ 256.693148] dbg —<vfe_enable>:848—line_id = 0—
[ 256.699435] dbg —<vfe_enable_output>:677—line->id:0,sensor->name:ov5645 4-003c—
[ 256.704459] dbg —<vfe_enable_irq_wm_line>:586—enable(1) line_id: 0x0—
[ 256.712120] dbg —<vfe_bus_connect_wm_to_rdi>:450—wm(0) line_id: 0x0—
[ 256.718887] dbg —<vfe_set_rdi_cid>:556—cid(0) line_id: 0x0—
[ 256.725997] dbg —<ispif_select_csid>:551—intf = 1—
[ 256.732151] dbg —<ispif_config_irq>:637—enable(1) ,intf= 0x1—
[ 256.737462] dbg —<ispif_set_stream>:807—ENANBLE isp IRQ—
[ 256.743402] dbg —<ispif_set_intf_cmd>:751—intf:1,cmd:1,vfe:0,vc:0—
[ 256.749326] dbg —<csid_set_stream>:688—data_type:0x1e = f->code:0x2006—
[ 256.756154] dbg —<csiphy_set_stream>:302—enable:1—
[ 256.763218] dbg —<csiphy_stream_on>:272—pixel_clock:168000000—
[ 256.768570] dbg —<csiphy_settle_cnt_calc>:81—pixel_clock:168000000,bpp:8,num_lanes:2,timer_clk_rate:100000000,mipi_clock:336000000,settle_cnt:11—
[ 256.774934] dbg —<csiphy_lanes_enable>:116—i:0,lane:0,csiphy->base:0x121f5c00,CAMSS_CSI_PHY_LNn_CFG2:0x121f5c04—
[ 256.788225] dbg —<csiphy_lanes_enable>:116—i:1,lane:2,csiphy->base:0x121f5c00,CAMSS_CSI_PHY_LNn_CFG2:0x121f5c84—
[ 256.798984] dbg —<csiphy_lanes_enable>:116—i:2,lane:1,csiphy->base:0x121f5c00,CAMSS_CSI_PHY_LNn_CFG2:0x121f5c44—
[ 256.809661] ov5645 4-003c: —<ov5645_s_stream> Line:1009 enable:1----
[ 256.809757] dbg —<csiphy_isr>:163—INTERRUPT_STATUS(0) = 0x0—
[ 256.826786] dbg —<csiphy_isr>:163—INTERRUPT_STATUS(1) = 0x0—
[ 256.832947] dbg —<csiphy_isr>:163—INTERRUPT_STATUS(2) = 0x0—
[ 256.839110] dbg —<csiphy_isr>:163—INTERRUPT_STATUS(3) = 0x0—
[ 256.845273] dbg —<csiphy_isr>:163—INTERRUPT_STATUS(4) = 0x0—
[ 256.851436] dbg —<csiphy_isr>:163—INTERRUPT_STATUS(5) = 0x0—
[ 256.857600] dbg —<csiphy_isr>:163—INTERRUPT_STATUS(6) = 0x0—
[ 256.863764] dbg —<csiphy_isr>:163—INTERRUPT_STATUS(7) = 0x0—
[ 256.879458] ov5645 4-003c: —<ov5645_s_ctrl> Line:810 ctrl->id:980902----
[ 256.879740] ov5645 4-003c: —<ov5645_s_ctrl> Line:810 ctrl->id:980914----
[ 256.885481] ov5645 4-003c: —<ov5645_s_ctrl> Line:810 ctrl->id:980915----
[ 256.892360] ov5645 4-003c: —<ov5645_s_ctrl> Line:810 ctrl->id:980912----
[ 256.899111] ov5645 4-003c: —<ov5645_s_ctrl> Line:810 ctrl->id:98090c----
[ 256.905981] ov5645 4-003c: —<ov5645_s_ctrl> Line:810 ctrl->id:9a0901----
[ 256.912826] ov5645 4-003c: —<ov5645_s_ctrl> Line:810 ctrl->id:9f0903----
[ 256.919565] ov5645 4-003c: —<ov5645_set_test_pattern> Line:771 value:0----

--------------------------After waiting for a few minutes, I cancel the process by CTRL-C key here.--------
^Chandling interrupt.
Interrupt: Stopping pipeline …
Execution ended after 0:03:44.828971313
Setting pipeline to PAUSED …
Setting pipeline to READY …
[ 481.543556] dbg —<vfe_set_stream>:1451—enable:0,line->id:0—
[ 482.043106] qcom-camss 1b0ac00.camss: VFE sof timeout
[ 482.554399] qcom-camss 1b0ac00.camss: VFE reg update timeout
[ 482.554602] dbg —<vfe_bus_disconnect_wm_from_rdi>:491—wm(0) line_id: 0x0—
[ 482.559194] dbg —<vfe_enable_irq_wm_line>:586—enable(0) line_id: 0x0—
[ 482.566552] dbg —<vfe_disable>:906—line_id = 0—
[ 482.573179] dbg —<ispif_set_intf_cmd>:751—intf:1,cmd:0,vfe:0,vc:0—
[ 482.578415] dbg —<ispif_set_stream>:829—DISANBLE isp IRQ—
[ 482.585171] dbg —<ispif_config_irq>:637—enable(0) ,intf= 0x1—
[ 482.590838] dbg —<ispif_select_csid>:551—intf = 1—
[ 482.597053] dbg —<csiphy_set_stream>:302—enable:0—
[ 482.602637] ov5645 4-003c: —<ov5645_s_stream> Line:1009 enable:0----
Setting pipeline to NULL …
[ 482.614124] ov5645 4-003c: —<ov5645_s_power> Line:684 on:0,ov5645->power_count:1----
[ 482.614855] dbg —<vfe_put>:1319—power_count = 1—
[ 482.622228] dbg —<vfe_isr_read>:922—value0:0x10003e50,value1:0x10003e54—
[ 482.627229] dbg —<vfe_isr>:953—vfe_isr_STATUS = 0x0,100—
Freeing pipeline …