From 9f536c07d1e9e007a61668c52cdfacea1f5ab349 Mon Sep 17 00:00:00 2001 From: Travis Staton Date: Mon, 3 Jul 2023 21:45:03 -0400 Subject: [PATCH] Revert "enable uart console for kernel" This reverts commit 5f94c31db1d2c734523a98ae2b490891a6dc3ac7. fixes #6 ttyAMA0 controls uart0, which can be used for bluetooth. If it is used for bluetooth then we don't want to write a bunch of garbage to it. --- sd-image/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd-image/default.nix b/sd-image/default.nix index 5ee8e7a..2804d06 100644 --- a/sd-image/default.nix +++ b/sd-image/default.nix @@ -10,7 +10,7 @@ boot.consoleLogLevel = lib.mkDefault 7; # https://github.com/raspberrypi/firmware/issues/1539#issuecomment-784498108 - boot.kernelParams = [ "console=ttyAMA0,115200n8" "console=tty1" ]; + boot.kernelParams = [ "console=serial0,115200n8" "console=tty1" ]; sdImage = { populateFirmwareCommands = ''