1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-14 15:09:41 +01:00
nixos-hardware/starfive/visionfive/v2/uboot.nix

21 lines
444 B
Nix
Raw Normal View History

2023-04-16 22:43:32 +02:00
{ fetchFromGitHub, buildUBoot }:
buildUBoot rec {
version = "3.0.4";
2023-04-16 22:43:32 +02:00
src = fetchFromGitHub {
owner = "starfive-tech";
repo = "u-boot";
rev = "refs/tags/VF2_v${version}";
hash = "sha256-Vd8vhSZE9fJ+Gp5IbLlqz7JAT9ChJ66krxb7gpLJ4P8=";
2023-04-16 22:43:32 +02:00
};
defconfig = "starfive_visionfive2_defconfig";
filesToInstall = [
"u-boot.bin"
"arch/riscv/dts/starfive_visionfive2.dtb"
"spl/u-boot-spl.bin"
"tools/mkimage"
];
}