mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
Init starfive visionfive 2
This commit is contained in:
20
starfive/visionfive/v2/uboot.nix
Normal file
20
starfive/visionfive/v2/uboot.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ fetchFromGitHub, buildUBoot }:
|
||||
|
||||
buildUBoot {
|
||||
version = "2021.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "starfive-tech";
|
||||
repo = "u-boot";
|
||||
rev = "688befadf1d337dee3593e6cc0fe1c737cc150bd";
|
||||
sha256 = "sha256-RGADEJRZyuzjblxowdHnhj78eMJBIWnvkwEcpSen5Oo=";
|
||||
};
|
||||
|
||||
defconfig = "starfive_visionfive2_defconfig";
|
||||
filesToInstall = [
|
||||
"u-boot.bin"
|
||||
"arch/riscv/dts/starfive_visionfive2.dtb"
|
||||
"spl/u-boot-spl.bin"
|
||||
"tools/mkimage"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user