summaryrefslogtreecommitdiffhomepage
path: root/miscutils/fbsplash.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:14:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:14:24 +0100
commitfb4da167114e96d7f20ef97474f976f8ffa604e7 (patch)
tree6f688202bc89ffa68b6679d1b252fd69b7471c94 /miscutils/fbsplash.c
parent9f8eb1ee7620020e01b3596ac7259d51ebca7a7b (diff)
Split miscutils/Config.src items into miscutils/*.c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 @@
* "NN" (ASCII decimal number) - percentage to show on progress bar.
* "exit" (or just close fifo) - well you guessed it.
*/
+//config:config FBSPLASH
+//config: bool "fbsplash"
+//config: default y
+//config: select PLATFORM_LINUX
+//config: help
+//config: Shows splash image and progress bar on framebuffer device.
+//config: Can be used during boot phase of an embedded device. ~2kb.
+//config: Usage:
+//config: - use kernel option 'vga=xxx' or otherwise enable fb device.
+//config: - put somewhere fbsplash.cfg file and an image in .ppm format.
+//config: - $ setsid fbsplash [params] &
+//config: -c: hide cursor
+//config: -d /dev/fbN: framebuffer device (if not /dev/fb0)
+//config: -s path_to_image_file (can be "-" for stdin)
+//config: -i path_to_cfg_file (can be "-" for stdin)
+//config: -f path_to_fifo (can be "-" for stdin)
+//config: - if you want to run it only in presence of kernel parameter:
+//config: grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
+//config: - commands for fifo:
+//config: "NN" (ASCII decimal number) - percentage to show on progress bar
+//config: "exit" - well you guessed it
//usage:#define fbsplash_trivial_usage
//usage: "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]"