You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux
Adrian Schmutzler e7fae8fc97 ath79: add support for TP-Link Archer C60 v3
TP-Link Archer C60 v3 is a dual-band AC1350 router,
based on Qualcomm/Atheros QCA9561 + QCA9886.

It seems to be identical to the v2 revision, except that
it lacks a WPS LED and has different GPIO for amber WAN LED.

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
- 6x 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

While TFTP works for OpenWrt images, my device didn't accept the
only available official firmware "Archer C60(EU)_V3.0_190115.bin".

In contrast to earlier revisions (v2), the v3 contains the (same)
MAC address twice, once in 0x1fa08 and again in 0x1fb08.
While the partition-table on the device refers to the latter, the
firmware image contains a different partition-table for that region:

name           device            firmware
factory-boot   0x00000-0x1fb00   0x00000-0x1fa00
default-mac    0x1fb00-0x1fd00   0x1fa00-0x1fc00
pin            0x1fd00-0x1fe00   0x1fc00-0x1fd00
product-info   0x1fe00-0x1ff00   0x1fd00-0x1ff00
device-id      0x1ff00-0x20000   0x1ff00-0x20000

While the MAC address is present twice, other data like the PIN isn't,
so with the partitioning from the firmware image the PIN on the device
would actually be outside of its partition.
Consequently, the patch uses the MAC location from the device (which
is the same as for the v2).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 646d95c374)
4 years ago
..
apm821xx kernel: bump 4.14 to 4.14.172 4 years ago
ar71xx ar71xx: fix port order on TP-Link Archer C60 v1/v2 4 years ago
arc770 treewide: use wpad-basic for not small flash targets 6 years ago
archs38 treewide: use wpad-basic for not small flash targets 6 years ago
armvirt kernel: Remove CONFIG_COMPAT 5 years ago
at91 at91: disable legacy PTYs and virtual terminals 4 years ago
ath25 kernel: bump 4.14 to 4.14.171 4 years ago
ath79 ath79: add support for TP-Link Archer C60 v3 4 years ago
bcm53xx kernel: bump 4.14 to 4.14.171 4 years ago
brcm47xx kernel: bump 4.14 to 4.14.171 4 years ago
brcm63xx kernel: bump 4.14 to 4.14.169 4 years ago
brcm2708 kernel: bump 4.14 to 4.14.172 4 years ago
cns3xxx kernel: bump 4.14 to 4.14.156 5 years ago
gemini kernel: bump 4.14 to 4.14.156 5 years ago
generic kernel: backport out-of-memory fix for non-Ethernet devices 4 years ago
imx6 treewide: remove 4.19 leftovers 5 years ago
ipq40xx kernel: bump 4.14 to 4.14.172 4 years ago
ipq806x kernel: bump 4.14 to 4.14.172 4 years ago
kirkwood kirkwood: fix HDD LED labels for Zyxel NSA325 in 01_leds 4 years ago
lantiq kernel: bump 4.14 to 4.14.159 4 years ago
layerscape layerscape: add kmod-i2c-mux to DEVICE_PACKAGES for traverse-ls1043 4 years ago
malta malta: remove CONFIG_LEGACY_PTY from kernel config 4 years ago
mediatek kernel: bump 4.14 to 4.14.172 4 years ago
mpc85xx kernel: bump 4.14 to 4.14.171 4 years ago
mvebu kernel: bump 4.14 to 4.14.172 4 years ago
mxs kernel: bump 4.14 to 4.14.156 5 years ago
octeon treewide: remove 4.19 leftovers 5 years ago
octeontx kernel: bump 4.14 to 4.14.160 4 years ago
omap treewide: use new procd sysupgrade $UPGRADE_BACKUP variable 5 years ago
oxnas oxnas: backport patch fixing hang after reboot 4 years ago
pistachio kernel: bump 4.14 to 4.14.171 4 years ago
ramips kernel: bump 4.14 to 4.14.171 4 years ago
rb532 kernel: bump 4.14 to 4.14.86 6 years ago
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 5 years ago
sunxi kernel: bump 4.14 to 4.14.169 4 years ago
tegra treewide: remove 4.19 leftovers 5 years ago
uml uml: remove CONFIG_LEGACY_PTY from kernel config 4 years ago
x86 x86: fix missing led variable warning during boot 4 years ago
zynq zynq: make title consistent for all devices 5 years ago
Makefile