openwrt/target/linux/ath79/image
Adrian Schmutzler 646d95c374 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>
2020-03-18 13:49:06 +01:00
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: move lzma-loader to the end of available RAM 2020-01-23 15:28:03 +01:00
common-buffalo.mk ath79: sort device definitions in image/* 2019-09-21 22:17:39 +02:00
common-mikrotik.mk ath79: add support for MikroTik RouterBOARD wAP G-5HacT2HnD 2020-01-23 15:28:03 +01:00
common-netgear.mk ath79: harmonize line breaks in image Makefiles 2019-12-20 00:29:05 +01:00
common-tp-link.mk ath79: move TPLINK_HWID/_HWREV to parent for tplink-safeloader 2020-02-19 23:19:43 +01:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-25 17:32:46 +01:00
generic-tp-link.mk ath79: add support for TP-Link Archer C60 v3 2020-03-18 13:49:06 +01:00
generic-ubnt.mk ath79: rename ubnt_bullet-m to ubnt_bullet-m-ar7241 2020-03-18 13:45:57 +01:00
generic.mk ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
Makefile ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
mikrotik.mk ath79: get rid of BOARD_NAME for Mikrotik RouterBOARD 2020-03-17 12:05:45 +01:00
nand.mk ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
tiny-netgear.mk ath79: rename ATH_SOC to SOC 2019-12-20 01:12:42 +01:00
tiny-tp-link.mk ath79: add support for TP-Link TL-WR740N v5 2020-03-13 13:53:12 +01:00
tiny.mk ath79: Do not build dlink_dir-615-e4 by default 2019-12-23 15:24:43 +01:00