From 0d216d0bed1bc856f6a9f3fc28d952eee5031156 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Mon, 6 Jan 2020 17:30:09 -0500 Subject: [PATCH] Setup boot log in serial --- 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 34d2837..f85017d 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=ttyS2,1500000n8" "earlycon=uart8250,mmio32,0xff1a0000" "earlyprintk" + "console=tty0" + "console=ttyS2,1500000n8" + "earlycon=uart8250,mmio32,0xff1a0000" "earlyprintk" ]; + services.mingetty.serialSpeed = [ 1500000 115200 57600 38400 9600 ]; + boot.initrd.availableKernelModules = [ ];