]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ramips: pax1800-lite: do not attach both ubi partitions on boot 23857/head
authorSven Eckelmann (Plasma Cloud) <se@simonwunderlich.de>
Thu, 18 Jun 2026 09:49:54 +0000 (11:49 +0200)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Thu, 18 Jun 2026 19:59:37 +0000 (21:59 +0200)
commit6fde98771191f3cf7dc12b150354e64d7c477eff
treeb3bd9065e4471c238a828a606e1f0f54ab7c75aa
parent581134305ee0322705b0bd85e93384a7b893f5ec
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
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/ramips/dts/mt7621_plasmacloud_pax1800-lite.dts