[U-Boot] LCD Support on mx51 vision2

Stefano Babic sbabic at denx.de
Wed May 9 18:19:16 CEST 2012


On 09/05/2012 17:59, Fabio Estevam wrote:
> Hi Anatolij,
> 
> On Tue, May 8, 2012 at 7:59 PM, Fabio Estevam <festevam at gmail.com> 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
> #define CONFIG_VIDEO_MX5
> #define CONFIG_CFB_CONSOLE
> #define CONFIG_VGA_AS_SINGLE_DEVICE
> #define CONFIG_VIDEO_BMP_RLE8
> #define CONFIG_SPLASH_SCREEN
> #define CONFIG_CMD_BMP
> #define CONFIG_BMP_16BPP
> #define CONFIG_VIDEO_LOGO
> 
> ,and this directs the console to the LCD as expected.
> 
> I would like to keep only the video logo on screen and keep the
> console into the serial port.

On vision, the display was used for splashscreen and the console is set
to the serial line.

> 
> Is this possible?
> 
> If I remove "#define CONFIG_CFB_CONSOLE" the build fails (This can be
> reproduced with vision2 config).
> 
> If I keep "#define CONFIG_CFB_CONSOLE" and pass "set console serial"
> the console output still goes to the LCD.
> 
> Any suggestions?

You have to set stdin / stdout - maybe in late_init() ?

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list