[PATCH] uboot-envtools: support sysinfo on GS108T v3 & GS110TPP v1

Stijn Segers foss at volatilesystems.org
Sat Feb 27 17:53:08 EST 2021


This patch depends on Patchwork series #220259 [1] to add support for
the alternate configuration partition on the Netgear GS108T v3 and
GS110TPP v1 switches. This partition can be used to manipulate
boot image (like most supported Realtek switches, these have a dual
firmware image setup).

Again, Netgear sticks to its own naming scheme here.

[1] https://patchwork.ozlabs.org/project/openwrt/list/?series=220259

Signed-off-by: Stijn Segers <foss at volatilesystems.org>
---
 package/boot/uboot-envtools/files/realtek | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/boot/uboot-envtools/files/realtek b/package/boot/uboot-envtools/files/realtek
index 5752b772a9..4d3aa4f286 100644
--- a/package/boot/uboot-envtools/files/realtek
+++ b/package/boot/uboot-envtools/files/realtek
@@ -26,6 +26,9 @@ netgear,gs110tpp-v1)
 	idx="$(find_mtd_index bdinfo)"
 	[ -n "$idx" ] && \
 		ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000"
+	idx="$(find_mtd_index sysinfo)"
+	[ -n "$idx" ] && \
+		ubootenv_add_uci_sys_config "/dev/mtd$idx" "0x0" "0x1000"
 	;;
 *)
 	idx="$(find_mtd_index u-boot-env)"
-- 
2.30.1




More information about the openwrt-devel mailing list