1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-19 19:18:32 +02:00
nixos-hardware/starfive/visionfive/v2/uboot.nix

21 lines
444 B
Nix

{ fetchFromGitHub, buildUBoot }:
buildUBoot rec {
version = "3.7.5";
src = fetchFromGitHub {
owner = "starfive-tech";
repo = "u-boot";
rev = "refs/tags/VF2_v${version}";
hash = "sha256-/BCWN+lbMaOakfwwCDloutFEX8IYQyCIrkE1Yu6T8oI=";
};
defconfig = "starfive_visionfive2_defconfig";
filesToInstall = [
"u-boot.bin"
"arch/riscv/dts/starfive_visionfive2.dtb"
"spl/u-boot-spl.bin"
"tools/mkimage"
];
}