1 概述
12-14 03:14:01.854 0 0 E CAM_ERR : CAM-ISP: cam_ife_csid_irq: 3188 CSID:1 IPP fifo over flow
12-14 03:14:01.887 0 0 E CAM_ERR : CAM-ISP: cam_vfe_irq_err_top_half: 176 Encountered Error: vfe:0: Irq_status0=0x0 Status1=0x80
12-14 03:14:01.898 0 0 E CAM_ERR : CAM-ISP: cam_vfe_irq_err_top_half: 179 Stopping further IRQ processing from this HW index=0
12-14 03:14:01.909 0 0 I CAM_INFO: CAM-ISP: cam_vfe_irq_err_top_half: 213 Violation status = 1
12-14 03:14:01.916 0 0 E CAM_ERR : CAM-ISP: cam_vfe_bus_error_irq_top_half: 2495 Bus Err IRQ
<!--Minimum horizontal blanking interval in pixels -->
<minHorizontalBlanking>xxxxx</minHorizontalBlanking>
<!--Minimum vertical blanking interval in lines -->
<minVerticalBlanking>xxxxx</minVerticalBlanking>
<!--Output pixel clock -->
<outputPixelClock>735436800</outputPixelClock>
2 如何在SM8150上获得适当的minHorizontalBlanking和minVerticalBlanking
adb shell "echo ifeClockFrequencyMHz=0xFFFFFFFF >> /vendor/etc/camera/camxoverridesettings.txt" adb shell "echo ifeCamnocBandwidthMBytes=0xFFFFFFFF >> /vendor/etc/camera/camxoverridesettings.txt" adb shell "echo ifeExternalBandwidthMBytes=0xFFFFFFFF >> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo 0x80 > /sys/kernel/debug/camera_ife/ife_csid_debug" adb shell "echo 0x1 > /sys/kernel/debug/camera_ife/ife_camif_debug" adb logcat -b all -c && adb logcat -b kernel > kmd.log
12-31 20:07:12.806 0 0 E I[0: AudioRecord:10818] CAM_INFO: CAM-ISP: cam_ife_csid_get_hbi_vbi: 2256 Resource 4 HBI: 0x50d0362
12-31 20:07:12.806 0 0 E I[0: AudioRecord:10818] CAM_INFO: CAM-ISP: cam_ife_csid_get_hbi_vbi: 2258 Resource 4 VBI: 0x416471
12-31 20:07:12.839 0 0 E I[0: SyncManager_0: 926] CAM_INFO: CAM-ISP: cam_ife_csid_get_hbi_vbi: 2256 Resource 4 HBI: 0x50c0361
12-31 20:07:12.839 0 0 E I[0: SyncManager_0: 926] CAM_INFO: CAM-ISP: cam_ife_csid_get_hbi_vbi: 2258 Resource 4 VBI: 0x400cb1
12-31 20:07:12.873 0 0 E I[0: logd.writer: 552] CAM_INFO: CAM-ISP: cam_ife_csid_get_hbi_vbi: 2256 Resource 4 HBI: 0x50c0361
12-31 20:07:12.873 0 0 E I[0: logd.writer: 552] CAM_INFO: CAM-ISP: cam_ife_csid_get_hbi_vbi: 2258 Resource 4 VBI: 0x416471
12-31 20:07:12.906 0 0 E I[0:provider@2.4-se: 2182] CAM_INFO: CAM-ISP: cam_ife_csid_get_hbi_vbi: 2256 Resource 4 HBI: 0x50c0361
12-31 20:07:12.906 0 0 E I[0:provider@2.4-se: 2182] CAM_INFO: CAM-ISP: cam_ife_csid_get_hbi_vbi: 2258 Resource 4 VBI: 0x400cb2
adb shell cat /d/clk/cam_cc_ife_0_clk/clk_measure adb shell cat /d/clk/cam_cc_ife_1_clk/clk_measure
3 在SM8250平台下配置minHorizontalBlanking和minVerticalBlanking
4 检查IFE像素时钟速率
10-10 20:29:45.971 839 1557 I CamX : [ INFO][POWER ] camxifenode.cpp:13412 CalculatePixelClockRate() inputWidth=1196 minVerticalBlanking=858 minHorizontalBlanking=600 pixClockHz=314007072 minHBI=64 minVBI=40 Sensor Op 1177526520 sensorOutputWidth=1920
10-10 20:29:45.971 839 1557 I CamX : [ INFO][POWER ] camxifenode.cpp:13476 GetPixelClockRate() Using clock rate 350000000 Hz for inputWidth: 1196
10-10 20:29:45.971 839 1557 I CamX : [ INFO][POWER ] camxifenode.cpp:13412 CalculatePixelClockRate() inputWidth=1128 minVerticalBlanking=858 minHorizontalBlanking=600 pixClockHz=299054354 minHBI=64 minVBI=40 Sensor Op 1177526520 sensorOutputWidth=1920
10-10 20:29:45.971 839 1557 I CamX : [ INFO][POWER ] camxifenode.cpp:13476 GetPixelClockRate() Using clock rate 350000000 Hz for inputWidth: 1128
adb shell cat /d/clk/cam_cc_ife_0_clk/clk_measure adb shell cat /d/clk/cam_cc_ife_1_clk/clk_measure