Skip to content

Commit 0ed5909

Browse files
Shine-hauke
authored andcommitted
mpc85xx: p1010: Fix Sophos RED 15w NAND partitions
This partially reverts 78d259e. That commit broke mounting the root fs on Sophos RED 15w due to partition size mismatch, and changed the partition sequence, causing the OpenWrt partition numbers to change from mtd3:kernel/mtd4:ubi to mtd4:kernel/mtd5:ubi. Fixes: 78d259e ("mpc85xx: fix some dtc warnings") (cherry-picked from commit 09e7b24) Signed-off-by: Shine <[email protected]> Link: openwrt/openwrt#21062 Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent d0c2c30 commit 0ed5909

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,19 @@
165165
read-only;
166166
};
167167

168+
partition@300000 {
169+
reg = <0x300000 0x800000>;
170+
label = "kernel";
171+
};
172+
173+
partition@b00000 {
174+
reg = <0xb00000 0x7500000>;
175+
label = "ubi";
176+
};
177+
168178
oem-partition@300000 {
169179
reg = <0x300000 0x1900000>;
170180
label = "sophos-os1";
171-
172-
compatible = "fixed-partitions";
173-
#address-cells = <1>;
174-
#size-cells = <1>;
175-
176-
partition@0 {
177-
reg = <0x0 0x800000>;
178-
label = "kernel";
179-
};
180-
181-
partition@800000 {
182-
reg = <0x800000 0x7500000>;
183-
label = "ubi";
184-
};
185181
};
186182

187183
oem-partition@1c00000 {

0 commit comments

Comments
 (0)