From f80a5634612807befc5c6ea012c7063bb7efed06 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Fri, 25 Dec 2015 20:31:43 +0200 Subject: [PATCH] U-Boot: Build for the Banana Pi board I don't own this board, but someone on IRC reported this as working (and anyway it's practically identical to ubootPcduino3Nano since they're both Allwinner boards) --- pkgs/misc/uboot/default.nix | 6 ++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 7 insertions(+) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 981fbce0a3ab..b592005e7948 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -61,6 +61,12 @@ in rec { filesToInstall = ["tools/dumpimage" "tools/mkenvimage" "tools/mkimage"]; }; + ubootBananaPi = buildUBoot rec { + defconfig = "Bananapi_defconfig"; + targetPlatforms = ["armv7l-linux"]; + filesToInstall = ["u-boot-sunxi-with-spl.bin"]; + }; + ubootJetsonTK1 = buildUBoot rec { defconfig = "jetson-tk1_defconfig"; targetPlatforms = ["armv7l-linux"]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bac0f0dd8b6f..2472e129a9a5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10576,6 +10576,7 @@ let # Upstream U-Boots: inherit (callPackage ../misc/uboot {}) buildUBoot + ubootBananaPi ubootJetsonTK1 ubootPcduino3Nano ubootRaspberryPi