mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 11:36:04 +01:00
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:
parent
4e4ed46f15
commit
5f94c31db1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue