summary refs log tree commit diff
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2016-04-23 14:44:19 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-07-04 01:52:58 +0300
commit4108e0324e498395e9baa1af27985e9e986116ce (patch)
tree3a0396ff3f671faf455f7a4ccd72a8167dd7a241
parent428b51dd2ff7042099125fd6cd3060e8b090dbaa (diff)
downloadnixpkgs-4108e0324e498395e9baa1af27985e9e986116ce.tar
nixpkgs-4108e0324e498395e9baa1af27985e9e986116ce.tar.gz
nixpkgs-4108e0324e498395e9baa1af27985e9e986116ce.tar.bz2
nixpkgs-4108e0324e498395e9baa1af27985e9e986116ce.tar.lz
nixpkgs-4108e0324e498395e9baa1af27985e9e986116ce.tar.xz
nixpkgs-4108e0324e498395e9baa1af27985e9e986116ce.tar.zst
nixpkgs-4108e0324e498395e9baa1af27985e9e986116ce.zip
U-Boot: Build for the Raspberry Pi 2 & 3
-rw-r--r--pkgs/misc/uboot/default.nix12
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index a2b27c67dce..1deb90e2f84 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -92,6 +92,18 @@ in rec {
     filesToInstall = ["u-boot.bin"];
   };
 
+  ubootRaspberryPi2 = buildUBoot rec {
+    defconfig = "rpi_2_defconfig";
+    targetPlatforms = ["armv7l-linux"];
+    filesToInstall = ["u-boot.bin"];
+  };
+
+  ubootRaspberryPi3 = buildUBoot rec {
+    defconfig = "rpi_3_32b_defconfig";
+    targetPlatforms = ["armv7l-linux"];
+    filesToInstall = ["u-boot.bin"];
+  };
+
   # Intended only for QEMU's vexpress-a9 emulation target!
   ubootVersatileExpressCA9 = buildUBoot rec {
     defconfig = "vexpress_ca9x4_defconfig";
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index fd12c640926..1630f37a5c1 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -11405,6 +11405,8 @@ in
     ubootJetsonTK1
     ubootPcduino3Nano
     ubootRaspberryPi
+    ubootRaspberryPi2
+    ubootRaspberryPi3
     ubootVersatileExpressCA9
     ubootWandboard
     ;