Skip to content

Commit

Permalink
Merge pull request #227947 from NickCao/uboot
Browse files Browse the repository at this point in the history
uboot: 2023.01 -> 2023.07
  • Loading branch information
drupol authored Aug 2, 2023
2 parents ea69c47 + 68e6a47 commit 4bd4ba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 102 deletions.

This file was deleted.

14 changes: 4 additions & 10 deletions pkgs/misc/uboot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
}:

let
defaultVersion = "2023.01";
defaultVersion = "2023.07.02";
defaultSrc = fetchurl {
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2";
hash = "sha256-aUI7rTgPiaCRZjbonm3L0uRRLVhDCNki0QOdHkMxlQ8=";
url = "https://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2";
hash = "sha256-a2pIWBwUq7D5W9h8GvTXQJIkBte4AQAqn5Ryf93gIdU=";
};
buildUBoot = lib.makeOverridable ({
version ? null
Expand All @@ -48,11 +48,6 @@ let

patches = [
./0001-configs-rpi-allow-for-bigger-kernels.patch

# Make U-Boot forward some important settings from the firmware-provided FDT. Fixes booting on BCM2711C0 boards.
# See also: https://github.com/NixOS/nixpkgs/issues/135828
# Source: https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
./0001-rpi-Copy-properties-from-firmware-dtb-to-the-loaded-.patch
] ++ extraPatches;

postPatch = ''
Expand All @@ -70,6 +65,7 @@ let
(buildPackages.python3.withPackages (p: [
p.libfdt
p.setuptools # for pkg_resources
p.pyelftools
]))
swig
which # for scripts/dtc-version.sh
Expand Down Expand Up @@ -487,7 +483,6 @@ in {
sha256 = "0h7xm4ck3p3380c6bqm5ixrkxwcx6z5vysqdwvfa7gcqx5d6x5zz";
};
in buildUBoot {
extraMakeFlags = [ "all" "u-boot.itb" ];
defconfig = "rock64-rk3328_defconfig";
extraMeta = {
platforms = [ "aarch64-linux" ];
Expand All @@ -509,7 +504,6 @@ in {
};

ubootRockPro64 = buildUBoot {
extraMakeFlags = [ "all" "u-boot.itb" ];
extraPatches = [
# https://patchwork.ozlabs.org/project/uboot/list/?series=237654&archive=both&state=*
(fetchpatch {
Expand Down

0 comments on commit 4bd4ba1

Please sign in to comment.