about summary refs log tree commit diff
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-12-25 20:55:22 +0200
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2016-02-01 10:46:17 +0200
commite9b80f39721965ecbcd384ef6faeb3b661d3a3a7 (patch)
tree3486b0152339980a4c4e29992cfc8930f4fe8a2d /pkgs/misc/uboot
parent5d3642eba9e8ea4bebf25aa19b2a7320a3666974 (diff)
downloadnixlib-e9b80f39721965ecbcd384ef6faeb3b661d3a3a7.tar
nixlib-e9b80f39721965ecbcd384ef6faeb3b661d3a3a7.tar.gz
nixlib-e9b80f39721965ecbcd384ef6faeb3b661d3a3a7.tar.bz2
nixlib-e9b80f39721965ecbcd384ef6faeb3b661d3a3a7.tar.lz
nixlib-e9b80f39721965ecbcd384ef6faeb3b661d3a3a7.tar.xz
nixlib-e9b80f39721965ecbcd384ef6faeb3b661d3a3a7.tar.zst
nixlib-e9b80f39721965ecbcd384ef6faeb3b661d3a3a7.zip
U-Boot: Build for the Wandboard board
From v2016.01 onwards, the Wandboards boot using the distro bootcmd
stuff as well.

Tested on a Wandboard Quad.
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 50b676aff1ea..4d1d3d73990e 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -92,4 +92,10 @@ in rec {
     filesToInstall = ["u-boot"];
     patches = [ ./vexpress-Use-config_distro_bootcmd.patch ];
   };
+
+  ubootWandboard = buildUBoot rec {
+    defconfig = "wandboard_defconfig";
+    targetPlatforms = ["armv7l-linux"];
+    filesToInstall = ["u-boot.img" "SPL"];
+  };
 }