U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] LCD Support on mx51 vision2
Date: Wed, 09 May 2012 18:19:16 +0200	[thread overview]
Message-ID: <4FAA9904.50008@denx.de> (raw)
In-Reply-To: <CAOMZO5CKFtuKHJDwLqLfafxyEJyTruTsrmHXzOT-hb=PMyJzpA@mail.gmail.com>

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

-- 
=====================================================================
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
=====================================================================

  reply	other threads:[~2012-05-09 16:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 17:46 [U-Boot] LCD Support on mx51 vision2 Fabio Estevam
2012-05-08 18:28 ` Anatolij Gustschin
2012-05-08 19:35   ` Fabio Estevam
2012-05-08 21:24     ` Fabio Estevam
2012-05-08 22:40       ` Anatolij Gustschin
2012-05-08 22:59         ` Fabio Estevam
2012-05-09 15:59           ` Fabio Estevam
2012-05-09 16:19             ` Stefano Babic [this message]
2012-05-09 16:23               ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FAA9904.50008@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox