raspberry-pi/3: remove ttyAMA0 from console list

This commit is contained in:
Jörg Thalheim 2024-06-29 09:47:27 +02:00 committed by mergify[bot]
parent 43ea86cc8c
commit a59f00f5ac

View file

@ -22,13 +22,12 @@
# Enables the generation of /boot/extlinux/extlinux.conf # Enables the generation of /boot/extlinux/extlinux.conf
boot.loader.generic-extlinux-compatible.enable = lib.mkDefault true; 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: # The serial ports listed here are:
# - ttyS0: for Tegra (Jetson TX1) # - ttyS0: serial
# - ttyAMA0: for QEMU's -machine virt # - tty0: hdmi
# https://github.com/NixOS/nixpkgs/blob/b72bde7c4a1f9c9bf1a161f0c267186ce3c6483c/nixos/modules/installer/sd-card/sd-image-aarch64.nix#L19
boot.kernelParams = [ boot.kernelParams = [
"console=ttyS0,115200n8" "console=ttyS0,115200n8"
"console=ttyAMA0,115200n8"
"console=tty0" "console=tty0"
]; ];