1. Configuring the Kernel
Enable the kernel to load the logo at boot time, in the source code of the main directory make Menuconfig
Device Drivers--->
Graphics Support--->
Select and enter the Bootup logo--
Choose the standard 224-color Linux logo
[*] Represents the selected
[] Represents not selected
[M] stands for compiling modules , use the SPACEBAR to toggle
Make to recompile the kernel so that startup will load the boot logo.
2. Then there is processing The boot image is up.
Modify the "drivers/video/logo/logo_linux_clut224.ppm" file, which is actually replacing the file.
Using NETPBM Software
Conversion resolution:
Convert-resize 240x320! Name.png Name2.png
Convert a PNG image to PNM:
PNGTOPNM name2.png > NAME3.PNM
Limit the color of the PNM picture to 224:
Pnmquant 224 NAME3.PNM > NAME4.PNM
Convert PNM images into the PPM format we need:
PNMTOPLAINPNM NAME4.PNM > logo_linux_clut224.ppm
Copy the file to the "drivers/video/logo/" directory in the kernel source code
Replace the original "logo_linux_clut224.ppm" file. Delete logo_linux_clut224.c at the same time
LOGO_LINUX_CLUT224.O files so that the compilation can be used logo_linux_clut224.ppm
Re compile the kernel, start the change to see the self-made logo!
Copyright NOTICE: This article for Bo Master original article, welcome reprint, reproduced Please indicate the source, thank you for your cooperation.
Changes to the logo displayed in Linux kernel boot