2023-04-16 16:43:32 -04:00
|
|
|
{ fetchFromGitHub, buildUBoot }:
|
|
|
|
|
2023-06-07 22:53:58 -04:00
|
|
|
buildUBoot rec {
|
2023-11-15 13:26:23 -05:00
|
|
|
version = "3.8.2";
|
2023-04-16 16:43:32 -04:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "starfive-tech";
|
|
|
|
repo = "u-boot";
|
2023-06-07 22:53:58 -04:00
|
|
|
rev = "refs/tags/VF2_v${version}";
|
2023-11-15 13:26:23 -05:00
|
|
|
hash = "sha256-M/ndil++spcJCYnpYLb+fuxqCi4H3BunXdHbl529ovM=";
|
2023-04-16 16:43:32 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
defconfig = "starfive_visionfive2_defconfig";
|
|
|
|
filesToInstall = [
|
|
|
|
"u-boot.bin"
|
|
|
|
"arch/riscv/dts/starfive_visionfive2.dtb"
|
|
|
|
"spl/u-boot-spl.bin"
|
|
|
|
"tools/mkimage"
|
|
|
|
];
|
|
|
|
}
|