From ac484454343d9269f0c27783c9c306ebc6229b96 Mon Sep 17 00:00:00 2001 From: Julius Michaelis Date: Thu, 29 Aug 2024 12:18:24 +0900 Subject: [PATCH] linux_rpi{02w,1,2,3,4}: Add dtb for rpi-zero-2-w Given that linux_rpi02w exists (as an alias for linux_rpi3), not having the dtb makes little sense --- pkgs/os-specific/linux/kernel/linux-rpi.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/kernel/linux-rpi.nix b/pkgs/os-specific/linux/kernel/linux-rpi.nix index 775a50980f6d4..8ea483fc25797 100644 --- a/pkgs/os-specific/linux/kernel/linux-rpi.nix +++ b/pkgs/os-specific/linux/kernel/linux-rpi.nix @@ -91,6 +91,7 @@ lib.overrideDerivation (buildLinux (args // { copyDTB bcm2709-rpi-2-b.dtb bcm2836-rpi-2-b.dtb '' + lib.optionalString (lib.elem stdenv.hostPlatform.system ["armv7l-linux" "aarch64-linux"]) '' copyDTB bcm2710-rpi-zero-2.dtb bcm2837-rpi-zero-2.dtb + copyDTB bcm2710-rpi-zero-2-w.dtb bcm2837-rpi-zero-2-w.dtb copyDTB bcm2710-rpi-3-b.dtb bcm2837-rpi-3-b.dtb copyDTB bcm2710-rpi-3-b-plus.dtb bcm2837-rpi-3-a-plus.dtb copyDTB bcm2710-rpi-3-b-plus.dtb bcm2837-rpi-3-b-plus.dtb