mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-20 09:59:42 +01:00
16 lines
273 B
Nix
16 lines
273 B
Nix
{ 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"
|
|
];
|
|
}
|