ramips: support fw_printenv for Netgear WAX202
authorWenli Looi <wlooi@ucalgary.ca>
Mon, 1 Aug 2022 03:22:32 +0000 (03:22 +0000)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 6 Aug 2022 20:25:13 +0000 (22:25 +0200)
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@ucalgary.ca>
(cherry picked from commit 0bfe1cfbb13c58d909951cab9fac8910ccbe74f3)

package/boot/uboot-envtools/files/ramips

index eb391218c1e304c2ed3be7a71f6097af5efb8e60..e6228f9978708cda46e9ec4466e14f8f2ce4012c 100644 (file)
@@ -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|\