aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorMichael Kuron <m.kuron@gmx.de>2018-07-01 10:03:38 +0200
committerMathias Kresin <dev@kresin.me>2018-07-04 01:20:02 +0200
commitd0b89e48d712725c341842e60aadf802b6debc29 (patch)
treef1396d67c695ebeb2f6c832e4b442ee9b551511c /target/linux/lantiq
parentf72605f70e8a561cbe73838613b48a774de9c267 (diff)
downloadupstream-d0b89e48d712725c341842e60aadf802b6debc29.tar.gz
upstream-d0b89e48d712725c341842e60aadf802b6debc29.tar.bz2
upstream-d0b89e48d712725c341842e60aadf802b6debc29.zip
lantiq: enlarge AVM Fritz!Box 3370 flash
Increase the available flash memory size in AVM Fritz!Box 3370 by incorporating the unused extra partitions located after the ubi partition. Note that users upgrading from a previous OpenWRT version need to re-install from the boot loader to pick up the new partition layout. Available flash space for rootfs+overlay increases from 48MB to 124MB. Reverting to the OEM firmware is still possible (via the recovery utility provided by AVM) as the OEM firmware appears to reformat the config and nand-filesystem partitions upon first boot if necessary. The reserved-kernel and reserved-filesystem partitions are overwritten by the OEM firmware when installing an update, so their contents do not matter. Boot loader and device-specific information (MAC addresses, calibration data, etc.) are not located in NAND flash and remain unharmed by this changed. Tested with OEM firmware 06.54 on device with HWRevision 5 and Micron flash chip. Signed-off-by: Michael Kuron <m.kuron@gmx.de>
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-HYNIX.dts19
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-MICRON.dts19
2 files changed, 2 insertions, 36 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-HYNIX.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-HYNIX.dts
index 225a4f3e8a..3cb7d7d723 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-HYNIX.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-HYNIX.dts
@@ -31,24 +31,7 @@
partition@400000 {
label = "ubi";
- reg = <0x400000 0x3000000>;
- };
-
- partition@3400000 {
- label = "reserved-kernel";
- reg = <0x3400000 0x400000>;
- };
- partition@3800000 {
- label = "reserved-filesystem";
- reg = <0x3800000 0x3000000>;
- };
- partition@6800000 {
- label = "config";
- reg = <0x6800000 0x200000>;
- };
- partition@6a00000 {
- label = "nand-filesystem";
- reg = <0x6a00000 0x1600000>;
+ reg = <0x400000 0x7c00000>;
};
};
};
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-MICRON.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-MICRON.dts
index 3346310b1b..1a1be6fd37 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-MICRON.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-MICRON.dts
@@ -29,24 +29,7 @@
partition@400000 {
label = "ubi";
- reg = <0x400000 0x3000000>;
- };
-
- partition@3400000 {
- label = "reserved-kernel";
- reg = <0x3400000 0x400000>;
- };
- partition@3800000 {
- label = "reserved-filesystem";
- reg = <0x3800000 0x3000000>;
- };
- partition@6800000 {
- label = "config";
- reg = <0x6800000 0x200000>;
- };
- partition@6a00000 {
- label = "nand-filesystem";
- reg = <0x6a00000 0x1600000>;
+ reg = <0x400000 0x7c00000>;
};
};
};