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/tools
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>
4 years ago
..
autoconf treewide: clean up download hashes 7 years ago
automake tools/automake: Revert "Do not use $(V) - force AM_V=1" 5 years ago
b43-tools tools/b43-tools/b43-fwsquash: convert to Python 3 with 2-to-3 5 years ago
bc Revert "bc: update to 1.07.1" 5 years ago
bison tools/bison: Update to 3.5.1 4 years ago
cbootimage tools: add cbootimage for tegra 5 years ago
cbootimage-configs tools: add cbootimage-configs for tegra 5 years ago
ccache ccache: update to 3.7.7 4 years ago
cmake tools/cmake: Update to 3.16.5 4 years ago
coreutils tools/coreutils: install "touch" 5 years ago
dosfstools add PKG_CPE_ID ids to package and tools 7 years ago
e2fsprogs tools/e2fsprogs: Update to 1.45.5 4 years ago
elftosb treewide: clean up download hashes 7 years ago
expat tools/expat: change package source to GitHub 5 years ago
findutils tools: findutils: fix compilation with glibc 2.28 6 years ago
firmware-utils ath79: add support for TP-Link Archer C60 v3 4 years ago
flex flex: Add a lex symlink 6 years ago
flock tools: flock: add NFSv4 compatibility 8 years ago
genext2fs treewide: clean up download hashes 7 years ago
gengetopt tools/gengetopt: Update to 2.23 5 years ago
gmp tools/gmp: Remove obsolete options 4 years ago
include build: fix kernel 5.4 on macos 4 years ago
isl tools/isl: update to 0.20 5 years ago
kernel2minor tools: kernel2minor: update to latest version 6 years ago
libelf tools: libelf: fix headers to trigger -Wundef warnings 5 years ago
libressl tools/libressl: Update to 3.0.2 4 years ago
libtool add PKG_CPE_ID ids to package and tools 7 years ago
lzma treewide: clean up download hashes 7 years ago
lzma-old tools/zlib: move zlib build to tools 6 years ago
m4 tools: m4: fix compilation with glibc 2.28 6 years ago
make-ext4fs make_ext4fs: Update to version 2020-01-05 4 years ago
missing-macros tools: remove a bunch of unused automake macros 9 years ago
mkimage tools/mkimage: Update U-Boot to version 2019.07 5 years ago
mklibs tools/mklibs: update to 0.1.44 and convert to Python 3 5 years ago
mm-macros tools/mm-macros: Update to 0.9.12 6 years ago
mpc tools/mpc: Update to 1.1.0 6 years ago
mpfr tools/mpfr: Update to 4.0.2 5 years ago
mtd-utils tools/mtd-utils: update to 2.1.1 5 years ago
mtools tools/mtools: Update to 4.0.23 5 years ago
padjffs2 tools: padjffs2: add option to output padding data to stdout 8 years ago
patch tools/patch: apply upstream patch for cve-2019-13638 5 years ago
patch-image tools: patch-image: fix file descriptor leak. 7 years ago
patchelf tools/patchelf: Update to 0.10 4 years ago
pkgconf pkgconf: always retain -I and -L flags 4 years ago
qemu tools: qemu: Add patches to support adapter_type and monolithicFlat 4 years ago
quilt tools/quilt: update to 0.66 5 years ago
sdimage tools/sdimage: Fix build with host Linux headers < 3.18 5 years ago
sed tools/sed: Update to 4.8 4 years ago
sparse sparse: updated to version 0.5.2 6 years ago
squashfs add PKG_CPE_ID ids to package and tools 7 years ago
squashfskit4 tools/squashfskit: fix version detection on non-linux system 5 years ago
sstrip tools/sstrip: Fix compile under standard linux. 6 years ago
tar tools: tar: update to version 1.32 5 years ago
upslug2 upslug2: Update to git repository 5 years ago
wrt350nv2-builder wrt350nv2-builder: Fix memory leak 4 years ago
xz tools/xz: Compile with PIC to fix linking errors 5 years ago
zip tools: zip: add option for reproducible archives 5 years ago
zlib tools: zlib: do not hardcode the install prefix in zlib.pc 6 years ago
Makefile build: fix kernel 5.4 on macos 4 years ago