📄 readme
字号:
fblogo=======This software comes with ABSOLUTELY NO WARRANTY.This software is free software, and you are welcome to redistribute itunder certain conditions. See the COPYING file for details.Purpose=======If you use the framebuffer device in your kernel, you have probably noticedthe little penguin logo that shows up at boot time. If you'd like to use yourown logo, you can use fblogo to generate the header file that is needed for it.Installation============'make'You'll need libpngUsage=====fblogo example usage:$ fblogo yourlogo.png linux_logo.hAfter that, copy the generated linux_logo.h to include/linux/linux_logo.h. Alsomake 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.patchThis 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.patchLimitations===========fblogo will only generate a 8bpp logo, if you use any lower modes the oldlogo will show up.Be warned that the bigger the logo is, the bigger the kernel will be. So it'sprobably not a good idea to use that great 1600x1200 picture you got :) Thebiggest one I've tried without getting "Virtual memory exhausted" was a1024x768 image (approx. 5 mb linux_logo.h file!) That added 300k to my kernel.So keep it small.-- original by Daniel Ved鴜updated by Gordon Fraser
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -