aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Mioso <mrkiko.rs@gmail.com>2022-11-20 05:19:06 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-06 19:59:42 +0100
commitd3e89e69c52115d1c02f5c16a4aa6b721e003578 (patch)
tree0422fa0fceee6eb0fcf9aaa876c9411340dc85c5
parentaf5635e6ca12d3be275560a58ac6e2793e218fcd (diff)
downloadupstream-d3e89e69c52115d1c02f5c16a4aa6b721e003578.tar.gz
upstream-d3e89e69c52115d1c02f5c16a4aa6b721e003578.tar.bz2
upstream-d3e89e69c52115d1c02f5c16a4aa6b721e003578.zip
mvebu: harmonize GL.iNet GL-MV1000 MTD partitions layout with vendor
The GL-MV1000 ships with a 16MB spi-nor flash, containing a copy of the stock GL.iNet firmware. Add the corresponding flash areas, so our view matches the one of the in-flash stock firmware. Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
-rw-r--r--target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts20
1 files changed, 19 insertions, 1 deletions
diff --git a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
index acf15e8ca9..72d7267ccd 100644
--- a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
+++ b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
@@ -96,7 +96,7 @@
partition@f0000 {
label = "u-boot-env";
- reg = <0Xf0000 0x8000>;
+ reg = <0xf0000 0x8000>;
read-only;
};
@@ -105,6 +105,24 @@
reg = <0xf8000 0x8000>;
read-only;
};
+
+ partition@100000 {
+ label = "gl-firmware-dtb";
+ reg = <0x100000 0x10000>;
+ read-only;
+ };
+
+ partition@110000 {
+ label = "gl-firmware";
+ reg = <0x110000 0xef0000>;
+ read-only;
+ };
+
+ partition@ef0000 {
+ label = "gl-firmware-jffs2";
+ reg = <0xef0000 0x110000>;
+ read-only;
+ };
};
};
};