Suman's World
Dreams to Life !!!! My Journey in Time
Skip to content
  • Home
  • About Me
← Write your own shell !!
Board Booting Process →

How to change your Boot Logo in Linux Kernel

Posted on December 11, 2012 by Suman Kumar

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

Like this:

Like Loading...

About Suman Kumar

Hey friend, welcome to my world. Its suman here. I am a technologist with passion for writing. I will put down all my thoughts, good quotes and learnings.
View all posts by Suman Kumar →
Gallery | This entry was posted in Uncategorized and tagged boot logo, BSP, kernel, linux, penguin, ubuntu. Bookmark the permalink.
← Write your own shell !!
Board Booting Process →
  • Search

  • December 2012
    M T W T F S S
    « Nov   Jan »
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
    31  
  • Archives

    • May 2013 (1)
    • April 2013 (1)
    • February 2013 (8)
    • January 2013 (4)
    • December 2012 (13)
    • November 2012 (1)
    • August 2011 (1)
    • March 2011 (4)
    • June 2010 (2)
    • May 2010 (1)
    • April 2010 (7)
  • VisitorsCount

    wordpress stat

  • Blog Stats

    • 1,534 hits
  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 5 other followers

Suman's World
Theme: Twenty Ten Blog at WordPress.com.
Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com
%d bloggers like this: