[U-Boot] LCD Support on mx51 vision2

Fabio Estevam festevam at gmail.com
Wed May 9 17:59:21 CEST 2012


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.

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?

Thanks,

Fabio Estevam


More information about the U-Boot mailing list