-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #227947 from NickCao/uboot
uboot: 2023.01 -> 2023.07
- Loading branch information
Showing
2 changed files
with
4 additions
and
102 deletions.
There are no files selected for viewing
92 changes: 0 additions & 92 deletions
92
pkgs/misc/uboot/0001-rpi-Copy-properties-from-firmware-dtb-to-the-loaded-.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 = '' | ||
|
@@ -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 | ||
|
@@ -487,7 +483,6 @@ in { | |
sha256 = "0h7xm4ck3p3380c6bqm5ixrkxwcx6z5vysqdwvfa7gcqx5d6x5zz"; | ||
}; | ||
in buildUBoot { | ||
extraMakeFlags = [ "all" "u-boot.itb" ]; | ||
defconfig = "rock64-rk3328_defconfig"; | ||
extraMeta = { | ||
platforms = [ "aarch64-linux" ]; | ||
|
@@ -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 { | ||
|