From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 8 May 2012 20:28:23 +0200 Subject: [U-Boot] LCD Support on mx51 vision2 In-Reply-To: References: Message-ID: <20120508202823.25c38062@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Tue, 8 May 2012 14:46:18 -0300 Fabio Estevam 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