LVDS issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LVDS issue

1,998 次查看
lifusong
Contributor IV

dear sir.

    our lvds can who something.but ,have some problem,please see below pic.

how to fix this.

our lvds work on 800x480  18bit ,boot args is  video=mxcfb0:dev=ldb,if=RGB666,fbpix=RGB24 vmalloc=400M,

and use if=rgb24,this image is more worse.

pastedImage_0.png

标签 (2)
标记 (2)
0 项奖励
回复
3 回复数

1,568 次查看
igorpadykov
NXP Employee
NXP Employee

Hi li

for 800x480 lvds settings one can look at nitrogen board

Universal Boot Loader general discussion ()

[PATCH 17/32] nitrogen6x: display: add wvga-lvds panel

Theory&Example :

AN3974 Different Display Configurations on i.MX35 Linux PDK

how to support WSVGA output in imx6sdq

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,568 次查看
lifusong
Contributor IV

our board is mx6q,and android version is 4.4.3_r1.  kernel 3.10.53  u-boot 2014.04

below is the u-boot seting.

static struct display_info_t const displays[] = {{

  .bus = -1,

  .addr = 0,

  .pixfmt = IPU_PIX_FMT_RGB666,

  .detect = NULL,

  .enable = NULL,

  .mode = {

  .name           = "Hannstar-XGA",

  .refresh        = 60,

  .xres           = 800,//1024,

  .yres           = 480,//768,

  .pixclock       = 19531,//15385,

  .left_margin    = 160,//220,

  .right_margin   = 160,//40,

  .upper_margin   = 18,//21,

  .lower_margin   = 18,//7,

  .hsync_len      = 60,

  .vsync_len      = 10,

  .sync           = FB_SYNC_EXT,

  .vmode          = FB_VMODE_NONINTERLACED

} }

below is the kernel device tree seting

lvds-channel@0 {
crtc = "ipu2-di0";
status = "okay";
fsl,data-mapping = "spwg";
fsl,data-width = <18>;

display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <65000000>;
hactive = <800>;
vactive = <480>;
hback-porch = <160>;
hfront-porch = <160>;
vback-porch = <18>;
vfront-porch = <18>;
hsync-len = <60>;
vsync-len = <10>;
};
};
};
0 项奖励
回复

1,568 次查看
lifusong
Contributor IV

Dear sir.

   in that link.Universal Boot Loader general discussion ()

what is the base version?

I can't found the match line in u-boot 2014.04

0 项奖励
回复