[Skiboot] [PATCH 32/34] Pass "quiet" to bootloader kernel by default

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Jul 24 09:27:26 AEST 2016


This speeds up boot significantly especially on machines with
a slow console via the BMC

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 core/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/init.c b/core/init.c
index 1cf4cc2..16bae50 100644
--- a/core/init.c
+++ b/core/init.c
@@ -456,6 +456,8 @@ void __noreturn load_and_boot_kernel(bool is_reboot)
 	/* Set kernel command line argument if specified */
 #ifdef KERNEL_COMMAND_LINE
 	dt_add_property_string(dt_chosen, "bootargs", KERNEL_COMMAND_LINE);
+#else
+	dt_add_property_string(dt_chosen, "bootargs", "quiet");
 #endif
 
 	op_display(OP_LOG, OP_MOD_INIT, 0x000B);
-- 
2.7.4



More information about the Skiboot mailing list