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 ];