[U-Boot] LCD Support on mx51 vision2

Anatolij Gustschin agust at denx.de
Wed May 9 00:40:41 CEST 2012


Hi Fabio,

On Tue, 8 May 2012 18:24:38 -0300
Fabio Estevam <festevam at gmail.com> wrote:

> Anatolij,
> 
> On Tue, May 8, 2012 at 4:35 PM, Fabio Estevam <festevam at gmail.com> wrote:
> 
> > Thanks for your suggestion. Increasing  CONFIG_SYS_MALLOC_LEN does not
> > fix the issue.
> 
> Below is my patch and some more debug information.
> 
> As you can see mode->xres is getting a weird value instead of '800'
> that I pass in the fb_videomode struct.

Thanks for the info. I think you additionally need to call lcd_enable()
in your board_init(). The mode struct will be initialized then. From
your patch I do not see that you call lcd_enable().

Thanks,
Anatolij


More information about the U-Boot mailing list