[openwrt/openwrt] ramips: support fw_printenv for Netgear WAX202

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 6 13:29:19 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/247ef0754086c9f0fb684f50a4178aacd5b7648a

commit 247ef0754086c9f0fb684f50a4178aacd5b7648a
Author: Wenli Looi <wlooi at ucalgary.ca>
AuthorDate: Mon Aug 1 03:22:32 2022 +0000

    ramips: support fw_printenv for Netgear WAX202
    
    Config partition contains uboot env for the first 0x20000 bytes.
    The rest of the partition contains other data including the device MAC
    address and the password printed on the label.
    
    Signed-off-by: Wenli Looi <wlooi at ucalgary.ca>
    (cherry picked from commit 0bfe1cfbb13c58d909951cab9fac8910ccbe74f3)
---
 package/boot/uboot-envtools/files/ramips | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index eb391218c1..e6228f9978 100644
--- a/package/boot/uboot-envtools/files/ramips
+++ b/package/boot/uboot-envtools/files/ramips
@@ -47,7 +47,8 @@ ravpower,rp-wd03)
 	[ -n "$idx" ] && \
 		ubootenv_add_uci_config "/dev/mtd$idx" "0x4000" "0x1000" "0x1000"
 	;;
-jcg,q20)
+jcg,q20|\
+netgear,wax202)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
 	;;
 beeline,smartbox-flash|\




More information about the lede-commits mailing list