openwrt/tools
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)
2020-03-20 12:22:18 +01:00
..
autoconf
automake
b43-tools
bc Revert "bc: update to 1.07.1" 2019-05-22 21:27:44 +02:00
bison tools/bison: Update to 3.4.1 2019-09-04 13:18:42 +02:00
cbootimage tools: add cbootimage for tegra 2019-04-06 14:48:46 +02:00
cbootimage-configs tools: add cbootimage-configs for tegra 2019-04-06 14:48:46 +02:00
ccache ccache: update to 3.7.2 2019-09-04 13:34:08 +02:00
cmake tools/cmake: Update to 3.15.1 2019-09-04 13:46:12 +02:00
coreutils
dosfstools
e2fsprogs tools/e2fsprogs: Update to version 1.45.4 2019-11-07 19:42:42 +01:00
elftosb
expat expat: Update to version 2.2.9 2019-11-07 19:42:42 +01:00
findutils
firmware-utils ath79: add support for TP-Link Archer C60 v3 2020-03-20 12:22:18 +01:00
flex
flock
genext2fs
gengetopt tools/gengetopt: Update to 2.23 2019-09-04 13:26:24 +02:00
gmp
include
isl tools/isl: update to 0.20 2019-02-26 23:20:04 +01:00
kernel2minor
libelf tools: libelf: fix headers to trigger -Wundef warnings 2019-09-04 13:46:55 +02:00
libressl tools: libressl: fix compilation for non-glibc clib (FS#2400) 2019-09-04 13:31:40 +02:00
libtool
lzma
lzma-old
m4
make-ext4fs
missing-macros
mkimage tools: mkimage: fix __u64 typedef conflict with new glibc 2019-09-12 02:25:03 +00:00
mklibs
mm-macros
mpc
mpfr tools/mpfr: Update to 4.0.2 2019-02-10 20:51:09 +01:00
mtd-utils tools/mtd-utils: update to 2.1.1 2019-08-27 10:31:06 +02:00
mtools tools/mtools: Update to 4.0.23 2018-12-24 17:05:57 +01:00
padjffs2
patch tools/patch: apply upstream patch for cve-2019-13638 2019-08-14 07:29:32 +02:00
patch-image
patchelf
pkg-config
qemu
quilt
scons scons: update to 3.0.5 2019-05-18 21:17:45 +02:00
sdimage
sed tools/sed: Update to 4.7 2019-02-10 20:48:25 +01:00
sparse
squashfs
squashfskit4 tools/squashfskit: fix version detection on non-linux system 2019-03-03 19:45:10 +01:00
sstrip
tar tools: tar: update to version 1.32 2019-03-10 21:36:28 +01:00
upslug2 upslug2: Update to git repository 2019-09-04 13:47:11 +02:00
wrt350nv2-builder
xz tools/xz: Compile with PIC to fix linking errors 2019-04-06 19:14:06 +02:00
zip tools: zip: add option for reproducible archives 2019-01-15 19:11:53 +01:00
zlib
Makefile tools: cbootimage: depend on automake 2019-04-07 15:25:28 +02:00