From 0cc5ad3e2f0e2a6a53c3d7a72a94ef036dea4000 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Mon, 10 Apr 2023 00:13:50 -0700 Subject: [PATCH] coreboot/default.nix: reduce default loglevel On kgpe-d16 coreboot has long been plagued with occasional boot hangs somewhere deep within the PNP initialization code. I'm still hunting down the root cause, but for the moment reducing the logging level helps. Reducing the log level results in fewer fewer writes to the serial port. The serial port has a very finicky initialization sequence, because it needs to be usable *before* the PNP initialization has run. --- src/coreboot/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreboot/default.nix b/src/coreboot/default.nix index bfad27b..e00778c 100644 --- a/src/coreboot/default.nix +++ b/src/coreboot/default.nix @@ -5,7 +5,7 @@ , config ? throw "you must provide a coreboot .config file" , initramfs_image # path to the initramfs `cpio` archive , iasl ? null # a specific iasl to use, if needed -, console_loglevel ? "7" +, console_loglevel ? "6" # 8=SPEW, 7=DEBUG, 6=INFO , linux-command-line }: let