[lcm] MTK平台移植屏幕lcd过程要点

来源:互联网 发布:阿里巴巴 借壳 数据港 编辑:程序博客网 时间:2024/06/06 17:17

  • 下拉项目和编译
  • 参考吴庆亚添加LCM驱动
  • 编译生成对应数据
  • 为87工模添加lcm节点信息
    • TP fl10802
    • LCM himax_852xES
  • 从单屏到多屏兼容

下拉项目和编译

[W5900]    $ git clone ssh://172.16.16.15:29418/mtk_repository/MTK6580_WEG_L1_MP6.V2.19    $ git checkout -b MMI_W5900 origin/MMI_W5900     $ git pull    $ source build/envsetup.sh    $ copyproject SWY_W5910_A01    $ lunch        15. full_lcsh6580_weg_sh_l-eng    $ make -j8 2>&1 |tee wu-log20170705-all.txt

参考吴庆亚添加LCM驱动

http://172.16.16.15:8080/#/c/169046/

Parent:     68d8b668 ([W5900_B02] 添加B02分支)Author:     wuqingya <wuqingya@longcheer.net>AuthorDate: 2016-12-08 19:19:19 +0800Commit:     wuqingya <wuqingya@longcheer.net>CommitDate: 2016-12-08 19:19:19 +0800[W5900][LCM]添加三供LCM GT

编译生成对应数据

$make lk -j8 2>&1 |tee wu-lon-.txt$make kernel bootimage -j8 2>&1 |tee wu-lon-.txtwuchengbing@ubuntu:~/mtk/W5900/MTK6580_WEG_L1_MP6.V2.19/alps/out/target/product/lcsh6580_weg_sh_l/obj/BOOTLOADER_OBJ/build-lcsh6580_weg_sh_l/dev/lcm/st7701_fwvga_dsi_vdo_gt$ lst7701_fwvga_dsi_vdo_gt.d  st7701_fwvga_dsi_vdo_gt.owuchengbing@ubuntu:~/mtk/W5900/MTK6580_WEG_L1_MP6.V2.19/alps/out/target/product/lcsh6580_weg_sh_l/obj/KERNEL_OBJ/drivers/misc/mediatek/lcm/st7701_fwvga_dsi_vdo_gt$ lbuilt-in.o  modules.order  st7701_fwvga_dsi_vdo_gt.o

为*#87#工模添加lcm节点信息

TP fl10802

#if defined(LCT_ADD_TP_VERSION)static int gtp_info_read_proc(struct file *file, char *buffer, size_t count,  loff_t *ppos){

LCM himax_852xES

        #ifdef SLT_DEVINFO_LCM        params->module="TXDY450SFWPC-15";        params->vendor="TONGXINGDA";        params->ic="FL10802";        params->info="480*854";        #endif...

从单屏到多屏兼容

#CUSTOM_LK_LCM = "st7701_fwvga_dsi_vdo_gt"CUSTOM_LK_LCM = "ili9806e_dsi_vdo_fwvga_jd fl10802_fwvga_dsi_vdo_txd st7701_fwvga_dsi_vdo_gt"#CONFIG_CUSTOM_KERNEL_LCM="st7701_fwvga_dsi_vdo_gt"CONFIG_CUSTOM_KERNEL_LCM="ili9806e_dsi_vdo_fwvga_jd fl10802_fwvga_dsi_vdo_txd st7701_fwvga_dsi_vdo_gt"

Wu_Being博客声明:本人博客欢迎转载,请标明博客原文和原链接!谢谢!
《[lcm] MTK平台移植屏幕lcd过程要点》: http://blog.csdn.net/u014134180/article/details/78124117

Wu_Being 吴兵博客接受赞助费二维码

如果你看完这篇博文,觉得对你有帮助,并且愿意付赞助费,那么我会更有动力写下去。