diff options
author | Zhaofeng Li <hello@zhaofeng.li> | 2021-12-30 19:30:21 -0800 |
---|---|---|
committer | Zhaofeng Li <hello@zhaofeng.li> | 2022-02-12 00:04:48 -0800 |
commit | d57972961cb454a66ffbc26a44860b57e78efbf1 (patch) | |
tree | 93a1a45a48c71976a3083321bedc882bdc3b0139 /pkgs/misc/uboot | |
parent | 7851f68a6802ca1158fb63ae3214997238fc17d8 (diff) |
ubootRaspberryPi3_{32,64}bit: Add patch to load correct DT for Pi Zero 2 W
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r-- | pkgs/misc/uboot/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index e287066ddb9c..5d7a344088ef 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 { |