Editor: Linux boot default logo is a cute little penguin. Here we can replace it with our own favorite picture, as long as the linux-2.6.32.2/drivers/video/logo/linux_logo_clut224.ppm replaced with their own pictures can be. The method is very simple, according to the basic operation is no problem. Here are two ways to follow the manual. Note that in the conversion of the picture, it is important to pay attention to the size of the picture, and the use of the LCD screen to match the size. I'm a 320*240.
1 Using command-line tools to modify Linux logos
LINUX-2.6.32.2/DRIVERS/VIDEO/LOGO/LINUX_LOGO_CLUT224.PPM file is a special format of the image file, there are many ways to convert ordinary pictures to logo files, the most commonly used is the NETPBM tool group. "NETPBM" is a set of command-line tools that can transform pictures in many formats, using the PNG format as an example of how to convert an ordinary PNG file to the Linux LOGO image we need: Assuming that we are converting a file named Linux_logo.png, first PNG Picture turned into PNM
# PNGTOPNM Linux_logo.png > LINUX_LOGO.PNM
Then limit the number of colors in the PNM picture to 224.
# pnmquant 224 LINUX_LOGO.PNM > LINUX_LOGO_CLUT224.PNM
Finally convert the PNM image into the ppm we need
# PNMTOPLAINPNM LINUX_LOGO_CLUT224.PNM > linux_logo_clut224.ppm
However linux_logo_clut224.ppm replaces the corresponding image in the Linux-2.6.32.2/drivers/video/logo, you can
Out.
2 using graphical logomaker to make Linux logos
Friendly company designed a graphical interface of the production tool Logomaker, it is based on the Fedora 9 platform development, in fact, it is the bottom of the call to the command line tool, if you run the results of floating-point errors, it may be the platform you use is not Federa9, if the FEDORA9 The run appears as pictured incorrectly, and you may not have properly installed the NETPBM tool.
The following is a procedure for using the Linux Logomaker (excerpted from the mini2440 User manual), please install the Logomaker tool in chapter five of the user manual, enter logomaker on any command line, and start it with a default flower picture when it is opened.
Dot file->open a picture file ... Or use the shortcut key Ctrl+o can open a picture file, in the open window of the pop-up file to choose a picture, then point File->convert to a Linux Logo file, or use shortcut keys Crtl+c Will jump out of the file to save the directory window, do not need to enter anything, select the directory to save, the file name will be automatically saved as linux_logo_clut224.ppm, use this file instead of Linux-2.6.32.2/drivers/video/logo A file with the same name under the directory.
PS: The above description inside the picture name is written as linux_logo_clut224.ppm, but look at the kernel source, the name of the picture is logo_linux_clut224.ppm, pay attention to this.