AnsweredAssumed Answered

i.MX53 and NHD 4.3 24bit problem

Question asked by Toxic Avenger on Mar 8, 2013
Latest reply on Mar 14, 2013 by Toxic Avenger

Hi,

Im trying to connect NHD-4.3-480272EF-ATXL-T panel to i.MX53 QSB.

Im using Android r10.2 from Adeneo.

 

I added it to imx53_loco.c board file, as below:

static struct fb_videomode video_modes[] = {

{

/* 272x480 @ 60 Hz , pixel clk @ 9MHz */

"NHD-4.3-480272EF",

/*Vsync cycle:*/ 60,

/*Horizontal display period:*/ 480,

/*Vertical display period:*/ 272,

/*Clock [1/Hz]:*/ 111111,

/*Horizontal back porch:*/ 2,

/*Horizontal front porch:*/ 2,

/*Vertical back porch:*/ 2,

/*Vertical front porch:*/ 2,

/*Horizontal pulse width:*/ 41,

/*Vertical pulse width:*/ 10,

0,

FB_VMODE_NONINTERLACED,

0,},

 

and changed :

static struct mxc_fb_platform_data fb_data[] = {

{

.interface_pix_fmt = IPU_PIX_FMT_RGB24,

.mode_str = "NHD-4.3-480272EF",

.mode = video_modes,

.num_modes = ARRAY_SIZE(video_modes),

},

{

.interface_pix_fmt = IPU_PIX_FMT_GBR24,

.mode_str = "SXGA",

.mode = video_modes,

.num_modes = ARRAY_SIZE(video_modes),

},

};

 

I added mxc_ts touch screen module to kernel and changed BoardConfig.mk to use it during calibration.

All is working, touchscreen calibration is good, display is good, except bits per pixel. It have only 16 bits per pixel, but hardware supports 24.

 

I changed default_bpp in UBOOT /drivers/video/mxc_ipuv3_fb.c, i also tried to change bootargs_android during boot to:

setenv bootargs_android 'setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 gpu_nommu,gpu_memory=64M video=mxcdi0fb:RGB24,480x272M@60,bpp=32.

 

But it didnt worked.

How to enable 24 bit support for this kind of screen?

 

 

 

 

 

Outcomes