Thread (10 messages) 10 messages, 4 authors, 2003-02-17

Re: [Linux-fbdev-devel] Re: New logo code (fwd)

From: Torrey Hoffman <hidden>
Date: 2003-02-05 19:06:25
Also in: lkml

quoted
On Sun, 12 Jan 2003, Geert Uytterhoeven wrote:
quoted
The current logo code is messy, complex, and inflexible. So I decided to
rewrite it. My goals were:
[ good list ]

This is wonderful.  I (and some co-conspirators) started a similar
project, and put up patches at www.arnor.net/linuxlogo . But yours is up
to date, and ours is not (I was waiting until the framebuffer rewrite
was done, and then I didn't have time to catch up).  

It would be great if your patch was merged.  If I may offer some
suggestions... well, feature requests :-)

It would also be nice to have an option to turn off the blinking cursor
on the framebuffer.  With a full-screen boot logo as used on embedded
systems, even with a serial console or console on tty2, you still get
the blinking cursor in the top corner of the screen. (at least in 2.4.x)

Other options that might be useful, but less important: 
- Single logo option for SMP
- A "no logo" option, while still including framebuffer support
- Logo positioning (centered horizontally, vertically, both)
- Background and foreground text color options.  

A combination of these features would make it possible to do a smaller
logo (say, 256 x 128) centered on the screen with a matching background
color that would make it look like a full-screen logo, while not
bloating the kernel image much.

Also, some simple documentation that would help beginners do a
full-screen boot logo with the console on tty2 or serial should be
included with the kernel.  Lots of people want to use Linux on
"embedded" PC-based systems like kiosks, or just do this for fun on
their home computers, and doing this is confusing for beginners.

If you like, I would be happy to write documentation like this or help
in other ways.

I hope there is little resistance to merging a patch like this.  If
anyone doubts the need, I can only say that despite our patches not
being kept up to date regularly, I get a lot of email about them.  Also,
there are patches by other people to do things like this, some better
than others.  Despite the hassle of finding and applying these patches,
people want the feature badly enough to make the effort.  I see a lot
more desire for this feature than for many other worthwhile things that
are merged into the kernel...

Torrey Hoffman
thoffman@arnor.net


On Wed, 2003-02-05 at 04:37, Geert Uytterhoeven wrote:
On Tue, 28 Jan 2003, Geert Uytterhoeven wrote:
quoted
On Sun, 12 Jan 2003, Geert Uytterhoeven wrote:
quoted
The current logo code is messy, complex, and inflexible. So I decided to
rewrite it. My goals were:
  - Logos must be accessible easily by an image editor (currently: hex C source
    data must be converted to another format first)
  - Logos must be stored in ASCII-form in the source tree
  - Support arbitrary logo sizes (currently: fixed 80x80)
  - Allow the logo to be selected statically (at compile time) and/or
    dynamically (at run-time, based on machine type) (currently: at compile
    time only).
  - Allow simple adition of new logos
  - Support grayscale logos (not used yet)

The patch achieves all of these. Logos are stored in ASCII PNM format in
drivers/video/logo/, and automatically converted to hex C source arrays using
scripts/pnmtologo. I chose ASCII PNM because (a) it's ASCII, (b) it's very
simple to parse without an external library (XPM is more difficult to parse),
and (c) it can be handled by many image manipulation programs.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help