From 6d961ec9225a44fa8ea447361a75dea377365046 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Fri, 17 May 2019 21:57:14 -0400 Subject: [PATCH] u-boot: Adds Pine64LTS The name of the board is indeed A64-LTS, but upstream U-Boot names it pine64-lts so let's keep the U-Boot moniker. This previously was supported using the SOPINE build. --- pkgs/misc/uboot/default.nix | 7 +++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 8 insertions(+) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 875267885aa..b9325db9d51 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -195,6 +195,13 @@ in rec { filesToInstall = ["u-boot-sunxi-with-spl.bin"]; }; + ubootPine64LTS = buildUBoot rec { + defconfig = "pine64-lts_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"]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c923ff2d9b4..ba95e21298c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15881,6 +15881,7 @@ in ubootOrangePiZeroPlus2H5 ubootPcduino3Nano ubootPine64 + ubootPine64LTS ubootQemuAarch64 ubootQemuArm ubootRaspberryPi