summaryrefslogtreecommitdiff
path: root/target/config/Config.in.runtime
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-14 04:48:26 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-14 04:50:37 -0600
commit5dce6450cf93bde8816892db3f67d74b9947b209 (patch)
tree991054ee6093dd8fd4e0ff7262a7868c6b3ebc4d /target/config/Config.in.runtime
parentde7c7901a87c27f80bf562a1f1797c838fa6efe0 (diff)
rework VGA and serial output
The Linux kernel can output messages to serial devices and vga devices in parallel. The latest console= entry decides which console output is used for init via /dev/console character device. Let the developer configure what he wants. If you use f.e. Kodi, be sure output/input is used for VGA, other wise kodi startsup, but you end up with a black screen.
Diffstat (limited to 'target/config/Config.in.runtime')
-rw-r--r--target/config/Config.in.runtime39
1 files changed, 37 insertions, 2 deletions
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 0d8fae992..5318157cc 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -50,11 +50,40 @@ config ADK_RUNTIME_TIMEZONE
help
Predefine the timezone for the embedded system.
-config ADK_QUIET_KERNEL
- bool "make bootup quiet without messages from the kernel"
+choice
+prompt "bootup messages from kernel"
+
+config ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY
+ bool "output via VGA only"
+ depends on ADK_TARGET_WITH_VGA
+
+config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY
+ bool "output via serial console only"
+ depends on ADK_TARGET_WITH_SERIAL
+
+config ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL
+ bool "output via VGA and serial console"
+ depends on ADK_TARGET_WITH_SERIAL && \
+ ADK_TARGET_WITH_VGA
+ help
+ Output is via VGA and serial console.
+ Init can use only serial via /dev/console.
+
+config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA
+ bool "output via serial console and VGA"
+ depends on ADK_TARGET_WITH_SERIAL && \
+ ADK_TARGET_WITH_VGA
+ help
+ Output is via serial console and VGA.
+ Init can use only VGA via /dev/console.
+
+config ADK_RUNTIME_QUIET_KERNEL
+ bool "no output from the kernel"
help
Make bootup quiet without messages from the kernel.
+endchoice
+
choice
prompt "bootup messages from initscripts"
default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA
@@ -63,10 +92,16 @@ default ADK_RUNTIME_VERBOSE_INIT_SERIAL
config ADK_RUNTIME_VERBOSE_INIT_VGA
bool "output via VGA"
depends on ADK_TARGET_WITH_VGA
+ depends on ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA || \
+ ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY || \
+ ADK_RUNTIME_QUIET_KERNEL
config ADK_RUNTIME_VERBOSE_INIT_SERIAL
bool "output via serial"
depends on ADK_TARGET_WITH_SERIAL
+ depends on ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL || \
+ ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY || \
+ ADK_RUNTIME_QUIET_KERNEL
config ADK_RUNTIME_QUIET_INIT
bool "no output"