mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-02 15:59:43 +01:00
20 lines
444 B
Nix
20 lines
444 B
Nix
{ fetchFromGitHub, buildUBoot }:
|
|
|
|
buildUBoot rec {
|
|
version = "3.8.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "starfive-tech";
|
|
repo = "u-boot";
|
|
rev = "refs/tags/VF2_v${version}";
|
|
hash = "sha256-M/ndil++spcJCYnpYLb+fuxqCi4H3BunXdHbl529ovM=";
|
|
};
|
|
|
|
defconfig = "starfive_visionfive2_defconfig";
|
|
filesToInstall = [
|
|
"u-boot.bin"
|
|
"arch/riscv/dts/starfive_visionfive2.dtb"
|
|
"spl/u-boot-spl.bin"
|
|
"tools/mkimage"
|
|
];
|
|
}
|