summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Eckelmann (Plasma Cloud)2026-06-18 09:49:54 +0000
committerJonas Jelonek2026-06-19 07:39:24 +0000
commitd14d1946f21c8b58ed0b8642854877bc7ef546f1 (patch)
tree9cb82faeccd1a752043b5596650c4138218ab43b
parent79b008a28069cd8310177e174f2fe66aad22f271 (diff)
downloadopenwrt-d14d1946f21c8b58ed0b8642854877bc7ef546f1.tar.gz
ramips: pax1800-lite: do not attach both ubi partitions on boot
The dual-boot mechanism depends on the fact that the bootloader specifies the ubi.mtd= of the currently active slot. And the Linux is expected to only attach the specified ubi-partition. Otherwise the kernel will use the "rootfs" partition of the initially attached ubi partition as its root partition. Which is of course wrong when the kernel parameter specified ubi.mtd=firmware2. Fixes: c7c54f313425 ("ramips: add support for Plasma Cloud PAX1800-Lite") Signed-off-by: Sven Eckelmann (Plasma Cloud) <se@simonwunderlich.de> Link: https://github.com/openwrt/openwrt/pull/23857 (cherry picked from commit 6fde98771191f3cf7dc12b150354e64d7c477eff) Link: https://github.com/openwrt/openwrt/pull/23874 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
-rw-r--r--target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts b/target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts
index 48f06bb3ba..1bcbdc88ff 100644
--- a/target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts
+++ b/target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts
@@ -154,13 +154,11 @@
partition@0 {
label = "firmware1";
reg = <0x0 0x4000000>;
- compatible = "linux,ubi";
};
partition@4000000 {
label = "firmware2";
reg = <0x4000000 0x4000000>;
- compatible = "linux,ubi";
};
};
};