aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/misc/uboot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/misc/uboot/default.nix')
-rw-r--r--nixpkgs/pkgs/misc/uboot/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/misc/uboot/default.nix b/nixpkgs/pkgs/misc/uboot/default.nix
index 1bd4dfffd8e..59f73b42439 100644
--- a/nixpkgs/pkgs/misc/uboot/default.nix
+++ b/nixpkgs/pkgs/misc/uboot/default.nix
@@ -18,10 +18,10 @@
}:
let
- defaultVersion = "2020.04";
+ defaultVersion = "2020.07";
defaultSrc = fetchurl {
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2";
- sha256 = "0wjkasnz87q86hx93inspdjfjsinmxi87bcvj30c773x0fpjlwzy";
+ sha256 = "0sjzy262x93aaqd6z24ziaq19xjjjk5f577ivf768vmvwsgbzxf1";
};
buildUBoot = {
version ? null
@@ -176,7 +176,7 @@ in {
ubootNovena = buildUBoot {
defconfig = "novena_defconfig";
extraMeta.platforms = ["armv7l-linux"];
- filesToInstall = ["u-boot.bin" "SPL"];
+ filesToInstall = ["u-boot-dtb.img" "SPL"];
};
# Flashing instructions:
@@ -271,6 +271,13 @@ in {
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
};
+ ubootPinebookPro = buildUBoot {
+ defconfig = "pinebook-pro-rk3399_defconfig";
+ extraMeta.platforms = ["aarch64-linux"];
+ BL31 = "${armTrustedFirmwareRK3399}/bl31.elf";
+ filesToInstall = [ "u-boot.itb" "idbloader.img"];
+ };
+
ubootQemuAarch64 = buildUBoot {
defconfig = "qemu_arm64_defconfig";
extraMeta.platforms = ["aarch64-linux"];