From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Amol Lad <amol.lad@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Dynamic switch from Console on ttyS0 to fbcon
Date: Wed, 20 Aug 2008 08:51:29 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0808200850330.383@anakin> (raw)
In-Reply-To: <8c675e9b0808192118g598fc380kf3cb3aa22cf969c8@mail.gmail.com>
On Wed, 20 Aug 2008, Amol Lad wrote:
> I'm trying to switch the console from ttyS0 to frame buffer. This is
> achieved using fbcon; you can either link it statically in kernel or
> "modprobe fbcon" (Documentation/fb/fbcon.txt)
>
> The problem is if "console=ttyS0,115200n8" is passed on u-boot command
> line then the console switch to framebuffer does not happen after
> doing modprobe fbcon.
>
> If "console=ttyS0,115200n8" argument is not passed on u-boot then the
> console switch happens after modprobe fbcon.
>
> Any ideas why switch does not happen when "console=" argument is
> passed to the kernel ? (In my application, I need to switch the
> console dynamically to framebuffer from ttyS0. This decision cannot be
> done in u-boot so u-boot will pass "console=ttyS0,115200n8" argument)
Have you tried
console=ttyS0,115200n8 console=tty0
? This will make console output go to both, and console input will come
from tty0.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
next prev parent reply other threads:[~2008-08-20 6:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 4:18 Dynamic switch from Console on ttyS0 to fbcon Amol Lad
2008-08-20 6:51 ` Geert Uytterhoeven [this message]
2008-08-20 7:16 ` Amol Lad
2008-08-22 7:22 ` Amol Lad
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=Pine.LNX.4.64.0808200850330.383@anakin \
--to=geert@linux-m68k.org \
--cc=amol.lad@gmail.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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