From 946ffe470d923fdde53db68592437194e0c276fc Mon Sep 17 00:00:00 2001 From: David Bauer Date: Wed, 31 Oct 2018 20:19:49 +0100 Subject: ath79: add support for Archer C58/C59 v1 This commit adds support for the Archer C58 v1 and C59 v1, previously supported in the ar71xx target. CPU: Qualcomm QCA9561 RAM: 64M (C58) / 128M (C59) FLASH: 8M (C58) / 16M (C59) WiFi: QCA9561 bgn 3x3:3 QCA9888 nac 2x2:2 LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS Only C59: USB BTN: WPS, WiFi, Reset Installation ------------ Via Web-UI: Update factory image via Web-UI. Via TFTP: Rename factory image to "tp_recovery.bin" and place it in the root-dir of your tftp server. Configure to listen on 192.168.0.66. Power up the router while holding down the reset-button. The router will flash itself and reboot. Note: For TFTP, you might need a switch between router and computer, as link establishment might take to long. Signed-off-by: David Bauer --- target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/ath79/base-files/etc/hotplug.d/ieee80211') diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 59c58f9c67..fe5aa64a19 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -18,6 +18,10 @@ case "$board" in [ "$PHYNBR" -eq 1 ] && \ echo $(k2t_get_mac "lan_mac") > /sys${DEVPATH}/macaddress ;; + tplink,archer-c58-v1|\ + tplink,archer-c59-v1) + echo $(macaddr_add $(mtd_get_mac_binary mac 8) $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress + ;; *) ;; esac -- cgit v1.2.3