diff mbox series

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

Message ID 20210227225308.2597204-1-foss@volatilesystems.org
State Superseded, archived
Headers show
Series uboot-envtools: support sysinfo on GS108T v3 & GS110TPP v1 | expand

Commit Message

Stijn Segers Feb. 27, 2021, 10:53 p.m. UTC
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@volatilesystems.org>
---
 package/boot/uboot-envtools/files/realtek | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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)"