From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 9 May 2012 00:40:41 +0200 Subject: [U-Boot] LCD Support on mx51 vision2 In-Reply-To: References: <20120508202823.25c38062@wker> Message-ID: <20120509004041.515fc287@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 Fabio, On Tue, 8 May 2012 18:24:38 -0300 Fabio Estevam wrote: > Anatolij, > > On Tue, May 8, 2012 at 4:35 PM, Fabio Estevam 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