Logo and screen cursor
By default, the Linux boot logo is generally 8080808080's penguin icon. Sometimes, for some effect, we hope
During startup, the User-Defined logo is displayed in full screen, which requires a new logo for Linux.
Prepare PNG Images
Use any image software to create a custom boot image, which can be set according to the size of your own LCD, PNG
Format. Take the 224 color as an example.
I used a PNG Image of jylogo800133.
Convert to a PPM File
# Pngtopnm jylogo800480.png | ppmquant-Fs 223 | pnmtoplainpnm>
Logo_jylogo_clut224.ppm
Add new logo
Copy the obtained ogo_jylogo_clut224.ppm file to the drivers/Video/logo directory and name it
Logo_jylogo_clut224.ppm
Drivers/Video/logo/logo_jylogo_clut224.ppm
Go to the drivers/Video/logo directory and modify the logo. c file:
Extern const struct linux_logo logo_jylogo_clut.pdf;
And add:
# Ifdef config_logo_jy
Logo = & logo_jylogo_clut.pdf;
Return logo;
# Endif
Modify makefile:
OBJ-$ (config_logo_jy) + = logo_jylogo_clut224.o
Modify the kconfig file:
Config logo_jy
Bool "JY-01 Linux logo"
Default y
The red flag must be the same and follow the naming method (logo_yourname_type.
Disable the LCD console cursor
In addition, after a full screen logo image is used, the console still has a blinking cursor. How can this problem be disabled?
Removed framebuffer console support. Try again.
No. No logo is displayed.
Drivers/Video/console/makefile
# Obj-$ (config_framebuffer_console) + = fbcon. O bitblit. O font. O softcursor. o
OBJ-$ (config_framebuffer_console) + = fbcon. O bitblit. O font. o
Compilation encountered a problem that soft_cursor was not defined. Note the Code:
Drivers/Video/console/bitbw.c
// If (ERR)
// Soft_cursor (Info, & cursor );
The cursor is disabled, and the graphic interface starts normally.