aboutsummaryrefslogtreecommitdiff
path: root/miscutils/fbsplash.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/fbsplash.c')
-rw-r--r--miscutils/fbsplash.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c
index 3ddf8a242..93fd9412b 100644
--- a/miscutils/fbsplash.c
+++ b/miscutils/fbsplash.c
@@ -20,6 +20,27 @@
20 * "NN" (ASCII decimal number) - percentage to show on progress bar. 20 * "NN" (ASCII decimal number) - percentage to show on progress bar.
21 * "exit" (or just close fifo) - well you guessed it. 21 * "exit" (or just close fifo) - well you guessed it.
22 */ 22 */
23//config:config FBSPLASH
24//config: bool "fbsplash"
25//config: default y
26//config: select PLATFORM_LINUX
27//config: help
28//config: Shows splash image and progress bar on framebuffer device.
29//config: Can be used during boot phase of an embedded device. ~2kb.
30//config: Usage:
31//config: - use kernel option 'vga=xxx' or otherwise enable fb device.
32//config: - put somewhere fbsplash.cfg file and an image in .ppm format.
33//config: - $ setsid fbsplash [params] &
34//config: -c: hide cursor
35//config: -d /dev/fbN: framebuffer device (if not /dev/fb0)
36//config: -s path_to_image_file (can be "-" for stdin)
37//config: -i path_to_cfg_file (can be "-" for stdin)
38//config: -f path_to_fifo (can be "-" for stdin)
39//config: - if you want to run it only in presence of kernel parameter:
40//config: grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
41//config: - commands for fifo:
42//config: "NN" (ASCII decimal number) - percentage to show on progress bar
43//config: "exit" - well you guessed it
23 44
24//usage:#define fbsplash_trivial_usage 45//usage:#define fbsplash_trivial_usage
25//usage: "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" 46//usage: "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]"