From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 09 May 2012 18:19:16 +0200 Subject: [U-Boot] LCD Support on mx51 vision2 In-Reply-To: References: <20120508202823.25c38062@wker> <20120509004041.515fc287@wker> Message-ID: <4FAA9904.50008@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 =====================================================================