From b5e85308ee4085ff625909664f814be17588feaa Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Mon, 6 Jan 2020 20:28:54 -0500 Subject: [PATCH] Prefer tty0 console --- nixos/sd-image-aarch64.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/sd-image-aarch64.nix b/nixos/sd-image-aarch64.nix index f85017d..b55bee3 100644 --- a/nixos/sd-image-aarch64.nix +++ b/nixos/sd-image-aarch64.nix @@ -19,9 +19,13 @@ in boot.kernelParams = [ "cma=32M" #"console=ttyS0,115200n8" "console=ttyAMA0,115200n8" "console=tty0" - "console=tty0" + "console=ttyS2,1500000n8" "earlycon=uart8250,mmio32,0xff1a0000" "earlyprintk" + + # The last console parameter will be where the boot process will print + # its messages. Comment or move abot ttyS2 for better serial debugging. + "console=tty0" ]; services.mingetty.serialSpeed = [ 1500000 115200 57600 38400 9600 ];