2023-04-16 20:43:32 +00:00
|
|
|
{ fetchFromGitHub, buildUBoot }:
|
|
|
|
|
2023-06-08 02:53:58 +00:00
|
|
|
buildUBoot rec {
|
2023-12-31 16:59:33 +00:00
|
|
|
version = "5.10.3";
|
2023-04-16 20:43:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "starfive-tech";
|
|
|
|
repo = "u-boot";
|
2023-12-31 16:59:33 +00:00
|
|
|
rev = "refs/tags/JH7110_VF2_6.1_v${version}";
|
|
|
|
hash = "sha256-4E/AxPCFCluwJBEf6xGuxAi1hPZK5ZxEs5WlBVVfvYE=";
|
2023-04-16 20:43:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
defconfig = "starfive_visionfive2_defconfig";
|
|
|
|
filesToInstall = [
|
|
|
|
"u-boot.bin"
|
|
|
|
"arch/riscv/dts/starfive_visionfive2.dtb"
|
|
|
|
"spl/u-boot-spl.bin"
|
|
|
|
"tools/mkimage"
|
|
|
|
];
|
|
|
|
}
|