getting linux console on a frame buffer.

Geert Uytterhoeven geert at linux-m68k.org
Wed May 19 18:48:50 EST 2004


On Tue, 18 May 2004, David Ho wrote:
> I have a 240*320 16bpp LCD (framebuffer) attached to a MPC852T that I have
> trouble running simple tests like rendering an image directly to the
> framebuffer using fbi from Gerd Knorr.  I have already dump rawimage by
> catting to the /dev/fb0 device.  I am at a point where I like to understand
> the byte ordering and image rendering issues with jpeg and png files.

Have you tried fbtest (CVS module fbtest at www.sf.net/projects/linux-fbdev/)?

> The problem may be that I don't have a linux console running on the frame
> buffer device.  Would anyone know how to get the linux console on the frame
> buffer but still receives input from a serial port (I don't have a keyboard
> attached to the board.  I have been doing most things from the serial
> console and remotely).

Append `console=tty0 console=ttyS0' to the kernel command line, and kernel
messages will appear on both tty0 (fb) and ttyS0 (serial), while console input
will be taken from the last one (ttyS0).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list