Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

starfive visionfive2: allow generic image to boot on all variants of boards #962

Merged
merged 2 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions starfive/visionfive/v2/8gb-patch.dts

This file was deleted.

19 changes: 0 additions & 19 deletions starfive/visionfive/v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,6 @@ Build the sd image.
nix build .#
```

## Additional configuration
Additional configuration may be needed depending on your specific hardware configuration.
### Board rev 1.2A
If you have the 1.2A board revision add the following to your config:
``` nix
hardware.deviceTree.name =
lib.mkDefault "starfive/jh7110-starfive-visionfive-2-v1.2a.dtb";
```

### 8GB memory
If your board has 8GB of RAM add the following to your config:

``` nix
hardware.deviceTree.overlays = [{
name = "8GB-patch";
dtsFile = "${nixos-hardware}/starfive/visionfive/v2/8gb-patch.dts";
}];
```

# Updating the bootloader
## SD-Card
Install the firmware update script
Expand Down
3 changes: 0 additions & 3 deletions starfive/visionfive/v2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@
generic-extlinux-compatible.enable = lib.mkDefault true;
};
};

hardware.deviceTree.name =
lib.mkDefault "starfive/jh7110-starfive-visionfive-2-v1.3b.dtb";
}