star64: init

Mostly based on the visionfive 2 config.
No GPU yet.
This commit is contained in:
Francesco Gazzetta
2023-07-07 21:28:05 +02:00
parent 429f232fe1
commit 30f71ba6e0
14 changed files with 695 additions and 0 deletions

20
pine64/star64/uboot.nix Normal file
View File

@@ -0,0 +1,20 @@
{ fetchFromGitHub, buildUBoot }:
buildUBoot rec {
version = "3.0.4";
src = fetchFromGitHub {
owner = "Fishwaldo";
repo = "u-boot";
rev = "172b47f62039605d6806fa96bd403c21cda28996"; # Star64 branch
hash = "sha256-UBPTLbSjDdL6NPUrAdsWcL28QSyiY/5oA+iqxl9dEGY=";
};
defconfig = "pine64_star64_defconfig";
filesToInstall = [
"u-boot.bin"
"arch/riscv/dts/pine64_star64.dtb"
"spl/u-boot-spl.bin"
"tools/mkimage"
];
}