uboot: 2025.01 -> 2025.07 (#423469)

authored by K900 and committed by GitHub cbd6ca5c c801e4b6

+31 -36
+6 -3
pkgs/misc/arm-trusted-firmware/default.nix
··· 39 rec { 40 41 pname = "arm-trusted-firmware${lib.optionalString (platform != null) "-${platform}"}"; 42 - version = "2.12.1"; 43 44 src = fetchFromGitHub { 45 owner = "ARM-software"; 46 repo = "arm-trusted-firmware"; 47 - tag = "lts-v${version}"; 48 - hash = "sha256-yPWygW1swSwL3DrHPNIlTeTeV7XG4C9ALFA/+OTiz+4="; 49 }; 50 51 patches = lib.optionals deleteHDCPBlobBeforeBuild [ ··· 95 96 hardeningDisable = [ "all" ]; 97 dontStrip = true; 98 99 meta = 100 with lib;
··· 39 rec { 40 41 pname = "arm-trusted-firmware${lib.optionalString (platform != null) "-${platform}"}"; 42 + version = "2.13.0"; 43 44 src = fetchFromGitHub { 45 owner = "ARM-software"; 46 repo = "arm-trusted-firmware"; 47 + tag = "v${version}"; 48 + hash = "sha256-rxm5RCjT/MyMCTxiEC8jQeFMrCggrb2DRbs/qDPXb20="; 49 }; 50 51 patches = lib.optionals deleteHDCPBlobBeforeBuild [ ··· 95 96 hardeningDisable = [ "all" ]; 97 dontStrip = true; 98 + 99 + # breaks secondary CPU bringup on at least RK3588, maybe others 100 + env.NIX_CFLAGS_COMPILE = "-fomit-frame-pointer"; 101 102 meta = 103 with lib;
-19
pkgs/misc/uboot/0001-configs-rpi-allow-for-bigger-kernels.patch
··· 1 - diff --git a/board/raspberrypi/rpi/rpi.env b/board/raspberrypi/rpi/rpi.env 2 - index 30228285ed..0327ef74fa 100644 3 - --- a/board/raspberrypi/rpi/rpi.env 4 - +++ b/board/raspberrypi/rpi/rpi.env 5 - @@ -69,9 +69,9 @@ fdt_high=ffffffff 6 - initrd_high=ffffffff 7 - #endif 8 - kernel_addr_r=0x00080000 9 - -scriptaddr=0x02400000 10 - -pxefile_addr_r=0x02500000 11 - -fdt_addr_r=0x02600000 12 - -ramdisk_addr_r=0x02700000 13 - +scriptaddr=0x05500000 14 - +pxefile_addr_r=0x05600000 15 - +fdt_addr_r=0x05700000 16 - +ramdisk_addr_r=0x05800000 17 - 18 - boot_targets=mmc usb pxe dhcp 19 -
···
+24 -14
pkgs/misc/uboot/default.nix
··· 32 }@pkgs: 33 34 let 35 - defaultVersion = "2025.01"; 36 defaultSrc = fetchurl { 37 url = "https://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2"; 38 - hash = "sha256-ze99UHyT8bvZ8BXqm8IfoHQmhIFAVQGUWrxvhU1baG8="; 39 }; 40 41 # Dependencies for the tools need to be included as either native or cross, ··· 71 72 src = if src == null then defaultSrc else src; 73 74 - patches = [ 75 - ./0001-configs-rpi-allow-for-bigger-kernels.patch 76 - ] ++ extraPatches; 77 78 postPatch = '' 79 ${lib.concatMapStrings (script: '' ··· 222 223 ubootAmx335xEVM = buildUBoot { 224 defconfig = "am335x_evm_defconfig"; 225 - extraMeta.platforms = [ "armv7l-linux" ]; 226 filesToInstall = [ 227 "MLO" 228 "u-boot.img" ··· 473 ]; 474 }; 475 476 ubootOrangePi5Plus = buildUBoot { 477 defconfig = "orangepi-5-plus-rk3588_defconfig"; 478 extraMeta.platforms = [ "aarch64-linux" ]; ··· 752 }; 753 754 ubootRockPro64 = buildUBoot { 755 - extraPatches = [ 756 - # https://patchwork.ozlabs.org/project/uboot/list/?series=237654&archive=both&state=* 757 - (fetchpatch { 758 - url = "https://patchwork.ozlabs.org/series/237654/mbox/"; 759 - sha256 = "0aiw9zk8w4msd3v8nndhkspjify0yq6a5f0zdy6mhzs0ilq896c3"; 760 - }) 761 - ]; 762 defconfig = "rockpro64-rk3399_defconfig"; 763 extraMeta.platforms = [ "aarch64-linux" ]; 764 BL31 = "${armTrustedFirmwareRK3399}/bl31.elf"; ··· 781 782 ubootSheevaplug = buildUBoot { 783 defconfig = "sheevaplug_defconfig"; 784 - extraMeta.platforms = [ "armv5tel-linux" ]; 785 filesToInstall = [ "u-boot.kwb" ]; 786 }; 787
··· 32 }@pkgs: 33 34 let 35 + defaultVersion = "2025.07"; 36 defaultSrc = fetchurl { 37 url = "https://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2"; 38 + hash = "sha256-D5M/bFpCaJW/MG6T5qxTxghw5LVM2lbZUhG+yZ5jvsc="; 39 }; 40 41 # Dependencies for the tools need to be included as either native or cross, ··· 71 72 src = if src == null then defaultSrc else src; 73 74 + patches = extraPatches; 75 76 postPatch = '' 77 ${lib.concatMapStrings (script: '' ··· 220 221 ubootAmx335xEVM = buildUBoot { 222 defconfig = "am335x_evm_defconfig"; 223 + extraMeta = { 224 + platforms = [ "armv7l-linux" ]; 225 + broken = true; # too big, exceeds memory size 226 + }; 227 filesToInstall = [ 228 "MLO" 229 "u-boot.img" ··· 474 ]; 475 }; 476 477 + ubootOrangePi5Max = buildUBoot { 478 + defconfig = "orangepi-5-max-rk3588_defconfig"; 479 + extraMeta.platforms = [ "aarch64-linux" ]; 480 + BL31 = "${armTrustedFirmwareRK3588}/bl31.elf"; 481 + ROCKCHIP_TPL = rkbin.TPL_RK3588; 482 + filesToInstall = [ 483 + "u-boot.itb" 484 + "idbloader.img" 485 + "u-boot-rockchip.bin" 486 + "u-boot-rockchip-spi.bin" 487 + ]; 488 + }; 489 + 490 ubootOrangePi5Plus = buildUBoot { 491 defconfig = "orangepi-5-plus-rk3588_defconfig"; 492 extraMeta.platforms = [ "aarch64-linux" ]; ··· 766 }; 767 768 ubootRockPro64 = buildUBoot { 769 defconfig = "rockpro64-rk3399_defconfig"; 770 extraMeta.platforms = [ "aarch64-linux" ]; 771 BL31 = "${armTrustedFirmwareRK3399}/bl31.elf"; ··· 788 789 ubootSheevaplug = buildUBoot { 790 defconfig = "sheevaplug_defconfig"; 791 + extraMeta = { 792 + platforms = [ "armv5tel-linux" ]; 793 + broken = true; # too big, exceeds partition size 794 + }; 795 filesToInstall = [ "u-boot.kwb" ]; 796 }; 797
+1
pkgs/top-level/all-packages.nix
··· 11347 ubootOrangePi3 11348 ubootOrangePi3B 11349 ubootOrangePi5 11350 ubootOrangePi5Plus 11351 ubootOrangePiPc 11352 ubootOrangePiZeroPlus2H5
··· 11347 ubootOrangePi3 11348 ubootOrangePi3B 11349 ubootOrangePi5 11350 + ubootOrangePi5Max 11351 ubootOrangePi5Plus 11352 ubootOrangePiPc 11353 ubootOrangePiZeroPlus2H5