mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
ipq806x: tr4400v2: revert nesting of MTD partitions that bricks device
This reverts commit e1043a746a
, 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>
This commit is contained in:
parent
b43194e041
commit
0e59eaa796
@ -207,15 +207,6 @@
|
|||||||
stock_partition@1340000 {
|
stock_partition@1340000 {
|
||||||
label = "stock_rootfs";
|
label = "stock_rootfs";
|
||||||
reg = <0x1340000 0x4000000>;
|
reg = <0x1340000 0x4000000>;
|
||||||
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "extra";
|
|
||||||
reg = <0x0 0x4000000>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
partition@5340000 {
|
partition@5340000 {
|
||||||
label = "0:BOOTCONFIG";
|
label = "0:BOOTCONFIG";
|
||||||
@ -265,14 +256,27 @@
|
|||||||
stock_partition@6400000 {
|
stock_partition@6400000 {
|
||||||
label = "stock_rootfs_1";
|
label = "stock_rootfs_1";
|
||||||
reg = <0x6400000 0x4000000>;
|
reg = <0x6400000 0x4000000>;
|
||||||
|
};
|
||||||
|
stock_partition@a400000 {
|
||||||
|
label = "stock_fw_env";
|
||||||
|
reg = <0xa400000 0x0100000>;
|
||||||
|
};
|
||||||
|
stock_partition@a500000 {
|
||||||
|
label = "stock_config";
|
||||||
|
reg = <0xa500000 0x0800000>;
|
||||||
|
};
|
||||||
|
stock_partition@ad00000 {
|
||||||
|
label = "stock_PKI";
|
||||||
|
reg = <0xad00000 0x0200000>;
|
||||||
|
};
|
||||||
|
stock_partition@af00000 {
|
||||||
|
label = "stock_scfgmgr";
|
||||||
|
reg = <0xaf00000 0x0100000>;
|
||||||
|
};
|
||||||
|
|
||||||
compatible = "fixed-partitions";
|
partition@6400000 {
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "fw_env";
|
label = "fw_env";
|
||||||
reg = <0x0 0x100000>;
|
reg = <0x6400000 0x0100000>;
|
||||||
|
|
||||||
nvmem-layout {
|
nvmem-layout {
|
||||||
compatible = "fixed-layout";
|
compatible = "fixed-layout";
|
||||||
@ -296,27 +300,13 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
partition@6500000 {
|
||||||
partition@100000 {
|
|
||||||
label = "ubi";
|
label = "ubi";
|
||||||
reg = <0x100000 0x9b00000>;
|
reg = <0x6500000 0x9b00000>;
|
||||||
};
|
};
|
||||||
};
|
partition@1340000 {
|
||||||
stock_partition@a400000 {
|
label = "extra";
|
||||||
label = "stock_fw_env";
|
reg = <0x1340000 0x4000000>;
|
||||||
reg = <0xa400000 0x0100000>;
|
|
||||||
};
|
|
||||||
stock_partition@a500000 {
|
|
||||||
label = "stock_config";
|
|
||||||
reg = <0xa500000 0x0800000>;
|
|
||||||
};
|
|
||||||
stock_partition@ad00000 {
|
|
||||||
label = "stock_PKI";
|
|
||||||
reg = <0xad00000 0x0200000>;
|
|
||||||
};
|
|
||||||
stock_partition@af00000 {
|
|
||||||
label = "stock_scfgmgr";
|
|
||||||
reg = <0xaf00000 0x0100000>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user