
On 09/05/2012 17:59, Fabio Estevam wrote:
Hi Anatolij,
On Tue, May 8, 2012 at 7:59 PM, Fabio Estevam festevam@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