* Console output to framebuffer device: how?
@ 2000-09-11 16:10 Paolo Scaffardi
2000-09-12 1:05 ` ben bodley
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Scaffardi @ 2000-09-11 16:10 UTC (permalink / raw)
To: linuxppc-embedded
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?
Best regards,
Paolo Scaffardi (arsenio@tin.it - pscaffardi@supereva.it)
AIRVENT SAM s.p.a. - RIMINI (ITALY)
Tel. 0541 383294 - Fax 0541 387086
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Console output to framebuffer device: how?
2000-09-11 16:10 Console output to framebuffer device: how? Paolo Scaffardi
@ 2000-09-12 1:05 ` ben bodley
0 siblings, 0 replies; 2+ messages in thread
From: ben bodley @ 2000-09-12 1:05 UTC (permalink / raw)
To: Paolo Scaffardi; +Cc: embedded list
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-09-12 1:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-11 16:10 Console output to framebuffer device: how? Paolo Scaffardi
2000-09-12 1:05 ` ben bodley
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).