summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/uboot
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 /pkgs/misc/uboot
parent428b51dd2ff7042099125fd6cd3060e8b090dbaa (diff)
U-Boot: Build for the Raspberry Pi 2 & 3
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index a2b27c67dce0..1deb90e2f842 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";