Re: [U-Boot] LCD Support on mx51 vision2

2012-05-09 Thread Fabio Estevam
Hi Stefano, On Wed, May 9, 2012 at 1:19 PM, Stefano Babic wrote: > > You have to set stdin / stdout - maybe in late_init() ? That did the trick! Thanks a lot ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] LCD Support on mx51 vision2

2012-05-09 Thread Stefano Babic
On 09/05/2012 17:59, Fabio Estevam wrote: > Hi Anatolij, > > On Tue, May 8, 2012 at 7:59 PM, Fabio Estevam wrote: > >> You are clearly right! Now I see the console output on my LCD :-) >> >> Will submit the patch soon. > > I am using the following LCD configuration on my board file (same as >

Re: [U-Boot] LCD Support on mx51 vision2

2012-05-09 Thread Fabio Estevam
Hi Anatolij, On Tue, May 8, 2012 at 7:59 PM, Fabio Estevam wrote: > You are clearly right! Now I see the console output on my LCD :-) > > Will submit the patch soon. I am using the following LCD configuration on my board file (same as vision2.h): #define CONFIG_PREBOOT #define CONFIG_VIDEO #de

Re: [U-Boot] LCD Support on mx51 vision2

2012-05-08 Thread Fabio Estevam
Hi Anatolij, On Tue, May 8, 2012 at 7:40 PM, Anatolij Gustschin wrote: > 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(). You are clearly right! No

Re: [U-Boot] LCD Support on mx51 vision2

2012-05-08 Thread Anatolij Gustschin
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

Re: [U-Boot] LCD Support on mx51 vision2

2012-05-08 Thread Fabio Estevam
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_

Re: [U-Boot] LCD Support on mx51 vision2

2012-05-08 Thread Fabio Estevam
Hi Anatolij, On 5/8/12, Anatolij Gustschin wrote: > 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 increa

Re: [U-Boot] LCD Support on mx51 vision2

2012-05-08 Thread Anatolij Gustschin
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

[U-Boot] LCD Support on mx51 vision2

2012-05-08 Thread Fabio Estevam
Hi, Could anyone confirm that LCD support is functional on top-of-tree U-boot for mx51 vision2 board? 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