Ryan Hairyes ([EMAIL PROTECTED]) said:
>Could anyone tell me about linux_logo.h. I want to put my
>own picture in there. What format is the picture written in?
>Any any idea on how I could change it? Also, could the
>picture be any bigger than 80x80, I would like for it to take
>up the whole screen.
Probably the best thing for you do is to check out the
FreeLords LPP patch, at http://lpp.freelords.org.
Some people consider that one overkill, however...
If you want to do it yourself, then the easiest way to put
your own picture into linux_logo.h is to get the GIMP plugin
called "glogo". I found a copy by searching on some GIMP
plugin index web pages. The linux_logo.h just stores the
images (and the palettes) as big arrays of hex numbers.
In the GIMP, you create three versions of your image - one
with 214 colors, one with 16, and one in black and white.
Then you run the glogo plugin and feed it your three images.
It will output a file that you can name linux_logo.h and
copy into the include/linux directory.
However, if I recall correctly, the 80x80 restriction is
coded into the kernel in at least two places, as well as the
glogo plug in. (yuck!)
So, what you really want is a patch I made for the 2.2.17
and later series which makes it easy to put bigger logos in,
and also center them on the screen and other little things.
My patch is not that exciting though, anyone with some C
programming skill could do the same thing in a couple of
hours, no previous kernel experience necessary.
I have a hacked up version of glogo to go along with my
kernel patch, which moves some of the LOGO_W and LOGO_H
#defines around to tidy it up a bit. It also makes it easy
to have completely different images for the 16 color and
B&W images - you could leave the 80x80 penguin in for those
if you want, while putting in a nice big 214 color logo.
If you want my patch and glogo hack, just email me.
There are other, similar patches out there. I read
about one last fall that actually had the ability to convert
a png into the linux_logo.h during a kernel build.
Also note that putting in a huge logo will make your kernel
bzImage or zImage noticeably larger. This is not likely to be
a problem if you use modules for most things.
Best wishes,
Torrey Hoffman
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://vger.kernel.org/lkml/