sd-image-aarch64: Increase CMA memory so RPi3 virtual console works again

(cherry picked from commit c8e7aab0c8)
This commit is contained in:
Tuomas Tynkkynen
2017-09-15 23:15:16 +03:00
committed by Franz Pletz
parent 41882d76f4
commit 545d8e7cb4

View File

@@ -27,7 +27,8 @@ in
boot.loader.generic-extlinux-compatible.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = ["console=ttyS0,115200n8" "console=tty0"];
# Increase the amount of CMA to ensure the virtual console on the RPi3 works.
boot.kernelParams = ["cma=32M" "console=ttyS0,115200n8" "console=tty0"];
boot.consoleLogLevel = 7;
# FIXME: this probably should be in installation-device.nix