1 Create your own logo file
Create your logo in a .png format (logo.png), and run the following to convert it to a 224 colors PPM formatted image file named logo_linux_clut224.ppm :
2 Convert your logo file to PPM format
once you installed, follow below steps,
sarathkumar@Sarathkumar-RND:~/yocto_kernel_BBB/logo$ convert logo.png temp.ppm
sarathkumar@Sarathkumar-RND:~/yocto_kernel_BBB/logo$ ppmquant 224 temp.ppm >
temp1.ppm
ppmquant: making histogram...
ppmquant: 4251 colors found
ppmquant: choosing 224 colors...
ppmquant: mapping image to new colors...
sarathkumar@Sarathkumar-RND:~/yocto_kernel_BBB/logo$ pnmnoraw temp1.ppm > logo_linux_clut224.ppm
Steps:
$ convert logo.png temp.ppm
$ ppmquant 224 temp.ppm > temp1.ppm
$ pnmnoraw temp1.ppm > logo_linux_clut224.ppm
Your own logo ready now. logo_linux_clut224.ppm is replacing exiting Linux penguin logo.
3 Replace the default logo file in the Linux source
Follow the "Build Linux from source code" guide to get the Linux kernel source tree.
Copy your logo_linux_clut224.ppm file to {kernel_source}/drivers/video/logo/logo_linux_clut224.ppm overwriting the original logo.
Configure your kernel and enable the default logo instead of the your logo: Device Drivers -> Graphics support -> Bootup logo -> Standard 224-color Linux logo (Symbol: LOGO_LINUX_CLUT224)
Now you can build the kernel source and try to boot your kernel with newly compiled image with your own logo.
------------------------------------------------------------------------------------------------------------------------
If you want to create a different configuration for your own logo rather than overwriting the default one,
follow below steps,
1.Edit : {kernel_source}/drivers/video/logo/Kconfig
config LOGO_CUSTOM_CLUT224 bool "224-color Variscite Linux logo" default y /* add above three lines before endif # LOGO of the file */ 2. Edit : {kernel_source}/drivers/video/logo/Makefileobj-$(CONFIG_LOGO_SUPERH_CLUT224) += logo_superh_clut224.o obj-$(CONFIG_LOGO_CUSTOM_CLUT224) += logo_custom_clut224.o obj-$(CONFIG_LOGO_M32R_CLUT224)+= logo_m32r_clut224.o/* insert the above green color line between those two lines of this file */ 3. Edit : {kernel_source}/drivers/video/logo/logo.c
#ifdef CONFIG_LOGO_SUPERH_CLUT224
/* SuperH Linux logo */
logo = &logo_superh_clut224;
#endif
#ifdef CONFIG_LOGO_CUSTOM_CLUT224 /* Custom Linux logo */ logo = &logo_custom_clut224; #endif
#ifdef CONFIG_LOGO_M32R_CLUT224
/* M32R Linux logo */
logo = &logo_m32r_clut224;
#endif
/* insert the above green color lines in-between those colour section of t, this file */
|
"I wish to take this opportunity to complement your web site."
ReplyDeleteCustom Logo
Good post but I was wondering if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit further. Appreciate it! logowiki.net
ReplyDeleteHello.
ReplyDeleteAre you looking for an amazing logo design for your business with 50% off I expect You will be impressed with us.Logo Designers