about summary refs log tree commit diff
path: root/nixos/modules/installer
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2019-06-24 14:53:01 -0400
committerGitHub <noreply@github.com>2019-06-24 14:53:01 -0400
commit7c819989f99962d01aef9513f3a131ffe385ab38 (patch)
treecd2a1f6aafba53f9988a6397c8c09b749cf58737 /nixos/modules/installer
parentc4a12ee9c038b17785783564c7218450f67475df (diff)
parent5d92d16b49ee851dfbed7fb8b47e172ab1104a20 (diff)
downloadnixlib-7c819989f99962d01aef9513f3a131ffe385ab38.tar
nixlib-7c819989f99962d01aef9513f3a131ffe385ab38.tar.gz
nixlib-7c819989f99962d01aef9513f3a131ffe385ab38.tar.bz2
nixlib-7c819989f99962d01aef9513f3a131ffe385ab38.tar.lz
nixlib-7c819989f99962d01aef9513f3a131ffe385ab38.tar.xz
nixlib-7c819989f99962d01aef9513f3a131ffe385ab38.tar.zst
nixlib-7c819989f99962d01aef9513f3a131ffe385ab38.zip
Merge pull request #63147 from samueldr/aarch64/graphics-fixes
aarch64: misc. graphical boot fixes
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r--nixos/modules/installer/cd-dvd/sd-image-aarch64.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
index 5f7194e92a36..151749f396df 100644
--- a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
@@ -26,6 +26,13 @@ in
   # Also increase the amount of CMA to ensure the virtual console on the RPi3 works.
   boot.kernelParams = ["cma=32M" "console=ttyS0,115200n8" "console=ttyAMA0,115200n8" "console=tty0"];
 
+  boot.initrd.availableKernelModules = [
+    # Allows early (earlier) modesetting for the Raspberry Pi
+    "vc4" "bcm2835_dma" "i2c_bcm2835"
+    # Allows early (earlier) modesetting for Allwinner SoCs
+    "sun4i_drm" "sun8i_drm_hdmi" "sun8i_mixer"
+  ];
+
   sdImage = {
     populateBootCommands = let
       configTxt = pkgs.writeText "config.txt" ''