enable uart console for kernel

serial0 is symlinked to ttyAMA0 on rpi's distro, but I don't know
exactly what is supposed to create that, and it isn't happening here.

Something to look into, but this works for now.
This commit is contained in:
Travis Staton 2023-06-16 09:36:35 -04:00
parent 4e4ed46f15
commit 5f94c31db1

View file

@ -10,7 +10,7 @@
boot.consoleLogLevel = lib.mkDefault 7;
# https://github.com/raspberrypi/firmware/issues/1539#issuecomment-784498108
boot.kernelParams = [ "console=serial0,115200n8" "console=tty1" ];
boot.kernelParams = [ "console=ttyAMA0,115200n8" "console=tty1" ];
sdImage = {
populateFirmwareCommands = ''