Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

Commit b9f91f7

Browse files
authored
Merge pull request #124 from ElvishJerricco/upstream-uboot
use nixpkgs upstream uboot
2 parents e4c33b4 + b54486e commit b9f91f7

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

flake.lock

Lines changed: 1 addition & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33

44
inputs = {
55
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
6-
u-boot-src = {
7-
flake = false;
8-
url = "https://ftp.denx.de/pub/u-boot/u-boot-2024.07.tar.bz2";
9-
};
106
rpi-linux-stable-src = {
117
flake = false;
128
url = "github:raspberrypi/linux/stable_20241008";

overlays/default.nix

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
{ u-boot-src
2-
, rpi-linux-stable-src
1+
{ rpi-linux-stable-src
32
, rpi-linux-6_6_67-src
43
, rpi-linux-6_12_11-src
54
, rpi-firmware-src
@@ -84,14 +83,10 @@ in
8483
compressFirmwareZstd = x: x;
8584

8685
# provide generic rpi arm64 u-boot
87-
uboot-rpi-arm64 = final.buildUBoot rec {
86+
uboot-rpi-arm64 = final.buildUBoot {
8887
defconfig = "rpi_arm64_defconfig";
8988
extraMeta.platforms = [ "aarch64-linux" ];
9089
filesToInstall = [ "u-boot.bin" ];
91-
version = "2024.04";
92-
patches = [ ];
93-
makeFlags = [ ];
94-
src = u-boot-src;
9590
# In raspberry pi sbcs the firmware manipulates the device tree in
9691
# a variety of ways before handing it off to the linux kernel. [1]
9792
# Since we have installed u-boot in place of a linux kernel we may

0 commit comments

Comments
 (0)