drivers: video: logo: Select boot logo on runtime

mosescb

New Member
Joined
Jun 7, 2020
Messages
1
Reaction score
0
Credits
14
Hi,

I'd like to know one if my approach towards the following problem statement is correct or wrong,

Developer should be able to select a logo on runtime using kernel command line argument or something similar.

As far as I see from the drivers/video/logo section, we need to implement some mechanism to compile two ppm files into the kernel binary and provide a mechanism to select the addresses based on kernel command line argument, to switch the logo.

Is this approach valid ?
Thanks in Advance :)

Best Regards,
Moses Christopher
 


tganeshg89

New Member
Joined
Feb 25, 2022
Messages
1
Reaction score
0
Credits
6
Hi Christopher,

Have you got any solution or idea for above question?

Im also looking same..
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,259
Reaction score
4,732
Credits
45,987
To have a logo at boot you need to be running a kernel compiled with "CONFIG_LOGO=y", other option it to set a logo on your bootloader(ie: Grub) but then it will only be display during the boot screen where you can select which kernel you want to boot from. When I do a quick search through the kernel source I only find these options with "CONFIG_LOGO" in it.
Code:
CONFIG_LOGO
CONFIG_LOGO_DEC_CLUT224
CONFIG_LOGO_LINUX_CLUT224
CONFIG_LOGO_LINUX_MONO
CONFIG_LOGO_LINUX_VGA16
CONFIG_LOGO_MAC_CLUT224
CONFIG_LOGO_PARISC_CLUT224
CONFIG_LOGO_SGI_CLUT224
CONFIG_LOGO_SUN_CLUT224
CONFIG_LOGO_SUPERH_CLUT224
CONFIG_LOGO_SUPERH_MONO
CONFIG_LOGO_SUPERH_VGA16
So maybe one of them is the change the log.
 
Last edited:

Members online


Top