1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

starfive visionfive2: combine 8gb dtb overlays

This commit is contained in:
Jakob Leifhelm 2023-10-16 09:18:47 +02:00 committed by mergify[bot]
parent 32264b21bb
commit 72d53d5170
3 changed files with 2 additions and 23 deletions

View file

@ -1,7 +1,7 @@
/dts-v1/;
/plugin/;
/ {
compatible = "starfive,visionfive-2-v1.2a", "starfive,jh7110";
compatible = "starfive,jh7110";
fragment@0 {
target-path = "/memory@40000000";
__overlay__ {

View file

@ -66,23 +66,13 @@ hardware.deviceTree.name =
### 8GB memory
If your board has 8GB of RAM add the following to your config:
#### Board rev 1.3B
``` nix
hardware.deviceTree.overlays = [{
name = "8GB-patch";
dtsFile =
"${nixos-hardware}/starfive/visionfive/v2/visionfive-2-v1.3b-8GB.dts";
dtsFile = "${nixos-hardware}/starfive/visionfive/v2/8gb-patch.dts";
}];
```
#### Board rev 1.2A
``` nix
hardware.deviceTree.overlays = [{
name = "8GB-patch";
dtsFile =
"${nixos-hardware}/starfive/visionfive/v2/visionfive-2-v1.2a-8GB.dts";
}];
```
# Updating the bootloader
## SD-Card
Install the firmware update script

View file

@ -1,11 +0,0 @@
/dts-v1/;
/plugin/;
/ {
compatible = "starfive,visionfive-2-v1.3b", "starfive,jh7110";
fragment@0 {
target-path = "/memory@40000000";
__overlay__ {
reg = <0x0 0x40000000 0x2 0x0>;
};
};
};