From fe3930301b67dc4b544e418a072af46bdc4ec417 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sat, 6 Apr 2024 21:17:27 +0530 Subject: [PATCH 1/3] uboot: 2024.01 -> 2024.04 --- pkgs/misc/uboot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index d7a3ad13825c..c1a38d1985f4 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -28,10 +28,10 @@ }: let - defaultVersion = "2024.01"; + defaultVersion = "2024.04"; defaultSrc = fetchurl { url = "https://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2"; - hash = "sha256-uZYR8e0je/NUG9yENLaMlqbgWWcGH5kkQ8swqr6+9bM="; + hash = "sha256-GKhT/jn6160DqQzC1Cda6u1tppc13vrDSSuAUIhD3Uo="; }; # Dependencies for the tools need to be included as either native or cross, From 61d1e897904c626e1d0e97b97683e8f192ffd639 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 10 Apr 2024 18:38:11 +0300 Subject: [PATCH 2/3] ubootOrangePi5: drop extraConfig This has been applied upstream, so can be removed. --- pkgs/misc/uboot/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index c1a38d1985f4..ef17ac96f857 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -386,12 +386,6 @@ in { extraMeta.platforms = ["aarch64-linux"]; BL31 = "${armTrustedFirmwareRK3588}/bl31.elf"; ROCKCHIP_TPL = rkbin.TPL_RK3588; - - # FIXME: applied upstream, remove in 2024.04 - extraConfig = '' - CONFIG_ROCKCHIP_SPI_IMAGE=y - ''; - filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" "u-boot-rockchip-spi.bin" ]; }; From 35085ab73009898b5e9d74f1792883773eb2c4b5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 10 Apr 2024 18:45:38 +0300 Subject: [PATCH 3/3] ubootTuringRK1: init --- pkgs/misc/uboot/default.nix | 8 ++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 9 insertions(+) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index ef17ac96f857..837070e65614 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -607,6 +607,14 @@ in { filesToInstall = ["u-boot-sunxi-with-spl.bin"]; }; + ubootTuringRK1 = buildUBoot { + defconfig = "turing-rk1-rk3588_defconfig"; + extraMeta.platforms = [ "aarch64-linux" ]; + BL31 = "${armTrustedFirmwareRK3588}/bl31.elf"; + ROCKCHIP_TPL = rkbin.TPL_RK3588; + filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" ]; + }; + ubootUtilite = buildUBoot { defconfig = "cm_fx6_defconfig"; extraMeta.platforms = ["armv7l-linux"]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 24c64d4e9287..e583111e1a99 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28352,6 +28352,7 @@ with pkgs; ubootROCPCRK3399 ubootSheevaplug ubootSopine + ubootTuringRK1 ubootUtilite ubootWandboard ;