summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2021-12-30 19:30:21 -0800
committerZhaofeng Li <hello@zhaofeng.li>2022-02-12 00:04:48 -0800
commitd57972961cb454a66ffbc26a44860b57e78efbf1 (patch)
tree93a1a45a48c71976a3083321bedc882bdc3b0139 /pkgs/misc
parent7851f68a6802ca1158fb63ae3214997238fc17d8 (diff)
downloadnixpkgs-d57972961cb454a66ffbc26a44860b57e78efbf1.tar
nixpkgs-d57972961cb454a66ffbc26a44860b57e78efbf1.tar.gz
nixpkgs-d57972961cb454a66ffbc26a44860b57e78efbf1.tar.bz2
nixpkgs-d57972961cb454a66ffbc26a44860b57e78efbf1.tar.lz
nixpkgs-d57972961cb454a66ffbc26a44860b57e78efbf1.tar.xz
nixpkgs-d57972961cb454a66ffbc26a44860b57e78efbf1.tar.zst
nixpkgs-d57972961cb454a66ffbc26a44860b57e78efbf1.zip
ubootRaspberryPi3_{32,64}bit: Add patch to load correct DT for Pi Zero 2 W
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/uboot/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index e287066ddb9..5d7a344088e 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -395,12 +395,28 @@ in {
     defconfig = "rpi_3_32b_defconfig";
     extraMeta.platforms = ["armv7l-linux"];
     filesToInstall = ["u-boot.bin"];
+    extraPatches = [
+      # Remove when updating to 2022.01
+      # https://patchwork.ozlabs.org/project/uboot/list/?series=273129&archive=both&state=*
+      (fetchpatch {
+        url = "https://patchwork.ozlabs.org/series/273129/mbox/";
+        sha256 = "sha256-/Gu7RNvBNYCGqdFRzQ11qPDDxgGVpwKYYw1CpumIGfU=";
+      })
+    ];
   };
 
   ubootRaspberryPi3_64bit = buildUBoot {
     defconfig = "rpi_3_defconfig";
     extraMeta.platforms = ["aarch64-linux"];
     filesToInstall = ["u-boot.bin"];
+    extraPatches = [
+      # Remove when updating to 2022.01
+      # https://patchwork.ozlabs.org/project/uboot/list/?series=273129&archive=both&state=*
+      (fetchpatch {
+        url = "https://patchwork.ozlabs.org/series/273129/mbox/";
+        sha256 = "sha256-/Gu7RNvBNYCGqdFRzQ11qPDDxgGVpwKYYw1CpumIGfU=";
+      })
+    ];
   };
 
   ubootRaspberryPi4_32bit = buildUBoot {