2
0
forked from Ivasoft/openwrt

ramips: add support for Netgear EAX12 series

Netgear EAX12, EAX11v2, EAX15v2 are wall-plug 802.11ax (Wi-Fi 6)
extenders that share the SoC, WiFi chip, and image format with the
WAX202.

Specifications:
* MT7621, 256 MiB RAM, 128 MiB NAND
* MT7915: 2.4/5 GHz 2x2 802.11ax (DBDC)
* Ethernet: 1 port 10/100/1000
* UART: 115200 baud (labeled on board)

All LEDs and buttons appear to work without state_default.

Installation:
* Flash the factory image through the stock web interface, or TFTP to
  the bootloader. NMRP can be used to TFTP without opening the case.

Revert to stock firmware:
* Flash the stock firmware to the bootloader using TFTP/NMRP.

References in GPL source:
https://www.downloads.netgear.com/files/GPL/EAX12_EAX11v2_EAX15v2_GPL_V1.0.3.34_src.tar.gz

* target/linux/ramips/dts/mt7621-rfb-ax-nand.dts
  DTS file for this device.

Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
This commit is contained in:
Wenli Looi
2023-03-30 22:28:23 +00:00
committed by Hauke Mehrtens
parent 0a1ebccc87
commit 32ea8a9a7e
7 changed files with 231 additions and 0 deletions

View File

@@ -138,6 +138,10 @@ mikrotik,routerboard-m11g)
mtc,wr1201)
ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "br-lan"
;;
netgear,eax12)
ucidef_set_led_netdev "eth_act" "LAN act" "yellow:eth" "lan" "tx rx"
ucidef_set_led_netdev "eth_link" "LAN link" "green:eth" "lan" "link"
;;
netgear,r6220|\
netgear,r6260|\
netgear,r6350|\

View File

@@ -20,6 +20,7 @@ ramips_setup_interfaces()
linksys,re7000|\
mikrotik,ltap-2hnd|\
mikrotik,routerboard-m11g|\
netgear,eax12|\
netgear,ex6150|\
sercomm,na502|\
sercomm,na502s|\
@@ -275,6 +276,10 @@ ramips_setup_macs()
label_mac=$wan_mac
lan_mac=$(macaddr_add "$wan_mac" 2)
;;
netgear,eax12)
lan_mac=$(mtd_get_mac_ascii Config mac)
label_mac=$lan_mac
;;
netgear,wax202)
lan_mac=$(mtd_get_mac_ascii Config mac)
wan_mac=$(macaddr_add "$lan_mac" 1)

View File

@@ -118,6 +118,11 @@ case "$board" in
[ "$PHYNBR" = "0" ] && macaddr_add $hw_mac_addr 1 > /sys${DEVPATH}/macaddress
[ "$PHYNBR" = "1" ] && macaddr_add $hw_mac_addr 2 > /sys${DEVPATH}/macaddress
;;
netgear,eax12)
hw_mac_addr=$(mtd_get_mac_ascii Config mac)
[ "$PHYNBR" = "0" ] && macaddr_add $hw_mac_addr 1 > /sys${DEVPATH}/macaddress
[ "$PHYNBR" = "1" ] && macaddr_add $hw_mac_addr 2 > /sys${DEVPATH}/macaddress
;;
netgear,wax202)
hw_mac_addr=$(mtd_get_mac_ascii Config mac)
[ "$PHYNBR" = "0" ] && macaddr_add $hw_mac_addr 2 > /sys${DEVPATH}/macaddress

View File

@@ -87,6 +87,7 @@ platform_do_upgrade() {
linksys,ea8100-v1|\
linksys,ea8100-v2|\
mts,wg430223|\
netgear,eax12|\
netgear,r6220|\
netgear,r6260|\
netgear,r6350|\