首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > 驱动开发 >

uboot中LCD显示logo有关问题

2012-12-23 
uboot中LCD显示logo问题各位大侠,我现在想在uboot中显示一个logo,但是只能点亮背光灯,屏幕上没有显示,我的

uboot中LCD显示logo问题
各位大侠,我现在想在uboot中显示一个logo,但是只能点亮背光灯,屏幕上没有显示,我的液晶手册参数如下:
[img=http://photo.163.com/deng_jia_jun@126/#m=2&aid=115813790&pid=7946779790][/img]
[img=http://photo.163.com/deng_jia_jun@126/#m=2&aid=115813790&pid=7946769884][/img]
[img=http://photo.163.com/deng_jia_jun@126/#m=2&aid=115813790&pid=7946749878][/img]
我的lcd接口是LVDS,根据datasheet,我不会配置fb_videomode结构
struct fb_videomode {
const char *name;/* optional */
unsigned int refresh;/* optional */
unsigned int xres;
unsigned int yres;
unsigned int pixclock;
unsigned int left_margin;
unsigned int right_margin;
unsigned int upper_margin;
unsigned int lower_margin;
unsigned int hsync_len;
unsigned int vsync_len;
unsigned int sync;
unsigned int vmode;
unsigned int flag;
};
请高手帮忙教一下怎么配置变帮忙计算一下,不胜感激,谢谢
[最优解释]
这些资料可以找给你提供LCD模组的厂家和CPU厂家要,关键是MIPI接口相关的,因为这个可能不同的芯片有些约定也不一样。
[其他解释]
可以在uboot中做个函数,用工具把图片作成二进制,去解析图片在需要的时候显示logo.
[其他解释]
可能不是这个结构里面配置,另有地方,如果配置不对,显示肯定也不对,至少水平和垂直同步,前肩后肩的设置要正确,lcd才能显示正确的画面。
[其他解释]
你用的什么平台哦?
[其他解释]
主要配置好lvds芯片啊
[其他解释]
该回复于2012-10-27 09:20:51被版主删除
[其他解释]

引用:
主要配置好lvds芯片啊

lvds芯片怎么配置呢,感觉是系统提供的一个接口,不需要配置
[其他解释]
楼主用的是MIPI接口,而且还是4lane的,分辨率上到1024*600,其实用2lane就足够了,一个500M,刚刚好。
[其他解释]
大概是下面这些参数配一配吧:

struct fb_videomode {
const char *name; /* optional */
unsigned int refresh; /* optional */    60Hz
unsigned int xres;                      1024
unsigned int yres;                       600
unsigned int pixclock;                  根据你的pll计算
unsigned int left_margin;               hfp
unsigned int right_margin;              hbp
unsigned int upper_margin;              vfp
unsigned int lower_margin;              vbp
unsigned int hsync_len;                 xres+hfp+fbp
unsigned int vsync_len;                 yres+vfp+vbp
unsigned int sync;                      1 or 0


unsigned int vmode;                     VIDEO_MODE/4Lane
unsigned int flag;
};
[其他解释]

引用:
楼主用的是MIPI接口,而且还是4lane的,分辨率上到1024*600,其实用2lane就足够了,一个500M,刚刚好。

你好,大侠,我对lcd是个小白,能不能给点资料学习一下,谢谢
[其他解释]
引用:
这些资料可以找给你提供LCD模组的厂家和CPU厂家要,关键是MIPI接口相关的,因为这个可能不同的芯片有些约定也不一样。

我现在的问题不是logo显示不出来,而是LCD根本就没有点亮,不知道是什么情况,时钟信号都是有的,忘高手帮忙,谢谢
[其他解释]
引用:
可以在uboot中做个函数,用工具把图片作成二进制,去解析图片在需要的时候显示logo.

我现在的问题是LCD没有点亮,忘高手指点
[其他解释]
1.首先要配置好cpu端的Display控制器,确保有rgb信号正确输出
2.配置好lvds芯片(应该是通过iic通讯吧?),具体怎么配置要看下lvds芯片的datasheet
[其他解释]
1.请先确认LCD的背光亮了没有。
2.再次确认那个结构里面的porch及resolution有没有设置正确。
3.正确的话,确认通过MIPI接口对LCD的初始化序列正确与否(LCD module的上电顺序,初始化配置)。 
[其他解释]
引用:
1.请先确认LCD的背光亮了没有。
2.再次确认那个结构里面的porch及resolution有没有设置正确。
3.正确的话,确认通过MIPI接口对LCD的初始化序列正确与否(LCD module的上电顺序,初始化配置)。

我现在在linux下是能够显示logo的,但是我发现在linux显示logo跟fb_videomode这个参数没有关系,我只要配置好lvds的通道就可以显示了,这是什么情况呢?
[其他解释]
引用:
你用的什么平台哦?

用的freescale的mx53
[其他解释]
楼主我用的平台跟你一样,我问题跟你一样,怎么点亮背光板显示默认的logo?
[其他解释]
引用:
可能不是这个结构里面配置,另有地方,如果配置不对,显示肯定也不对,至少水平和垂直同步,前肩后肩的设置要正确,lcd才能显示正确的画面。

终于找到地方了,内核里面有一个专门的lvds驱动,在那里面做的配置,谢谢
[其他解释]
null
[其他解释]
null
[其他解释]
null

热点排行