sd-image-aarch64: Increase CMA memory so RPi3 virtual console works again
commitc8e7aab0c8bae8a49ec5bd87ace65b237c8e3d18
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
dateFri 15 Sep 2017, 23:15 (9 years ago)
parentb19fa00
nixos/modules/installer/cd-dvd/sd-image-aarch64.nix+2−1
@@ -27,7 +27,8 @@ in
2727 boot.loader.generic-extlinux-compatible.enable = true;
2828
2929 boot.kernelPackages = pkgs.linuxPackages_latest;
30− boot.kernelParams = ["console=ttyS0,115200n8" "console=tty0"];
30+ # Increase the amount of CMA to ensure the virtual console on the RPi3 works.
31+ boot.kernelParams = ["cma=32M" "console=ttyS0,115200n8" "console=tty0"];
3132 boot.consoleLogLevel = 7;
3233
3334 # FIXME: this probably should be in installation-device.nix