2023-04-16 22:43:32 +02:00
|
|
|
{ fetchFromGitHub, buildUBoot }:
|
|
|
|
|
2023-06-08 04:53:58 +02:00
|
|
|
buildUBoot rec {
|
2023-09-12 01:33:22 +02:00
|
|
|
version = "3.6.1";
|
2023-04-16 22:43:32 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "starfive-tech";
|
|
|
|
repo = "u-boot";
|
2023-06-08 04:53:58 +02:00
|
|
|
rev = "refs/tags/VF2_v${version}";
|
2023-09-12 01:33:22 +02:00
|
|
|
hash = "sha256-735V8HMCGKj13cgQJv7FYrBIF3mYWOrmJhr+46nsVuY=";
|
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"
|
|
|
|
];
|
|
|
|
}
|