summary refs log tree commit diff
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2022-01-24 16:57:55 -0800
committerZhaofeng Li <hello@zhaofeng.li>2022-02-12 00:04:48 -0800
commit1781d283f3a24ef32d0d65d54197e7cc061ff55b (patch)
tree601fa4d5274c137ed05f45db15359e5b09016acb
parent57272bebeef8ce0ccbb8909c9443445d3ab70316 (diff)
downloadnixpkgs-1781d283f3a24ef32d0d65d54197e7cc061ff55b.tar
nixpkgs-1781d283f3a24ef32d0d65d54197e7cc061ff55b.tar.gz
nixpkgs-1781d283f3a24ef32d0d65d54197e7cc061ff55b.tar.bz2
nixpkgs-1781d283f3a24ef32d0d65d54197e7cc061ff55b.tar.lz
nixpkgs-1781d283f3a24ef32d0d65d54197e7cc061ff55b.tar.xz
nixpkgs-1781d283f3a24ef32d0d65d54197e7cc061ff55b.tar.zst
nixpkgs-1781d283f3a24ef32d0d65d54197e7cc061ff55b.zip
sd-image-aarch64: Enable arm_boost for Pi 4
This is effective on the Pi 400 and on newer board revisions of the
Pi 4B. From the official documentation:

> New Raspberry Pi OS images from Bullseye onwards come with
> this setting by default.

<https://www.raspberrypi.com/documentation/computers/config_txt.html>
-rw-r--r--nixos/modules/installer/sd-card/sd-image-aarch64.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/installer/sd-card/sd-image-aarch64.nix b/nixos/modules/installer/sd-card/sd-image-aarch64.nix
index 36fe2be7ae6..321793882f4 100644
--- a/nixos/modules/installer/sd-card/sd-image-aarch64.nix
+++ b/nixos/modules/installer/sd-card/sd-image-aarch64.nix
@@ -36,6 +36,9 @@
         # what the pi3 firmware does by default.
         disable_overscan=1
 
+        # Supported in newer board revisions
+        arm_boost=1
+
         [all]
         # Boot in 64-bit mode.
         arm_64bit=1