From ae8890e6574795fdc22f95e6410c6cba6e7b5a4e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 6 May 2014 14:37:04 +0200 Subject: allow output from initscripts to serial --- target/config/Config.in | 3 ++- target/config/Config.in.runtime | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'target') diff --git a/target/config/Config.in b/target/config/Config.in index 47e0e5861..e082b5c4c 100644 --- a/target/config/Config.in +++ b/target/config/Config.in @@ -425,7 +425,8 @@ config ADK_TARGET_CFLAGS config ADK_TARGET_CMDLINE string default "dwc_otg.fiq_split_enable=1" if ADK_TARGET_SYSTEM_RASPBERRY_PI - default "console=ttymxc0,115200 console=tty0" if ADK_TARGET_SYSTEM_CUBOX_I + default "console=ttymxc0,115200 console=tty0" if ADK_TARGET_SYSTEM_CUBOX_I && ADK_RUNTIME_VERBOSE_INIT_VGA + default "console=tty0 console=ttymxc0,115200" if ADK_TARGET_SYSTEM_CUBOX_I && ADK_RUNTIME_VERBOSE_INIT_SERIAL default "console=tty0" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_IBM_X40 default "console=ttyS0,115200 console=tty0 fbcon=rotate:1" if ADK_TARGET_SYSTEM_SHARP_ZAURUS diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime index 5a02ec0e5..5d27b6e0d 100644 --- a/target/config/Config.in.runtime +++ b/target/config/Config.in.runtime @@ -45,6 +45,23 @@ config ADK_RUNTIME_TIMEZONE help Predefine the timezone for the embedded system. +choice +prompt "Enable verbose bootup messages from initscripts" +default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA +default ADK_RUNTIME_VERBOSE_INIT_SERIAL + +config ADK_RUNTIME_VERBOSE_INIT_VGA + depends on ADK_TARGET_WITH_VGA + boolean "output via VGA" + +config ADK_RUNTIME_VERBOSE_INIT_SERIAL + boolean "output via serial" + +config ADK_RUNTIME_QUIET_INIT + boolean "no output" + +endchoice + choice prompt "Start getty or shell after bootup" default ADK_RUNTIME_SHELL if ADK_PKG_TEST -- cgit v1.2.3