ipq806x: tr4400v2: revert nesting of MTD partitions that bricks device
authorRodrigo Balerdi <lanchon@gmail.com>
Wed, 13 Nov 2024 20:23:52 +0000 (17:23 -0300)
committerRobert Marko <robimarko@gmail.com>
Thu, 14 Nov 2024 09:01:30 +0000 (10:01 +0100)
commit0e59eaa7962fc21635af5c9d2f6552a4accdc7ea
treef327b3cfc99358fb95ec61c157ac19d077ffc9f3
parentb43194e041b17fbb574fb3721dafedcc30a20ab5
ipq806x: tr4400v2: revert nesting of MTD partitions that bricks device

This reverts commit e1043a746a1030062e73ea027d9a35c58bce6c6a, that
attempts to nest partitions that overlap but are not nested. This
causes the 'ubi' partition to be truncated, making rootfs inaccessible
and bricking the device.

Also, had this commit worked, it would have renumbered MTD partitions
in a way that would have broken documented scripts for installation and
update of main and recovery OSes, making backups, return to stock, etc,
and broken user configurations that put the 'extra' partition to use.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16944
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8065-tr4400-v2.dts