forked from Ivasoft/openwrt
ath79: add support for TP-Link TL-WPA8630 v1
This ports the TP-Link TL-WPA8630 v1 from ar71xx to ath79. Specifications: SoC: QCA9563 CPU: 750 MHz Flash/RAM: 8 / 128 MiB Ethernet: 3x 1G ports (QCA8337 switch) WLAN: 2.4 GHz b/g/n, 5 GHz a/n/ac (ath10k) Buttons, LEDs and network setup appear to be almost identical to the v2 revision. Powerline interface is connected to switch port 5 (Label LAN4). Installation: No "fresh" device was available for testing the factory image. It is not known whether flashing via OEM firmware GUI is possible or not. A discussion from 2018 [1] about that indicates a few adjustments are necessary, but it is not clear whether those are already implemented with the TPLINK_HEADER_VERSION = 2 or not. Note that for the TL-WPA8630P v1, the TPLINK_HWID needs to be changed to 0x86310001 to allow factory flashing. [1] https://forum.openwrt.org/t/solved-tl-wpa8630p-lede-does-not-install/8161/27 Recovery: Recovery is only possible via serial. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -297,6 +297,7 @@ tplink,tl-mr6400-v1)
|
||||
ucidef_set_led_netdev "wan" "WAN" "tp-link:white:wan" "eth1"
|
||||
ucidef_set_led_netdev "4g" "4G" "tp-link:white:4g" "usb0"
|
||||
;;
|
||||
tplink,tl-wpa8630-v1|\
|
||||
tplink,tl-wpa8630p-v2-eu|\
|
||||
tplink,tl-wpa8630p-v2-int)
|
||||
ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x3c"
|
||||
|
||||
@@ -294,6 +294,7 @@ ath79_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "1:lan:1" "2:lan:3" "3:lan:2"
|
||||
;;
|
||||
tplink,tl-wpa8630-v1|\
|
||||
tplink,tl-wpa8630p-v2-eu|\
|
||||
tplink,tl-wpa8630p-v2-int)
|
||||
# port 5 (internal) is the power-line port
|
||||
|
||||
@@ -129,6 +129,10 @@ case "$FIRMWARE" in
|
||||
caldata_extract "art" 0x5000 0x844
|
||||
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) +1)
|
||||
;;
|
||||
tplink,tl-wpa8630-v1)
|
||||
caldata_extract "art" 0x5000 0x844
|
||||
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary u-boot 0x0fc00) +1)
|
||||
;;
|
||||
tplink,tl-wr902ac-v1)
|
||||
caldata_extract "art" 0x5000 0x844
|
||||
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary tplink 0x8) -1)
|
||||
|
||||
@@ -45,6 +45,10 @@ tplink,re355-v1)
|
||||
tplink,re450-v1)
|
||||
migrate_leds "re450:=tp-link:"
|
||||
;;
|
||||
tplink,tl-wpa8630-v1)
|
||||
migrate_leds "^tl-wpa8630:=tp-link:" \
|
||||
':wlan$=:wifi2g' ':wlan5$=:wifi5g'
|
||||
;;
|
||||
wd,mynet-n750)
|
||||
migrate_leds "wd:=mynet-n750:"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user