nixos-hardware/starfive/visionfive/v2/uboot.nix

17 lines
273 B
Nix
Raw Normal View History

{ buildUBoot
, opensbi
}:
2023-04-16 20:43:32 +00:00
buildUBoot {
extraMakeFlags = [
"OPENSBI=${opensbi}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin"
];
2023-04-16 20:43:32 +00:00
defconfig = "starfive_visionfive2_defconfig";
2023-04-16 20:43:32 +00:00
filesToInstall = [
"spl/u-boot-spl.bin.normal.out"
"u-boot.itb"
2023-04-16 20:43:32 +00:00
];
}