summary refs log tree commit diff
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-01-19 22:14:00 +0200
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-13 16:12:11 -0400
commitf2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f (patch)
treea2ca2869ce3fbeec801c44719999dec5a4e099c8 /pkgs/misc/uboot
parent566d3feb4e5b785513f1ed1c6a23faee96d96077 (diff)
downloadnixpkgs-f2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f.tar
nixpkgs-f2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f.tar.gz
nixpkgs-f2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f.tar.bz2
nixpkgs-f2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f.tar.lz
nixpkgs-f2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f.tar.xz
nixpkgs-f2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f.tar.zst
nixpkgs-f2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f.zip
U-Boot: Add Pine64 build
(cherry picked from commit 4b77663edfba2c4e15db46c1ba900fa9819e4325)
(cherry picked from commit 1896fcff609d7b99b4be1781a5c9523193c33e4f)
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index aac5f5a2c80..4a96deadaea 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -167,6 +167,14 @@ in rec {
     filesToInstall = ["u-boot-sunxi-with-spl.bin"];
   };
 
+  ubootPine64 = buildUBoot rec {
+    extraPatches = [sunxiPatch];
+    defconfig = "pine64_plus_defconfig";
+    extraMeta.platforms = ["aarch64-linux"];
+    BL31 = "${armTrustedFirmwareAllwinner}/bl31.bin";
+    filesToInstall = ["u-boot-sunxi-with-spl.bin"];
+  };
+
   ubootQemuAarch64 = buildUBoot rec {
     defconfig = "qemu_arm64_defconfig";
     extraMeta.platforms = ["aarch64-linux"];