From: ben bodley <benb@m2tech.co.nz>
To: Paolo Scaffardi <arsenio@tin.it>
Cc: embedded list <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Console output to framebuffer device: how?
Date: Tue, 12 Sep 2000 13:05:09 +1200 [thread overview]
Message-ID: <39BD8145.E1ECEF7@m2tech.co.nz> (raw)
In-Reply-To: 001501c01c0a$ce17f0a0$0a00010a@paoloweb
Paolo Scaffardi wrote:
> I wrote a framebuffer device that i included in the kernel, but i dont know
> how to redirect the output of the console to my framebuffer device instead
> of the serial console.
>
> During the startup the kernel initializes the framebuffer correctly, and
> says:
>
> "Console: switching to frame buffer device"
>
> but nothing happens on it and the output is given only to serial console.
>
> What should i do to make it work correctly, now?
try adding the boot argument "console=tty0", this should make the main
console
the framebuffer.. if you want to output some text just to test it, try:
echo "this is a test" > /dev/tty1
then you can change to this virtual terminal with the command:
chvt 1
(you should already be default on terminal 1)... if you are wanting the
framebuffer to be the main console, you may have to set up a dummy
console,
check the pmac_setup.c file for details on setting this up.. (ie.
conswitchp =
&dummycon)..
hope this can help,
ben
--
/\\------------------------------------------------------------------
ben.bodley/.m2technologyltd.nz/.benb@m2tech.co.nz/.64.9.4448307ext130
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2000-09-12 1:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-11 16:10 Console output to framebuffer device: how? Paolo Scaffardi
2000-09-12 1:05 ` ben bodley [this message]
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=39BD8145.E1ECEF7@m2tech.co.nz \
--to=benb@m2tech.co.nz \
--cc=arsenio@tin.it \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).