summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-06-03 16:33:15 +0300
committerMathias Kresin <dev@kresin.me>2018-06-27 22:10:23 +0200
commit618d59aec24755123f902510e20e477c14d95186 (patch)
tree902c51008d9433f0123c662e5ffb499793a5d814
parent7775802eb9bc9bbabc0eeaddb4d7ecdf68f88947 (diff)
downloadmtk-20170518-618d59aec24755123f902510e20e477c14d95186.zip
mtk-20170518-618d59aec24755123f902510e20e477c14d95186.tar.gz
mtk-20170518-618d59aec24755123f902510e20e477c14d95186.tar.bz2
ipq806x: Enlarge R7800 flash - use netgear partition
Increase the available flash memory size in Netgear R7800 by taking into the use the unused "netgear" partition that is located after the firmware partition. Available flash space for kernel+rootfs+overlay increases by 68 MB from 32 MB to 100 MB. In a typical build, overlay space increases from 15 to 85, increasing the package installation possibilities greatly. Reverting to the OEM firmware is still possible, as the OEM firmware contains logic to initialise the "netgear" partition if its contents do not match expectations. In OEM firmware, "netgear" contains 6 UBI sub-partitions that are defined in /etc/netgear.cfg and initialisation is done by /etc/preinit Tested with Openwrt master r7093-4fdc6ca31b and OEM V1.0.2.52 Reference to forum discussion in Netgear R7800 exploration thread: https://forum.lede-project.org/t/netgear-r7800-exploration-ipq8065-qca9984/285/1118 (messages 1118-1158) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
-rw-r--r--target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts10
1 files changed, 2 insertions, 8 deletions
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
index fbacc03..c80f292 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
@@ -319,13 +319,7 @@
ubi@1880000 {
label = "ubi";
- reg = <0x1880000 0x1C00000>;
- };
-
- netgear@3480000 {
- label = "netgear";
- reg = <0x3480000 0x4480000>;
- read-only;
+ reg = <0x1880000 0x6080000>;
};
reserve@7900000 {
@@ -336,7 +330,7 @@
firmware@1480000 {
label = "firmware";
- reg = <0x1480000 0x2000000>;
+ reg = <0x1480000 0x6480000>;
};
};
};