Skip to content

Commit

Permalink
sd-image-aarch64: Increase CMA memory so RPi3 virtual console works a…
Browse files Browse the repository at this point in the history
…gain
  • Loading branch information
dezgeg committed Sep 15, 2017
1 parent b19fa00 commit c8e7aab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
Expand Up @@ -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
Expand Down

0 comments on commit c8e7aab

Please sign in to comment.