[Skiboot] [PATCH] Set boot consoles to be used by the bootloader
Sam Mendoza-Jonas
sam at mendozajonas.com
Wed Mar 9 10:30:02 AEDT 2016
If nothing is specified on the kernel command line the boot console will
only be displayed on hvc0 by default.
Specify both tty0 and hvc0 so that the boot console can also be seen on
the VGA device if it is available.
Signed-off-by: Sam Mendoza-Jonas <sam at mendozajonas.com>
---
Technically this could also be done by patching it to be the default
in the kernel (ie. a patch in op-build) but this seems to be a cleaner
way of setting it for any bootloader we may have.
Tested on a Habanero and Tuleta machine, although I don't have a monitor
attached to any Tuletas at the moment.
include/config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/config.h b/include/config.h
index 2524570..9feb10e 100644
--- a/include/config.h
+++ b/include/config.h
@@ -89,7 +89,7 @@
/* Configure this to provide some additional kernel command line
* arguments to the bootloader
*/
-//#define KERNEL_COMMAND_LINE "debug"
+#define KERNEL_COMMAND_LINE "console=tty0 console=hvc0"
#endif /* __CONFIG_H */
--
2.7.2
More information about the Skiboot
mailing list