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/; /dts-v1/;
/plugin/; /plugin/;
/ { / {
compatible = "starfive,visionfive-2-v1.2a", "starfive,jh7110"; compatible = "starfive,jh7110";
fragment@0 { fragment@0 {
target-path = "/memory@40000000"; target-path = "/memory@40000000";
__overlay__ { __overlay__ {

View file

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