aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files-4.14/arch/arm
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-06-03 16:33:15 +0300
committerJohn Crispin <john@phrozen.org>2018-06-07 09:19:39 +0200
commitfb8a578aa70572b3e56b64d296e22c2931e77b69 (patch)
tree669de98b5298c5358e5e3740f60fbd7d043c4456 /target/linux/ipq806x/files-4.14/arch/arm
parentfff65dbe2436351ea1feee6c79110971ec4d5881 (diff)
downloadupstream-fb8a578aa70572b3e56b64d296e22c2931e77b69.tar.gz
upstream-fb8a578aa70572b3e56b64d296e22c2931e77b69.tar.bz2
upstream-fb8a578aa70572b3e56b64d296e22c2931e77b69.zip
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>
Diffstat (limited to 'target/linux/ipq806x/files-4.14/arch/arm')
-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 fbacc039d6..c80f292b72 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>;
};
};
};