Linux logo and screen cursor

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.