ipq806x: enlarge R7500 flash - use netgear partition

Absorb the unused read-only netgear partition and most of the reserve
into the UBI partition, taking available flash space for
kernel+rootfs+overlay from 22 MB to ~97 MB.

This mirrors the change made for the R7800 in commit 618d59aec2
(ipq806x: Enlarge R7800 flash - use netgear partition).

Reverting to OEM firmware remains possible as the OEM firmware
re-initialises the netgear partition when its contents do not match
expectations.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/25030
Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
This commit is contained in:
Rosen Penev authored and Jonas Jelonek committed 2026-09-11 10:19:05 +02:00
1 parent d32e1a930f
commit 3de9bf799a
3 files changed
+9 -10

No files matched your search

@@ -19,7 +19,6 @@ case "$(board_name)" in
nec,wg2600hp|\
nec,wg2600hp3|\
netgear,d7800|\
netgear,r7500|\
netgear,r7500v2|\
netgear,r7800|\
netgear,xr450|\
@@ -35,6 +34,9 @@ case "$(board_name)" in
zyxel,nbg6817)
ucidef_set_compat_version "1.1"
;;
netgear,r7500)
ucidef_set_compat_version "2.0"
;;
linksys,ea7500-v1|\
linksys,ea8500)
ucidef_set_compat_version "2.1"
@@ -250,18 +250,12 @@
ubi@1740000 {
label = "ubi";
reg = <0x1740000 0x1600000>;
reg = <0x1740000 0x61c0000>;
};
netgear@2d40000 {
label = "netgear";
reg = <0x2d40000 0x0c00000>;
read-only;
};
reserve@3940000 {
reserve@7900000 {
label = "reserve";
reg = <0x3940000 0x46c0000>;
reg = <0x7900000 0x0700000>;
read-only;
};
};
+3
View File
@@ -413,6 +413,9 @@ define Device/netgear_r7500
BOARD_NAME := r7500
SUPPORTED_DEVICES += r7500
DEVICE_PACKAGES := ath10k-firmware-qca988x-ct
DEVICE_COMPAT_VERSION := 2.0
DEVICE_COMPAT_MESSAGE := Sysupgrade does not work due to rootfs ubi partition size change. \
Use factory image with the TFTP recovery flash routine.
endef
TARGET_DEVICES += netgear_r7500