欢迎来到天天文库
浏览记录
ID:42529451
大小:17.13 KB
页数:7页
时间:2019-09-16
《2019MTK_驱动总结文档》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、MTK_驱动总结文档 G616驱动文档总结 在/mediatek/custom下会有好多重名的文件,在不同的文件夹里,最终会编译哪个文件是根据目录的优先级来判断 brighter89_evdo_jb2>mt6589>xxmon 也就是说如果brighter89_evdo_jb2,mt6589,xxmon同时存在一文件,最终编译的会是brighter89_evdo_jb2目录下的文件 也可以通过/mediatek/custom/out/开判断,此文件时最终编译的文件 运行/mediatek/dct/。 选择文件/mediatek/custom/brig
2、hter89_evdo_jb2/kernel/dct/dct/ Edit,打开后可以修改GPIO的模式,上拉,下拉,输入,输出修改后点击“Save”和“GenCode” 重新编译:./makeMtkbrighter89_evdo_jb2codegen./makeMtkbrighter89_evdo_jb2newpllkkernel./makeMtkbrighter89_evdo_jb2bootimage 提交时替换bw/custom/project/g616/mediate/custom/brighter89_evdo_jb2/kernel/dct/dct
3、 修改 CUSTOM_LK_LCM=hx8389b_qhd_dsi_vdo BOOT_LOGO=qhd//根据屏的分辨率 CUSTOM_KERNEL_LCM=hx8389b_qhd_dsi_vdoLCM_HEIGHT=960LCM_WIDTH=540 /mediatek/custom/xxmon/kernel/lcm目录名与下hx8389b_qhd_dsi_vdo名字相同,目录下为驱动文件 在/mediatek/custom/xxmon/kernel/lcm/mt65xx_lcm_下添加要添加的屏#ifdefined(HX8389B_QHD_DSI_
4、VDO)&hx8389b_qhd_dsi_vdo_lcm_drv,#endif 下修改 CUSTOM_HAL_IMGSENSOR=ov5648_mipi_rawhi257_yuv//前后cameraCUSTOM_HAL_MAIN_IMGSENSOR=ov5648_mipi_rawCUSTOM_HAL_SUB_IMGSENSOR=hi257_yuv CUSTOM_KERNEL_IMGSENSOR=ov5648_mipi_rawhi257_yuv//前后cameraCUSTOM_KERNEL_MAIN_IMGSENSOR=ov5648_mipi_rawCUS
5、TOM_KERNEL_SUB_IMGSENSOR=hi257_yuv 驱动要添加的文件: /mediatek/custom/xxmon/kernel/imgsensor/ov5648_mipi_raw/mediatek/custom/xxmon/hal/imgsensor/ov5648_mipi_raw //hi257前camera同理 /mediatek/custom/xxmon/hal/imgsensor/src/#ifdefined(OV5648_MIPI_RAW) RAW_INFO(OV5648MIPI_SENSOR_ID,SENSOR_DRVN
6、AME_OV5648_MIPI_RAW,NULL),#endif /mediatek/custom/xxmon/kernel/imgsensor/src/kd_#ifdefined(OV5648_MIPI_RAW) {OV5648MIPI_SENSOR_ID,SENSOR_DRVNAME_OV5648_MIPI_RAW,OV5648MIPISensorInit},#endif Camera电所在文件: /mediatek/custom/brighter89_evdo_jb2/kernel/camera/camera/kd_camera_核心驱动文件: /
7、mediatek/custom/xxmon/kernel/imgsensor/src/kd_ 如果修改HAL层参数编译命令如下: ./makeMtk-tbrighter89_evdo_jb2mmmediatek/platform/mt6589/hardware/camera/ 下修改:CUSTOM_HAL_LENS=dw9714af CUSTOM_HAL_MAIN_LENS=dw9714afCUSTOM_KERNEL_LENS=dw9714af CUSTOM_KERNEL_MAIN_LENS=dw9714af 添加对应的文件夹和驱动文件 /G616/
8、media
此文档下载收益归作者所有