文檔庫

最新最全的文檔下載
當前位置:文檔庫 > MTK camera debug analysis camera上電流程

MTK camera debug analysis camera上電流程

MTK camera上電流程分析

上電相關文件:

Mediatek/custom/vanzo89_wet_jb2/kernel/camera/camera/kd_camera_hw.c

Mediatek/custom/vanzo89_wet_jb2/kernel/camera/camera/kd_camera_hw.h

Mediate/custom/common/kernel/imgsensor/src/kd_sensorlist.c

Mediate/custom/common/kernel/imgsensor/src/kd_sensorlist.h

注:本文檔以mt89_v10_vanzo_test項目為例

MTK開機過程中會去檢查當前項目(手機上燒錄的當前軟件)所有在Projectconfig.mk中配置過的camera sensor,如下:

CUSTOM_HAL_IMGSENSOR=imx111_mipi_raw ov9724_mipi_raw

CUSTOM_KERNEL_IMGSENSOR=imx111_mipi_raw ov9724_mipi_raw

也就是說在開機的時候,系統會自動去detect這兩顆camera sensor是否都能正常通信,主要是通過讀sensor的id來判斷的。具體是調用下面的函數來開始檢查之旅的:

==========mediate/custom/common/kernel/imgsensor/src/kd_sensorlist.c================

MTK camera debug analysis camera上電流程

MTK camera debug analysis camera上電流程

网站流量怎么赚钱