starfive visionfive2: combine 8gb dtb overlays
This commit is contained in:
parent
32264b21bb
commit
72d53d5170
|
@ -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__ {
|
|
@ -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
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue