Tags

, , , , ,

How to change linux penguin logo at splash screen:
————————————————–
Install GIMP: apt-get install gimp
1. Convert the .png (ensure 80×80 size) format to .ppm format
In GIMP,
a. File -> Open -> .png image
b. Image -> give X and Y pixel (click on resize).

2. apt-get install netpbm
pngtopnm /path/to/larry.png | ppmquant -fs 223 | pnmtoplainpnm > logo_larry_clut224.ppm

3. copy the created .ppm file into drivers/video/logo folder.

4. Add the entry in the Kconfig (drivers/video/logo/Kconfig)
config LOGO_LARRY_CLUT224 bool “Gentoo-ised 224-colour logo” depends on LOGO default

5. Add the code in logo.c (drivers/video/logo/logo.c)
extern const struct linux_logo logo_larry_clut224;
Add this to the section headed by “if (depth >= 8) {“:
    ifdef CONFIG_LOGO_LARRY_CLUT224
 /* Gentoo-ised logo */ logo = &logo_larry_clut224;
    endif

6. Add an entry in the Makefile(drivers/video/logo/Makefile)
obj-$(CONFIG_LOGO_LARRY_CLUT224) += logo_larry_clut224.o

7. recompile the kernel and flash it.

Notes:
——
In linux versions 3.2 and above the line below is present in the logo.h header file (include/linux/linux_logo.h)
extern const struct linux_logo logo_larry_clut224;

Ref:
—-
http://en.gentoo-wiki.com/wiki/Linux_Logo_Hack
http://www.armadeus.com/wiki/index.php?title=Linux_Boot_Logo
http://www.stlinux.com/howto/splash-screen
http://www.denx.de/wiki/DULG/LinuxSplashScreen
http://www.mjmwired.net/kernel/Documentation/fb/fbcon.txt

Boot:
——
http://elinux.org/Boot_Time

About these ads