aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic
diff options
context:
space:
mode:
authorRenaud Lepage <root@cybikbase.com>2020-05-10 16:05:20 -0700
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-11 01:44:13 +0200
commit7f297e740bc288d29fab1f7490ed0e2e49e9e6f9 (patch)
tree4474f81b9eeecbc9adf750b68f8089f7f1c36b57 /target/linux/ath79/generic
parentbc75954ccab1ef078d424131fc3dd6ddf9d0453f (diff)
downloadupstream-7f297e740bc288d29fab1f7490ed0e2e49e9e6f9.tar.gz
upstream-7f297e740bc288d29fab1f7490ed0e2e49e9e6f9.tar.bz2
upstream-7f297e740bc288d29fab1f7490ed0e2e49e9e6f9.zip
ath79: add support for the Netgear WNDRMAC v2
The Netgear WNDRMAC v2 is a hardware variant of the Netgear WNDR3800 Specifications ============== * SoC: Atheros AR7161 * RAM: 128mb * Flash on board: 16mb * WiFi: Atheros AR9220 (a/n), Atheros AR9223 (b/g/n) * Ethernet: RealTek RTL8366SR (1xWAN, 4xLAN, Gigabit) * Serial console: Yes, 115200 / 8N1 (JTAG) * USB: 1x2.0 * Power: 12 VDC, 2.5 A * Full specs on [openwrt.org](https://openwrt.org/toh/hwdata/netgear/netgear_wndrmac_v2) Flash Instructions ================== It is possible to use the OEM Upgrade page to install the `factory` variant of the firmware. After the initial upgrade, you will need to telnet into the router (default IP 192.168.1.1) to install anything. You may install LuCI this way. At this point, you will have a web interface to configure OpenWRT on the WNDRMAC v2. Please use the `sysupgrade` variant for subsequent flashes. Recovery Instructions ===================== A TFTP-based recovery flash is possible if the need arises. Please refer to the WNDR3800 page on openwrt.org for details. https://openwrt.org/toh/netgear/wndr3800#recovery_flash_in_failsafe_mode Signed-off-by: Renaud Lepage <root@cybikbase.com> [do not add device to uboot-envtools, update DTSI name] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/generic')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/02_network6
-rw-r--r--target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom6
2 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index 1672f093a7..d7adf7e184 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -204,7 +204,8 @@ ath79_setup_interfaces()
netgear,wndr3700|\
netgear,wndr3700-v2|\
netgear,wndr3800|\
- netgear,wndr3800ch)
+ netgear,wndr3800ch|\
+ netgear,wndrmac-v2)
ucidef_set_interface_wan "eth1"
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth0"
@@ -430,7 +431,8 @@ ath79_setup_macs()
;;
netgear,wndr3700|\
netgear,wndr3700-v2|\
- netgear,wndr3800)
+ netgear,wndr3800|\
+ netgear,wndrmac-v2)
lan_mac=$(macaddr_setbit_la "$(mtd_get_mac_binary art 0x0)")
;;
phicomm,k2t)
diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index e0fa5ff354..c5fc02519e 100644
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -127,7 +127,8 @@ case "$FIRMWARE" in
netgear,wndr3700|\
netgear,wndr3700-v2|\
netgear,wndr3800|\
- netgear,wndr3800ch)
+ netgear,wndr3800ch|\
+ netgear,wndrmac-v2)
caldata_extract "art" 0x1000 0xeb8
;;
dlink,dir-825-b1)
@@ -145,7 +146,8 @@ case "$FIRMWARE" in
netgear,wndr3700|\
netgear,wndr3700-v2|\
netgear,wndr3800|\
- netgear,wndr3800ch)
+ netgear,wndr3800ch|\
+ netgear,wndrmac-v2)
caldata_extract "art" 0x5000 0xeb8
;;
dlink,dir-825-b1)