From cae948e923928a7a66dbed13c1d9f9de68b2e762 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 30 Sep 2024 09:32:42 +0200 Subject: [PATCH] Switch to ttyS0 as console device --- JOURNAL.md | 14 ++++++++++++++ lagarto-ox.nix | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/JOURNAL.md b/JOURNAL.md index 5070077..c2ebb27 100644 --- a/JOURNAL.md +++ b/JOURNAL.md @@ -4297,3 +4297,17 @@ least). Disabling udev by just setting `services.udev.enable = false` doesn't work. It still gets activated by the kernel socket. + +## 2024-09-30 + +Managed to launch an interactive shell from stage2, before we run systemd. It +boots in less than 5 minutes. + +Now I can run some benchmarks there. + +Let's see if I can enable flow control on the serial console. That would be +helpful. + +For that I need to first switch to the 8250/16550 driver. Let's try switch to +the ttyS0 without enabling flow control yet. We probably need to change the +stage1 and stage2 scripts to follow the proper console device. diff --git a/lagarto-ox.nix b/lagarto-ox.nix index aa5ea7d..096f268 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -511,7 +511,7 @@ in prev.runCommand "uboot.txt" {} '' cat > $out <