nanogui: displaying console and "tux" on framebuffer
Subject:
Re: displaying console and "tux" on framebuffer
From:
Jordan Crouse ####@####.####
Date:
30 Apr 2001 15:47:00 -0000
Message-Id: <01043009473606.00902@cosmic>
Well, there are several issues at play here. First of all, tell me a little
bit about your system. Are you using your LCD as your main console, or is it
a secondary device? Are you running a kernel framebuffer directly on the
LCD? It is a standard VESA framebuffer, or a home grown variety?
There are several reasons why Tux may not be on your screen, all of which
have to do with the fact that the framebuffer infrastructure is not very
pretty in the 2.2 / 2.4 world (look for something better in 2.5).
First and foremost, Tux is only drawn on the primary framebuffer (or in other
words, the first one registered). There is no infrastructure to handle
multiple text consoles on multiple display devices, so the code only handles
drawing (and switching) consoles on the first device. Since tux is drawn as
part of the console startup, he thus only appears on the first device
registered.
Secondly, there may be a color issue. I have a problem right now where I
have lost Tux during bootup on my Asiliant 69000 framebuffer driver.
However, the framebuffer works fine. I think it may be a colormap issue, but
I don't have any idea why. In short, the code that actually draws the little
bugger is convoluted (not by anyones fault, its just that so much has to be
taken into consideration for drawing to 4, 8, 16, 24 and 32 bits).
Tell me a little bit more about your setup, and I will see if I can't give
you a hand.
Jordan
On Monday 30 April 2001 09:21, Steven Hein mentioned:
> This probably is a little off-topic, but... I have a MPC860-based
> board with an Epson SED1375 LCD controller and LCD display. I wrote
> a framebuffer driver for the 1375 and it works great with microwindows
> and flnx, etc., so I know the driver is working fine.
>
> What I'm trying to do is figure out how to display the console (boot)
> output, and the "tux" picture, on the LCD (like I've seen on the
> screen on desktop linux boxes). What kernel option do I have to
> enable? I've looked at them, and I've enabled the FBCON advanced
> options for my display type (4-bit greyscale), but nothing....
> Is what I'm trying to do possible?
>
> What I really want to do is not display the console data, but put
> an image on the screen very early on (before any apps run).
> I've poured over the fb* code in drivers/video, and I just don't
> see what I need to do.
>
> Thx for any help!
> Steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####