[U-Boot] LCD Support on mx51 vision2

Anatolij Gustschin agust at denx.de
Tue May 8 20:28:23 CEST 2012


Hi,

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

> Hi,
> 
> Could anyone confirm that LCD support is functional on top-of-tree
> U-boot for mx51 vision2 board?

I cannot confirm this as I do not have the hardware to test. But ...

> I am working on adding LCD support for mx51evk and I am getting the
> following error from mxcfb_map_video_memory:
> 
> U-Boot 2012.04.01-00075-g6efea73-dirty (May 08 2012 - 14:40:01)
> 
> CPU:   Freescale i.MX51 rev3.0 at 800 MHz
> Reset cause: POR
> Board: MX51EVK
> DRAM:  512 MiB
> WARNING: Caches not enabled
> MMC:   FSL_SDHC: 0, FSL_SDHC: 1
> Unable to allocate framebuffer memory

the issue is probably the insufficient malloc area size defined in
the board config file. The mx51evk defines CONFIG_SYS_MALLOC_LEN
to be slightly more than 2 MiB. The vision2 config sets
CONFIG_SYS_MALLOC_LEN to 10 MiB. Please try increasing CONFIG_SYS_MALLOC_LEN.

Thanks,
Anatolij


More information about the U-Boot mailing list