微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 6589屏兼容,点不亮的问题。(已经解决)

6589屏兼容,点不亮的问题。(已经解决)

时间:10-02 整理:3721RD 点击:
有没有遇到6589做LCD兼容,lcd点不亮的问题,log看不到跑LCM_compare_id 这个函数
[BLDR] <0x81E00000>=0xEA000007
[BLDR] <0x81E00004>=0xEA006297
[PROFILE] ------- I2C init takes 0 ms --------
mtk_wdt_mode LK config  mode value=71
mtk_wdt_mode_config LK  mode value=30, tmp:22000030
UB wdt init
mtk_wdt_mode LK config  mode value=30
mtk_wdt_mode_config LK  mode value=79, tmp:22000079
[LEDS]LK: leds_init: mt65xx_backlight_off
[LEDS]LK: mt65xx_backlight_off
[LEDS]LK: lcd-backlight level is 0
[LEDS]LK: brightness_set_GPIO_cust =0
[PROFILE] ------- led init takes 2 ms --------
[LEDS]LK: ISINK_init: turn on PMIC6320 isink
DISP/disp common log enabled
DISP/lcd log enabled
DISP_Init, 599
DISP/DISP_Init, 603
DISP/DISP_Init, 608
DISP/DISP_Init, 614
DISP/DISP_Init, 637
[DISP] - uboot - DSI_powerOn. 0x       0,0x       0,0x       0
DISP/[DISP] - kernel - DSI_PHY_TIMCONFIG, Cycle Time = 10(ns), Unit Interval = 2(ns). div1 = 1, div2 = 2, fbk_div = 29, lane# = 2
DISP/[DISP] - kernel - DSI_PHY_TIMCONFIG, HS_TRAIL = 18, HS_ZERO = 15, HS_PRPR = 7, LPX = 7, TA_GET = 35, TA_SURE = 10, TA_GO = 28, CLK_TRAIL = 20, CLK_ZERO = 33, CLK_HS_PRPR = 7
DISP/[dsi_drv.c] LK config VDO Timing: 1180
DISP/[DISP] kernel - video timing, mode = 3
DISP/[DISP] kernel - VSA : 2 0(us)
DISP/[DISP] kernel - VBP : 14 0(us)
DISP/[DISP] kernel - VFP : 16 0(us)
DISP/[DISP] kernel - VACT: 1280
otm1283a_hd720_dsi_cmd lcm_init
DISP/ Wait for DSI engine not busy timeout!
DISP/---------- Start dump DSI registers ----------
DISP/DSI+0000 : 0x00000001
DISP/DSI+0004 : 0x00000020

disp_drv_get_lcm_driver 函数里面
要改成

  1. {
  2.                                 
  3.                                         lcm_drv = lcm;
  4.                                         if(LCM_TYPE_DSI == lcm_params->type)
  5.                                                 DSI_Deinit();
  6. //                                                dsi_enable_power(FALSE);
  7.                                         printk("\t\t[fail]\n");
  8.                                 }

复制代码

帮顶一下,看不懂

你mk里面要加两个屏才会跑compare Id,.c里面也要打开compare Id

这么低级的问题,肯定不会有啊

log看不到跑lcm_compare_id 这个函数
先保证能跑到才行。
不然其它的都没有意义。
顺着LOG查,为什么没有跑到 lcd_compare_id

如果是在LK打印,看看你的打印函数是不是用 BUILD_UBOOT 包住的?!89的要用BUILD_LK包才有用

不是已经解决了吗,咋解决的没写啊

写了啊,你没看到吧。就在帖子的最下面的那部分代码啊

赞,好东西。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top