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

下拉项目和编译

[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 +0800
Commit:     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-.txt

wuchengbing@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$ l
st7701_fwvga_dsi_vdo_gt.d  st7701_fwvga_dsi_vdo_gt.o

wuchengbing@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$ l
built-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 吴兵博客接受赞助费二维码

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值