The Netgear GS108T v3 and its GS110TPP v1 sibling apparently label their
u-boot environment parition 'bdinfo' instead of 'u-boot-env'.

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

diff --git a/package/boot/uboot-envtools/files/realtek 
b/package/boot/uboot-envtools/files/realtek
index 9573e8944f..966c8509c8 100644
--- a/package/boot/uboot-envtools/files/realtek
+++ b/package/boot/uboot-envtools/files/realtek
@@ -18,6 +18,12 @@ zyxel,gs1900-10hp)
        [ -n "$idx" ] && \
                ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x400" "0x10000"
        ;;
+netgear,gs108t-v3|\
+netgear,gs110tpp-v1)
+       idx="$(find_mtd_index bdinfo)"
+       [ -n "$idx" ] && \
+               ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000"
+       ;;
 *)
        idx="$(find_mtd_index u-boot-env)"
        [ -n "$idx" ] && \
-- 
2.30.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to