Added serial console
This commit is contained in:
parent
3591b681e2
commit
cde6d13c14
|
@ -12,7 +12,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
kernelPackages = pkgs.linuxPackages_latest; # For a Raspberry Pi 2 or 3)
|
kernelPackages = pkgs.linuxPackages_latest; # For a Raspberry Pi 2 or 3)
|
||||||
kernelParams = ["cma=32M"]; # Needed for the virtual console to work on the RPi 3
|
kernelParams = [
|
||||||
|
"cma=32M"i # Needed for the virtual console to work on the RPi 3
|
||||||
|
"console=ttyS1,115200n8" # Enable the serial console
|
||||||
|
];
|
||||||
loader = {
|
loader = {
|
||||||
generic-extlinux-compatible = {
|
generic-extlinux-compatible = {
|
||||||
enable = true; # Enables the generation of /boot/extlinux/extlinux.conf
|
enable = true; # Enables the generation of /boot/extlinux/extlinux.conf
|
||||||
|
|
Loading…
Reference in a new issue