mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-06 16:03:29 +01:00
starfive visionfive2: drop dtb overlay for 8GB version
u-boot is able to automatically set the correct memory size in fdt on VisionFive 2 boards by reading their EEPROM since v2023.10. This allows our image to work with either variant of the boards. Reference: https://github.com/u-boot/u-boot/commit/38d900b409199df02a1a26dfcb464d4d2b6e27d2 Reference: https://github.com/u-boot/u-boot/commit/43177705ab29ed1ccca970096de1ef3c6095e7e6
This commit is contained in:
1 parent
69fe256333
commit
7b49d39676
2 files changed
-24
No files matched your search
@@ -1,11 +0,0 @@
|
|||||||
/dts-v1/;
|
|
||||||
/plugin/;
|
|
||||||
/ {
|
|
||||||
compatible = "starfive,jh7110";
|
|
||||||
fragment@0 {
|
|
||||||
target-path = "/memory@40000000";
|
|
||||||
__overlay__ {
|
|
||||||
reg = <0x0 0x40000000 0x2 0x0>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
@@ -54,19 +54,6 @@ Build the sd image.
|
|||||||
nix build .#
|
nix build .#
|
||||||
```
|
```
|
||||||
|
|
||||||
## Additional configuration
|
|
||||||
Additional configuration may be needed depending on your specific hardware configuration.
|
|
||||||
|
|
||||||
### 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
|
# Updating the bootloader
|
||||||
## SD-Card
|
## SD-Card
|
||||||
Install the firmware update script
|
Install the firmware update script
|
||||||
|
|||||||
Reference in new issue
Block a user