目录
报错日志
代码分析
报错日志
E/mm-camera( 647): <MCT ><ERROR> 95: mct_bus_sof_thread_run: Session 3: Hinting SOF freeze to happen. Sending event to dump info
E/mm-camera( 647): <MCT ><ERROR> 57: server_debug_dump_data_for_sof_freeze: opendir clk fails
E/mm-camera( 647): <MCT ><ERROR> 99: mct_bus_sof_thread_run: FATAL Session 3: SOF Freeze! Sending error message
E/mm-camera( 647): <MCT ><ERROR> 790: mct_controller_proc_bus_msg_internal: MCT_BUS_MSG_SEND_HW_ERROR
E/mm-camera( 647): <MCT ><ERROR> 645: main: main: camera daemon notify error
代码分析
author | daisy.skye的博客_CSDN博客-嵌入式,Qt,Linux领域博主daisy.skye擅长嵌入式,Qt,Linux,等方面的知识https://blog.csdn.net/qq_40715266?type=blog |
错误现象 | kernel没有报错,正常驱动摄像头并打开,也能读取id但是没有预览成像 |
错误定位 | SOF Freeze! Sending error message |
分析原因 | xml配置和设备树配置中关于cis的配置不一致引起的 |
xml配置 | vendor/qcom/proprietary/mm-camera/mm-camera2/media-controller/modules/sensors/configs/msm8953_camera.xml
2 gc02m1 pmic gc02m1_chromatix 1 BACK_AUX 90
1 0x1F 0x4320 0 |
设备树 配置 | kernel/msm-3.18/arch/arm/boot/dts/msm8953-camera-sensor-qrd.dtsi qcom,camera@2 { cell-index = <2>; compatible = "qcom,camera"; reg = <0x02>; qcom,csiphy-sd-index = <1>; qcom,csid-sd-index = <1>; qcom,mount-angle = <0>; |
参考链接 | https://www.cnblogs.com/Preston/p/8494641.html |