bitspire/deploy/nixos/hardware
Padreug 082f738ffa fix(deploy): console=tty0 was being dropped on the Pi 5
raspberry-pi-5.nix set `boot.kernelParams = lib.mkDefault [ "console=tty0" ]`
to keep the serial console off the GPIO UART so a validator can own it. It
never took effect: kernelParams is list-merged, and only definitions at the
highest priority survive — nixpkgs defines loglevel/lsm at normal priority,
so the mkDefault list was discarded wholesale. Effective params on
rpi5-installed were `[ "loglevel=4" "lsm=landlock,yama,bpf" ]`, no console=
at all, which makes the kernel fall back to the device tree's stdout-path:
that same UART.

Drop the mkDefault so the entry merges. Verified by evaluating
config.boot.kernelParams before/after.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013A6683cCHnQxFUosx1krY4
2026-09-24 21:43:53 +02:00
..
batm3.nix fix(nfc): auto-recover a wedged CCID reader via USB power-cycle 2026-08-06 19:51:39 +02:00
douro.nix chore(nix): bump nixpkgs 24.05 → 24.11 2026-06-01 19:12:11 +02:00
raspberry-pi-5.nix fix(deploy): console=tty0 was being dropped on the Pi 5 2026-09-24 21:43:53 +02:00
upboard-serial.nix refactor(deploy): share UP Board serial hardware between installed + live ISO 2026-07-02 21:31:36 +02:00
upboard.nix refactor(deploy): share UP Board serial hardware between installed + live ISO 2026-07-02 21:31:36 +02:00