0002-Enable-serial-console.patch 810 B

1234567891011121314151617181920212223242526272829
  1. From 91fccf5cc559543122c76694f4e39befae191853 Mon Sep 17 00:00:00 2001
  2. From: Andrew Robbins <contact@andrewrobbins.info>
  3. Date: Sat, 4 Jul 2020 12:26:18 -0500
  4. Subject: [PATCH] Enable serial console
  5. Necessary for boards such as KCMA-D8 or KGPE-D16 where
  6. the coreboot framebuffer is not supported and/or a headless
  7. setup is desired.
  8. ---
  9. config.h | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/config.h b/config.h
  12. index 9f7c7a5..36eaa9d 100644
  13. --- a/config.h
  14. +++ b/config.h
  15. @@ -38,7 +38,7 @@
  16. /* This is normally off since it slows down testing. Change to a 1 */
  17. /* to enable. */
  18. #ifndef SERIAL_CONSOLE_DEFAULT
  19. -#define SERIAL_CONSOLE_DEFAULT 0
  20. +#define SERIAL_CONSOLE_DEFAULT 1
  21. #endif
  22. /* SERIAL_TTY - The default serial port to use. 0=ttyS0, 1=ttyS1, 2=ttyS2, 3=ttyS3 */
  23. --
  24. 2.27.0