From 30703d1715e2a2ef184321863e88fae255b53fef Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 3 Jul 2024 16:09:38 +0200 Subject: [PATCH] Use the ttyS0 device for the console For now it seems to be outputting the log properly, but it doesn't read anything in the initrd input console. --- lagarto-ox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lagarto-ox.nix b/lagarto-ox.nix index db51b7d..95c43f2 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -196,7 +196,7 @@ fdt set /memory@80000000 reg <0x0 0x80000000 0x0 0xc0000000> # Set kernel options - setenv bootargs "root=/dev/ram0 loglevel=7 debug rw earlycon=sbi boot.trace console=hvc0 init=${init}" + setenv bootargs "root=/dev/ram0 loglevel=7 debug rw earlycon=sbi boot.trace console=ttyS0,115200n8 init=${init}" EOF