Skip to content

Commit

Permalink
Merge pull request #461 from osresearch/debug-linux
Browse files Browse the repository at this point in the history
Enable verbose bootup debugging and set the early serial IO base port
  • Loading branch information
tlaurion authored Nov 28, 2019
2 parents 81e7c1b + e177de6 commit b4a647c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/linux-linuxboot.config
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ CONFIG_STACKTRACE=y
# CONFIG_RCU_TRACE is not set
# CONFIG_FTRACE is not set
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_X86_VERBOSE_BOOTUP is not set
CONFIG_X86_VERBOSE_BOOTUP=y
# CONFIG_DOUBLEFAULT is not set
CONFIG_IO_DELAY_0XED=y
CONFIG_OPTIMIZE_INLINING=y
Expand Down
9 changes: 9 additions & 0 deletions patches/linux-4.14.62/0000-efi_bds.patch
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,12 @@ diff -u --recursive ../../clean/linux-4.14.62/arch/x86/boot/compressed/eboot.c l

return boot_params;
fail2:
--- clean/linux-4.14.62/arch/x86/boot/compressed/early_serial_console.c 2018-08-09 12:16:40.000000000 +0200
+++ linux-4.14.62/arch/x86/boot/compressed/early_serial_console.c 2018-09-28 11:59:36.824015244 +0200
@@ -1,5 +1,5 @@
#include "misc.h"

-int early_serial_base;
+int early_serial_base = 0x3f8;

#include "../early_serial_console.c"

0 comments on commit b4a647c

Please sign in to comment.