From a59f00f5ac65b19382617ba00f360f8bc07ed3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 29 Jun 2024 09:47:27 +0200 Subject: [PATCH] raspberry-pi/3: remove ttyAMA0 from console list --- raspberry-pi/3/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/raspberry-pi/3/default.nix b/raspberry-pi/3/default.nix index 9d54c3c..57da74a 100644 --- a/raspberry-pi/3/default.nix +++ b/raspberry-pi/3/default.nix @@ -22,13 +22,12 @@ # Enables the generation of /boot/extlinux/extlinux.conf boot.loader.generic-extlinux-compatible.enable = lib.mkDefault true; + # The last console argument in the list that linux can find at boot will receive kernel logs. # The serial ports listed here are: - # - ttyS0: for Tegra (Jetson TX1) - # - ttyAMA0: for QEMU's -machine virt - # https://github.com/NixOS/nixpkgs/blob/b72bde7c4a1f9c9bf1a161f0c267186ce3c6483c/nixos/modules/installer/sd-card/sd-image-aarch64.nix#L19 + # - ttyS0: serial + # - tty0: hdmi boot.kernelParams = [ "console=ttyS0,115200n8" - "console=ttyAMA0,115200n8" "console=tty0" ];