Merge pull request #1725 from onny/visionfive2-uboot

starfive visionfive2: use ubootVisionFive2
This commit is contained in:
Jonas Heinrich 2026-02-12 07:54:31 +00:00 committed by GitHub
commit af04cb78aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 18 deletions

View file

@ -46,7 +46,7 @@ in
}
);
uboot = (pkgs.callPackage ./uboot.nix { inherit (config.system.build) opensbi; }).overrideAttrs (
uboot = (pkgs.ubootVisionFive2.override { inherit (config.system.build) opensbi; }).overrideAttrs (
_f: p: {
src = if cfg.uboot.src != null then cfg.uboot.src else p.src;
patches = if cfg.uboot.patches != null then cfg.uboot.patches else (p.patches or [ ]);

View file

@ -1,17 +0,0 @@
{
buildUBoot,
opensbi,
}:
buildUBoot {
extraMakeFlags = [
"OPENSBI=${opensbi}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin"
];
defconfig = "starfive_visionfive2_defconfig";
filesToInstall = [
"spl/u-boot-spl.bin.normal.out"
"u-boot.itb"
];
}