ath79: Add support for TP-Link Archer C60 v1
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 5 May 2019 16:36:43 +0000 (18:36 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 26 Nov 2019 16:01:20 +0000 (17:01 +0100)
commit70233e3afe409b3de9963db0b906bee97c771543
tree9c8897cd7cd68fdfde8a23a42a51b6f1f87b0fb0
parenta2d9de21b841ab641c81cf3f6f9eb53e7bbf4a6b
ath79: Add support for TP-Link Archer C60 v1

TP-Link Archer C60v1 is a dual-band AC1350 router,
based on Qualcomm/Atheros QCA9561+QCA9886.

Specification:

- 775/650/258 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH (SPI NOR)
- 3T3R 2.4 GHz
- 2T2R 5 GHz
- 5x 10/100 Mbps Ethernet
- 7x LED, 2x button
- UART header on PCB

Flash instruction (WebUI):
Download *-factory.bin image and upload it via the firmwary upgrade
function of the stock firmware WebUI.

Flash instruction (TFTP):
1. Set PC to fixed ip address 192.168.0.66
2. Download *-factory.bin image and rename it to tp_recovery.bin
3. Start a tftp server with the file tp_recovery.bin in its root directory
4. Turn off the router
5. Press and hold Reset button
6. Turn on router with the reset button pressed and wait ~15 seconds
7. Release the reset button and after a short time
the firmware should be transferred from the tftp server
8. Wait ~30 second to complete recovery.

Flash instruction under U-Boot, using UART:
1. tftp 0x81000000 ...-sysupgrade.bin
2. erase 0x9f020000 +$filesize
3. cp.b $fileaddr 0x9f020000 $filesize
4. reset

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 6d313da6dc5f655d92aa86e2ec42ecfcf763df3d)
target/linux/ath79/base-files/etc/board.d/01_leds
target/linux/ath79/base-files/etc/board.d/02_network
target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ath79/dts/qca9561_tplink_archer-c60-v1.dts [new file with mode: 0644]
target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi [new file with mode: 0644]
target/linux/ath79/image/generic-tp-link.mk