| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# Logo configuration |
| 4 |
# |
| 5 |
|
| 6 |
menuconfig LOGO |
| 7 |
bool "Bootup logo" |
| 8 |
depends on FB_CORE || SGI_NEWPORT_CONSOLE |
| 9 |
help |
| 10 |
Enable and select frame buffer bootup logos. |
| 11 |
Monochrome logos will also be used by the DRM panic handler, if |
| 12 |
enabled. |
| 13 |
|
| 14 |
if LOGO |
| 15 |
|
| 16 |
config FB_LOGO_EXTRA |
| 17 |
bool |
| 18 |
depends on FB=y |
| 19 |
default y if SPU_BASE |
| 20 |
|
| 21 |
config LOGO_LINUX_MONO |
| 22 |
bool "Standard black and white Linux logo" |
| 23 |
|
| 24 |
config LOGO_LINUX_MONO_FILE |
| 25 |
string "Monochrome logo .pbm file" |
| 26 |
depends on LOGO_LINUX_MONO |
| 27 |
default "drivers/video/logo/logo_superh_mono.pbm" if SUPERH |
| 28 |
default "drivers/video/logo/logo_linux_mono.pbm" |
| 29 |
help |
| 30 |
Takes a path to a monochromatic logo in the portable pixmap file |
| 31 |
format (.pbm). This defaults to the Tux penguin. |
| 32 |
|
| 33 |
For example, the below ImageMagick command can be used to reduce |
| 34 |
an image to black and white and convert it into a pbm file: |
| 35 |
|
| 36 |
magick source_image -compress none destination.pbm |
| 37 |
|
| 38 |
config LOGO_LINUX_VGA16 |
| 39 |
bool "Standard 16-color Linux logo" |
| 40 |
|
| 41 |
config LOGO_LINUX_VGA16_FILE |
| 42 |
string "16-color logo .ppm file" |
| 43 |
depends on LOGO_LINUX_VGA16 |
| 44 |
default "drivers/video/logo/logo_superh_vga16.ppm" if SUPERH |
| 45 |
default "drivers/video/logo/logo_linux_vga16.ppm" |
| 46 |
help |
| 47 |
Takes a path to a logo in the portable pixmap file format (.ppm), |
| 48 |
using the 16 colors from the drivers/video/logo/clut_vga16.ppm |
| 49 |
palette. This defaults to the Tux penguin. |
| 50 |
|
| 51 |
For example, the below ImageMagick command can be used to reduce an |
| 52 |
image to the VGA 16 colors palette and convert into a ppm file: |
| 53 |
|
| 54 |
magick source_image -compress none \ |
| 55 |
-remap drivers/video/logo/clut_vga16.ppm destination.ppm |
| 56 |
|
| 57 |
config LOGO_LINUX_CLUT224 |
| 58 |
bool "Standard 224-color Linux logo" |
| 59 |
default y |
| 60 |
|
| 61 |
config LOGO_LINUX_CLUT224_FILE |
| 62 |
string "224-color logo .ppm file" |
| 63 |
depends on LOGO_LINUX_CLUT224 |
| 64 |
default "drivers/video/logo/logo_dec_clut224.ppm" if MACH_DECSTATION || ALPHA |
| 65 |
default "drivers/video/logo/logo_parisc_clut224.ppm" if PARISC |
| 66 |
default "drivers/video/logo/logo_sgi_clut224.ppm" if SGI_IP22 || SGI_IP27 || SGI_IP32 |
| 67 |
default "drivers/video/logo/logo_sun_clut224.ppm" if SPARC |
| 68 |
default "drivers/video/logo/logo_superh_clut224.ppm" if SUPERH |
| 69 |
default "drivers/video/logo/logo_linux_clut224.ppm" |
| 70 |
help |
| 71 |
Takes a path to a 224-color logo in the portable pixmap file |
| 72 |
format (.ppm). This defaults to the Tux penguin. |
| 73 |
|
| 74 |
For example, the below ImageMagick command can be used to reduce |
| 75 |
an image palette to 224 colors and convert it into a ppm file: |
| 76 |
|
| 77 |
magick source_image -compress none -colors 224 destination.ppm |
| 78 |
|
| 79 |
endif # LOGO |