pcengines/apu: expose GRUB over serial

Prior to this commit, an apu's boot would go through stages of varying visibility:
1. BIOS: exposed to serial
2. GRUB: not exposed to serial
3. Linux: exposed to serial

This commit changes (2) to be visible over serial, so the entire boot is visible over serial.

Tested on nixos 18.09 on a https://www.pcengines.ch/apu1d.htm
This commit is contained in:
Tom F 2019-03-24 18:48:11 +11:00 committed by GitHub
parent a2e36c1b0c
commit a23235a6ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
{
boot.kernelParams = [ "console=ttyS0,115200n8" ];
boot.loader.grub.extraConfig = "
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input serial
terminal_output serial
";
}