SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

fblogo

This software comes with ABSOLUTELY NO WARRANTY.

This software is free software, and you are welcome to redistribute it under certain conditions. See the COPYING file for details.

Purpose

If you use the framebuffer device in your kernel, you have probably noticed the little penguin logo that shows up at boot time. If you'd like to use your own logo, you can use fblogo to generate the header file that is needed for it.

Installation

'make'
You'll need libpng

Usage

fblogo example usage:

$ fblogo yourlogo.png linux_logo.h

After that, copy the generated linux_logo.h to include/linux/linux_logo.h. Also make sure that you modify fbcon.c to reflect the dimensions of your new logo (not needed if your new logo is also 80x80 pixels).

Now rebuild the kernel, and the new logo should show up.

fblogo_patch example usage:

$ fblogo_patch linux_logo.h /usr/src/linux 300 80 > mylogo.patch

This creates a patch to the linux kernel source tree located in /usr/src/linux. Now you only have to apply this patch

$ cd /usr/src/linux
$ patch -p1 < /path/to/mylogo.patch

Limitations

fblogo will only generate a 8bpp logo, if you use any lower modes the old logo will show up.

Be warned that the bigger the logo is, the bigger the kernel will be. So it's probably not a good idea to use that great 1600x1200 picture you got :) The biggest one I've tried without getting "Virtual memory exhausted" was a 1024x768 image (approx. 5 mb linux_logo.h file!) That added 300k to my kernel. So keep it small.

--
original by Daniel Vedøy
updated by Gordon Fraser


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.