Archer C60 v3 - is possible to install OpenWrt firmware?

I bought a Archer C60 v3, I expected something more compatible to openwrt which isnt the case. In its support page it appears that the firmware is compatible with v1 and v2. I already tried with the admin web panel, in the upgrade section, without success (error: invalid file type) also with shorter filenames.

Is possible install successfully the openwrt software witouth hacking it inside? (Or since this hardware version (v3) its not present in the page, I must assume that its not possible?)

Checking https://www.tp-link.com/dk/support/download/archer-c60/#Firmware there is a v3-specific version of the firmware. It might be that it is just different in a "magic number", it might be that TP-Link has completely changed the hardware (which they often do). The latter could be disastrous and unrecoverable.

Opening the case to get serial access would be how I would proceed. (OK, I'd actually return it if I could and buy something like the ipq40xx-based Linksys EA6350 for the US$75 that unit and the C60 cost through Amazon US).

Examination of https://static.tp-link.com/resources/gpl/C60V3_GPL_code.tar.gz vs. https://static.tp-link.com/resources/gpl/Archer_C60_V2_GPL.tar.bz2 might provide some clues.

I'll do a return if there is no clue in the way that this v3 allows a succesfull installation, and given my poor habilities in hardware.

I can return it in these next 10 days but will be a somehow problematic situation since I not bought it in a physical store. Thanks for that product suggestion, is a really better bet.

This new model has now finally reached Amazon Germany. I got one now, I will probably open it and see whats what.

1 Like

Here is the bootlog

Archer C60 v3.0
1.0.0 Build 20190115 rel.57239(4555)

U-Boot 1.1.4-gfbf1eef2-dirty (Jan  4 2019 - 10:17:31)

ap151 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 402k for U-Boot at: 83f98000
Reserving 32832k for malloc() at: 81f88000
Reserving 44 Bytes for Board Info at: 81f87fd4
Reserving 36 Bytes for Global Data at: 81f87fb0
Reserving 128k for boot params() at: 81f67fb0
Stack Pointer at: 81f67f98
Now running in RAM - U-Boot at: 83f98000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Dragonfly----> S27 PHY *
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :50
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :50
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :50
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :50
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x82
Reading Partition Table from NVRAM ... OK
Parsing Partition Table ... OK
factory boot check integer ok.
load fs uboot at 0x10000.
Autobooting in 1 seconds
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gfbf1eef2-dirty (Jan  4 2019 - 10:18:00)

ap151 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 120k for U-Boot at: 83fe0000
Reserving 32832k for malloc() at: 81fd0000
Reserving 44 Bytes for Board Info at: 81fcffd4
Reserving 36 Bytes for Global Data at: 81fcffb0
Reserving 128k for boot params() at: 81faffb0
Stack Pointer at: 81faff98
Now running in RAM - U-Boot at: 83fe0000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Dragonfly----> S27 PHY *
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x82
Hit any key to stop autoboot:  0
## Booting image at 9f030000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2019-01-10   6:16:49 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1023437 Bytes = 999.5 kB
   Load Address: 80060000
   Entry Point:  80060000
   Contents:
   Image 0:  1023429 Bytes = 999.4 kB
   Verifying Checksum at 0x9f030040 ...OK
   Uncompressing Multi-File Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 3.3.8 (feng@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Mon Dec 24 18:10:59 CST 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  console=ttyS0,115200 board=AP151 rootfstype=squashfs init=/etc/preinit mtdparts=spi0.0:128k(factory-boot),64k(u-boot),1024k(uImage),6822k(rootfs),64k@0x7f0000(ART) mem=64M rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61452k/65536k available (2180k kernel code, 4084k reserved, 527k data, 176k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:83
[    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] NET: Registered protocol family 16
[    0.070000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.080000] MIPS: machine is TP-LINK Archer_C60_V3 reference board
[    0.080000] registering PCI controller with io_map_base unset
[    0.090000] ar71xx: invalid MDIO id 1
[    0.490000] bio: create slab <bio-0> at 0
[    0.500000] PCI host bridge to bus 0000:00
[    0.500000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.510000] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.510000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.520000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.520000] Switching to clocksource MIPS
[    0.530000] NET: Registered protocol family 2
[    0.530000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.530000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.540000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.540000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.550000] TCP reno registered
[    0.550000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.560000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.560000] NET: Registered protocol family 1
[    0.580000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.580000] msgmni has been set to 120
[    0.590000] io scheduler noop registered
[    0.590000] io scheduler deadline registered (default)
[    0.590000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.620000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.630000] console [ttyS0] enabled, bootconsole disabled
[    0.630000] console [ttyS0] enabled, bootconsole disabled
[    0.640000] m25p80 spi0.0: found gd25q128c, expected m25p80
[    0.650000] m25p80 spi0.0: gd25q128c (16384 Kbytes)
[    0.650000] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.660000] Creating 5 MTD partitions on "spi0.0":
[    0.660000] 0x000000000000-0x000000020000 : "factory-boot"
[    0.670000] 0x000000020000-0x000000030000 : "u-boot"
[    0.680000] 0x000000030000-0x000000130000 : "uImage"
[    0.680000] 0x000000130000-0x0000007d9800 : "rootfs"
[    0.690000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.700000] mtd: partition "rootfs" set to be root filesystem
[    0.710000] 0x0000007f0000-0x000000800000 : "ART"
[    0.710000] flash_chrdev : flash_chrdev_init
[    0.740000] ag71xx_mdio: probed
[    0.860000] ag71xx_mdio: probed
[    0.870000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.420000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    1.430000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    1.990000] eth1: Found an AR934X built-in switch
[    3.020000] TCP cubic registered
[    3.020000] NET: Registered protocol family 17
[    3.020000] Bridge firewalling registered
[    3.030000] 8021q: 802.1Q VLAN Support v1.8
[    3.030000] ### of_selftest(): No testcase data in device tree; not running tests
[    3.040000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    3.050000] Freeing unused kernel memory: 176k freed
[    5.040000] [ag71xx_hw_start:554]ag71xx_hw_start
- preinit -
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -
[    5.520000] [ag71xx_rings_cleanup:348]ag71xx_rings_cleanup
[    6.290000] liblog: module license 'unspecified' taints kernel.
[    6.290000] Disabling lock debugging due to kernel taint
[    6.590000] NET: Registered protocol family 10
[    6.980000] Button Hotplug driver version 0.4.1
[    7.020000] PPP generic driver version 2.4.2
[    7.050000] tun: Universal TUN/TAP device driver, 1.6
[    7.050000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    7.090000] PPP MPPE Compression module registered
[    7.170000] L2TP core driver, V2.0
[    7.180000] L2TP netlink interface
[    7.200000] IPv6 over IPv4 tunneling driver
[    7.220000] GRE over IPv4 demultiplexor driver
[    7.230000] GRE over IPv4 tunneling driver
[    7.310000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.490000] NET: Registered protocol family 24
[    7.560000] nf_conntrack version 0.5.0 (962 buckets, 3848 max)
[    7.860000] PPPoL2TP kernel driver, V2.0
[    7.880000] PPTP driver version 0.8.5
[    8.340000] xt_time: kernel timezone is -0000
[    8.810000] nf_conntrack_rtsp v0.6.21 loading
[    8.830000] nf_nat_rtsp v0.6.21 loading
[    8.990000] Netfilter messages via NETLINK v0.30.
[    9.090000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.250000] ctnetlink v0.93: registering with nfnetlink.
[    9.350000] ssdk_plat_init start
[    9.350000] chip_version:0x0
[    9.360000] chip_version:0x2
[    9.360000] Register QCA PHY driver
[    9.370000] register switch!!
[    9.380000] qca-ssdk module init succeeded!
reload_profile() begin:
reload_profile() end:
reloadconfig() begin:
reloadconfig() end:

Please press Enter to activate this console. GMT+00:00
Tue Jan 15 00:00:00 GMT 2019
[   13.970000] [ag71xx_hw_start:554]ag71xx_hw_start
[   13.970000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.480000] ADDRCONF(NETDEV_UP): lo: link is not ready
[   14.480000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.490000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[   14.490000] ADDRCONF(NETDEV_UP): ip6tnl0: link is not ready
[   14.500000] ADDRCONF(NETDEV_UP): sit0: link is not ready
[   14.510000] ADDRCONF(NETDEV_UP): gre0: link is not ready
Loading defaults
[   20.250000] ath_hal: 0.9.17.1 (AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
[   20.550000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
Loading synflood protection
[   20.950000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
Adding custom chains
[   22.970000] __ath_attach: Set global_scn[0]
[   22.980000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
[   22.990000] ACBKMinfree = 48
[   22.990000] ACBEMinfree = 32
[   22.990000] ACVIMinfree = 16
[   23.000000] ACVOMinfree = 0
[   23.000000] CABMinfree = 48
[   23.000000] UAPSDMinfree = 0
[   23.000000] ATH_TXBUF=2700
[   23.020000] Enterprise mode: 0x03bda000
[   23.020000] Restoring Cal data from DRAM
[   23.020000]
[   23.020000] ART Version : -48.0.0
[   23.030000] SW Image Version : -48.0.0.0.0
[   23.030000] Board Revision :
[   23.040000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
[   23.040000] KeyRst: Invalid key entry(102) for MIC
[   23.050000] ath_get_caps[6328] rx chainmask mismatch actual 7 sc_chainmak 0
[   23.060000] ath_get_caps[6303] tx chainmask mismatch actual 7 sc_chainmak 0
[   23.080000] ath_tx_paprd_init sc 833d8000 PAPRD disabled in HAL
[   23.090000] wifi0: Atheros 956X: mem=0xb8100000, irq=47
[   23.090000] ath_pci:  (Atheros/multi-bss)
[   23.100000] ol_ath_pci_probe: PCI device id 0056 :0056
[   23.100000] ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[   23.110000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   23.120000]  *********** Besra *************
[   23.120000]
[   23.120000] __ol_ath_attach() Allocated scn 82100380
[   23.130000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x83b4f800
[   23.130000]
[   23.130000]  ol_ath_pci_configure : num_desired MSI set to 0
[   23.140000]
[   23.140000]  Using PCI Legacy Interrupt
[   23.150000] chip_id 0xc chip_revision 0x0
[   23.160000]
[   23.160000]  CLOCK PLL skipped
[   23.170000] HIF_PCIDeviceProbed: setting the target pll frac ffffffff intval ffffffff
[   23.180000] HIF_PCIDeviceProbed: no frac provided, skipping pre-configuring PLL
[   23.190000] __ol_ath_attach: dev name wifi1
[   23.190000] ol_ath_attach interface_id 1
[   23.190000] ol_ath_attach() BMI inited.
[   23.310000] ol_ath_attach() BMI Get Target Info.
[   23.310000] Chip id: 0xc, chip version: 0x1000000
[   23.310000]
[   23.310000]  CE WAR Disabled
[   23.390000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[   23.400000] ol_ath_attach() configure Target .
[   23.400000]
[   23.400000]  Target Version is 1000000
[   23.410000]
[   23.410000]  Flash Download Address  c0000
[   23.410000] ol_transfer_bin_file: flash data file defined
[   23.420000] Cal location [0]: 00004000
[   23.420000]
[   23.420000]  wifi1 NAND FLASH Select OFFSET 0x5000
[   23.470000] qc98xx_verify_checksum: flash checksum passed: 0x 4fc
[   23.480000] ol_transfer_bin_file 3451: Download Flash data len 12064
[   23.500000] Board extended Data download address: 0x0
[   23.590000]
[   23.590000]  Board data initialized
[   23.590000] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000
[   23.600000]
[   23.600000]  Selecting  OTP binary for CHIP Version 0
Loading zones
[   23.900000] ol_transfer_bin_file 3271: downloading file 0, Download data len 8964
[   23.950000]
[   23.950000]  First OTP send param 8000
[   24.200000] ol_ath_download_firmware :First OTP download and Execute is good address:0x5000 return param 4660
[   24.210000] ol_ath_download_firmware:##Board Id 20 , CHIP Id 0
[   24.240000] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000
[   24.250000] Warning : No board id matched. Selecting default boarddata file
[   24.260000]
[   24.260000]  wifi1: Selecting board data file name boarddata_0.bin
[   24.260000] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9888/hw.2/boarddata_0.bin
[   24.870000] ol_transfer_bin_file 3271: downloading file 3, Download data len 12064
[   24.880000] Board extended Data download address: 0x0
[   24.930000] ol_ath_download_firmware: Using 0x1234 for the remainder of init
[   24.940000]
[   24.940000]  Selecting  OTP binary for CHIP Version 0
[   25.170000] ol_transfer_bin_file 3271: downloading file 0, Download data len 8964
[   25.240000]
[   25.240000]  [Flash] : Ignore Module param
[   25.240000]
[   25.240000]  Second otp download Param 10000
[   25.500000] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0
[   25.510000]
[   25.510000]  Mission mode: Firmware CHIP Version 0
[   25.690000] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144
[   25.790000] Swap: bytes_left to copy: fw:16; dma_page:61485
[   25.790000] Swap: wrong length read:0
[   25.800000] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 200659 Target address 419530
[   25.820000] scn=82100380  target_write_addr=419530 seg_info=83203e10
[   25.830000] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2
[   25.830000] bin_filename=QCA9888/hw.2/athwlan.bin swap_filename=/lib/firmware/QCA9888/hw.2/athwlan.codeswap.bin
[   25.840000] ol_transfer_bin_file: Downloading firmware file: QCA9888/hw.2/athwlan.bin
[   26.220000] ol_transfer_bin_file 3271: downloading file 1, Download data len 354424
[   26.810000] [ag71xx_hw_start:554]ag71xx_hw_start
[   26.810000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[   26.830000] device eth1 entered promiscuous mode
[   26.830000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
Loading forwardings
Loading rules
Loading redirects
Loading includes
Optimizing conntrack
Loading interfaces
[   27.930000] ol_ath_attach() Download FW done.
[   27.930000] ol_ath_attach() HT Create .
[   27.940000] ol_ath_attach() HIF Claim.
[   27.950000] ol_ath_attach() BMI Done.
[   27.950000] ol_ath_attach 7556 host_enable 0 nss_nwifi_offload 0
[   27.960000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
[   27.960000]  OL_ACBKMinfree : 0
[   27.970000]  OL_ACBEMinfree : 0
[   27.970000]  OL_ACVIMinfree : 0
[   27.970000]  OL_ACVOMinfree : 0
[   27.980000] ol_ath_attach() WMI attached. wmi_handle 82210000
[   27.990000] CE_recv_buf_enqueue 877 Populate last entry 512 for CE 5
[   27.990000] CE_recv_buf_enqueue 886 CE 5 wi 511 dest_ptr 0x1c00c20 nbytes 0 recv_ctxt 0x823f5540
[   28.000000] Startup Mode-0 set
[   28.010000]
[   28.010000] <=== cfg max peer id 1056 ====>
[   28.020000] HTC Service:0x0300 ep:1 TX flow control disabled
[   28.020000] htt_peer_map_timer_init Enter pdev 81c88000 hrtimer 81c8c7c0
[   28.030000]
[   28.030000]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr 81c92000 paddr 1c92000
[   28.040000]
[   28.040000]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts
[   28.050000] CE_pkt_dl_len_set CE 4 Pkt download length 64
[   28.060000] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from 81920000
[   28.080000] HTC Service:0x0100 ep:2 TX flow control disabled
[   28.090000] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
[   28.090000] Firmware_Build_Number:99
[   28.100000] host/RAM_fw Build Ver Mismatch: H:0x5D, F:0x63 !
[   28.100000] num_rf_chain:0x00000002  ht_cap_info:0x0000085b  vht_cap_info:0x339979f2  vht_supp_mcs:0x0000fffa
[   28.110000]
[   28.110000]  RES CFG Support wmi_service_bitmap 9778
[   28.120000]
[   28.120000]  Sending Ext resource cfg: HOST PLATFORM as 1 and fw_feature_bitmap as 50 to TGT
[   28.130000] ol_ath_service_ready_event: tt_support: 1
[   28.140000] ol_ath_service_ready_event: periodic_chan_stats: 0
[   28.140000] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17
[   28.150000] idx 1 req 2  num_units 1 num_unit_info 12 unit size 256 actual units 53
[   28.160000] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256,
[   28.170000] idx 2 req 3  num_units 1 num_unit_info 12 unit size 1024 actual units 53
[   28.180000] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024,
[   28.190000] idx 3 req 4  num_units 1 num_unit_info 12 unit size 4096 actual units 53
[   28.190000] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096,
[   28.200000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 872 actual units 531
[   28.210000] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 265 unit_len 872,
[   28.220000] ol_ath_alloc_host_mem_chunk req_id 1 idx 4 num_units 266 unit_len 872,
[   28.230000] idx 4 req 5  num_units 0 num_unit_info 2 unit size 1892 actual units 531
[   28.240000] ol_ath_alloc_host_mem_chunk req_id 5 idx 5 num_units 132 unit_len 1892,
[   28.250000] ol_ath_alloc_host_mem_chunk req_id 5 idx 6 num_units 133 unit_len 1892,
[   28.260000] ol_ath_alloc_host_mem_chunk req_id 5 idx 7 num_units 133 unit_len 1892,
[   28.260000] ol_ath_alloc_host_mem_chunk req_id 5 idx 8 num_units 133 unit_len 1892,
[   28.270000] chunk 0 len 13568 requested ,ptr  0x1948000
[   28.280000] chunk 1 len 54272 requested ,ptr  0x1950000
[   28.280000] chunk 2 len 217088 requested ,ptr  0x1980000
[   28.290000] chunk 3 len 231080 requested ,ptr  0x19c0000
[   28.290000] chunk 4 len 231952 requested ,ptr  0x1a00000
[   28.300000] chunk 5 len 249744 requested ,ptr  0x1a40000
[   28.310000] chunk 6 len 251636 requested ,ptr  0x1a80000
[   28.310000] chunk 7 len 251636 requested ,ptr  0x1ac0000
[   28.320000] chunk 8 len 251636 requested ,ptr  0x1b00000
[   28.350000] wmi_ready_event_rx:  WMI UNIFIED READY event
[   28.350000] ol_ath_connect_htc() WMI is ready
[   28.360000] target uses HTT version 2.2; host uses 2.2
[   28.370000] ol_ath_attach() connect HTC.
[   28.370000] bypasswmi : 0
[   28.370000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   28.390000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150
[   28.390000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0
[   28.400000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0
[   28.410000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0
[   28.410000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150
[   28.420000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080
[   28.430000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080
[   28.440000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080
[   28.440000] Add VHT80 channel: 5210
[   28.450000] Add VHT80 channel: 5290
[   28.450000] Add VHT80 channel: 5530
[   28.450000] Add VHT80 channel: 5610
[   28.460000] Add VHT80 channel: 5690
[   28.460000] Add VHT80 channel: 5775
[   28.470000] Skipping VHT80 channel 5825
[   28.470000] OL Resmgr Init-ed
[   28.480000] rate power table override is only supported for AR98XX
[   28.480000] ol_ath_attach() UMAC attach .
[   28.490000]
[   28.490000]  BURSTING enabled by default
[   28.490000] __ol_ath_attach: needed_headroom reservation 44
[   28.500000] ol_ath_thermal_mitigation_attach: --
[   28.950000] [wifi1] FWLOG: [32301] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 )
[   28.950000] [wifi1] FWLOG: [32301] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 )
[   28.960000] [wifi1] FWLOG: [32301] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 )
[   28.970000] [wifi1] FWLOG: [32301] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 )
[   28.980000] [wifi1] FWLOG: [32301] WAL_DBGID_TX_AC_BUFFER_SET ( 0x100, 0x11e1a300 )
[   31.340000] Switching to Tx Mode-0
Loading tpcmd
[   32.390000] wlan_vap_create : enter. devhandle=0x832e0380, opmode=IEEE80211_M_HOSTAP, flags=0x3
[   32.390000]
[   32.400000] ieee80211_mbo_vattach:MBO Initialized
[   32.400000] wlan_vap_create : exit. devhandle=0x832e0380, opmode=IEEE80211_M_HOSTAP, flags=0x3.
[   32.400000]
[   32.410000] VAP device ath0 created osifp: (82299b80) os_if: (822b8000)
[   32.560000] siwfreq
[   32.560000] Set freq vap 0 stop send + 822b8000
[   32.570000] Set freq vap 0 stop send -822b8000
[   32.600000] Set wait done --822b8000
loading access_control
[   32.910000] Not supported in this vap
[   33.080000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
loading basic_security
[   33.140000] siwfreq
[   33.140000] Set freq vap 0 stop send + 822b8000
[   33.150000] Set freq vap 0 stop send -822b8000
[   33.180000] Set wait done --822b8000
[   33.810000]
[   33.810000]  DES SSID SET=
[   33.850000]
[   33.850000]  DES SSID SET=TP-Link_7336
[   35.200000]  ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
[   35.200000]  DEVICE IS DOWN ifname=ath0
[   35.210000]  DEVICE IS DOWN ifname=ath0
[   35.370000] Warning: node not in table 0x8214d000
[   35.480000] 8021q: adding VLAN 0 to HW filter on device ath0
[   36.430000] [ol_ath_iw_setcountry][1680] *p=44, *(p+1)=45
[   36.440000] isCountryCodeValid: EEPROM regdomain 0x0
[   36.440000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150
[   36.450000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0
[   36.460000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0
[   36.460000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0
[   36.470000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150
[   36.480000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080
[   36.480000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080
[   36.490000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080
[   36.500000] Add VHT80 channel: 5210
[   36.500000] Add VHT80 channel: 5290
[   36.510000] Add VHT80 channel: 5530
[   36.510000] Add VHT80 channel: 5610
[   36.670000] set TXBF_SND_PERIOD: value 100 wmi_status 0
[   36.860000] wmi_unified_vdev_create_send: ID = 0 Type = 1, Subtype = 0 VAP Addr = 98:da:c4:5e:73:35:
[   36.870000] ieee80211_mbo_vattach:MBO Initialized
[   36.880000] VAP device ath1 created osifp: (825cc380) os_if: (81bcc000)
[   37.030000] siwfreq
[   37.030000] Set freq vap 0 stop send + 81bcc000
[   37.030000] Set freq vap 0 stop send -81bcc000
[   37.080000] Set wait done --81bcc000
[   37.170000] siwfreq
[   37.170000] Set freq vap 0 stop send + 81bcc000
[   37.180000] Set freq vap 0 stop send -81bcc000
[   37.210000] Set wait done --81bcc000
[   37.330000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
[   37.360000] siwfreq
[   37.360000] Set freq vap 0 stop send + 81bcc000
[   37.370000] Set freq vap 0 stop send -81bcc000
[   37.400000] Set wait done --81bcc000
[   37.510000] ME Pool succesfully initialized vaddr - 81be0000 paddr - 0
[   37.510000] num_elems = 1424 buf_size - 64 pool_size = 102528
[   37.520000] Enable MCAST_TO_UCAST
[   37.690000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
[   37.820000] su bfee 1 mu bfee 0 su bfer 0 mu bfer 1 impl bf 0 sounding dim 1
[   37.820000] su bfee 1 mu bfee 0 su bfer 0 mu bfer 0 impl bf 0 sounding dim 1
[   37.850000] su bfee 0 mu bfee 0 su bfer 0 mu bfer 0 impl bf 0 sounding dim 1
[   37.880000]
[   37.880000]  DES SSID SET=
[   37.900000]
[   37.900000]  DES SSID SET=TP-Link_7336_5G
[   38.250000] ieee80211_extap_detect_stop: stop.
[   38.820000]  ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
[   38.820000]  DEVICE IS DOWN ifname=ath1
[   38.830000]  DEVICE IS DOWN ifname=ath1
[   39.040000] 8021q: adding VLAN 0 to HW filter on device ath1
[   39.950000] [wifi1] FWLOG: [43220] WAL_DBGID_SECURITY_ENCR_EN (  )
[   39.950000] [wifi1] FWLOG: [43220] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
[   39.960000] [wifi1] FWLOG: [43250] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1
[   39.970000] [wifi1] FWLOG: [43564] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1
[   39.980000] [wifi1] FWLOG: [43879] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1
[   40.260000] wmi_unified_vdev_down_send for vap 0 (82210000)
[   40.270000] ieee80211_extap_detect_stop: stop.
[   40.270000] ACS failed to derive the channel. So,selecting channel with least BSS
[   40.280000] random channel is 40
[   40.290000] ******** ACS report ********
[   40.300000]  Channel | BSS  | minrssi | maxrssi | NF | Ch load | spect load | sec_chan
[   40.310000] ---------------------------------------------------------------------
[   40.320000]  5180( 36)    3       32        46   -106       3           0          1
[   40.320000]  5200( 40)    0        0         0   -105       1           0          1
[   40.330000]  5220( 44)    0        0         0   -105       1           0          1
[   40.340000]  5240( 48)    2       21        34   -105       1           0          1
[   40.350000] OL vap_start +
[   40.350000] wmi_unified_vdev_start_send for vap 0 (82210000)
[   40.360000] OL vap_start -
[   40.360000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3
[   40.510000] device ath0 entered promiscuous mode
[   40.510000] br-lan: port 2(ath0) entered forwarding state
[   40.520000] br-lan: port 2(ath0) entered forwarding state
[   40.520000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   40.540000] ol_vdev_start_resp_ev for vap 0 (82210000)
[   40.550000] su bfee 0 mu bfee 0 su bfer 0 mu bfer 0 impl bf 0 sounding dim 1
[   40.560000] wmi_unified_vdev_up_send for vap 0 (82210000)
[   40.680000] device ath1 entered promiscuous mode
[   40.690000] br-lan: port 3(ath1) entered forwarding state
[   40.690000] br-lan: port 3(ath1) entered forwarding state
[   40.950000] [wifi1] FWLOG: [44193] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1
[   40.960000] [wifi1] FWLOG: [44513] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   40.960000] [wifi1] FWLOG: [44513] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   40.970000] [wifi1] FWLOG: [44602] vap-0 VDEV_MGR_VDEV_START ( 0x1450, 0x2, 0x0, 0x0 )
[   40.980000] [wifi1] FWLOG: [44603] WAL channel change freq=5200, mode=10 flags=0 rx_ok=1 tx_ok=1
[   40.990000] [wifi1] FWLOG: [44812] VDEV_MGR_HP_START_TIME ( 0x0, 0x1450, 0xbb8000 )
[   41.000000] [wifi1] FWLOG: [44812] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
[   41.000000] [wifi1] FWLOG: [44812] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   41.010000] [wifi1] FWLOG: [44812] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x1450, 0x0, 0x0 )
[   41.450000] Lan Domain: tplinklogin.net
[   41.460000] Lan Domain: www.tplinklogin.net
uci: Entry not found

uci: Entry not found
Normal env generate
Flush nat forwarding chain
loading administration management
uci: Entry not found
loading without https
fw unload_local_mgnt
loading parental_control
true
exit status value = [0x0]
dut is_cal==true.
uci: Entry not found
start_instance() main
phyport start .......
[LEO]uhttpd start
SETUP port (5) duplex: 1000 full autoneg: on!
[   53.760000] [ag71xx_hw_start:554]ag71xx_hw_start
[   53.760000] eth1: link up (1000Mbps/Full duplex)
[   53.780000] br-lan: port 1(eth1) entered forwarding state
[   53.780000] br-lan: port 1(eth1) entered forwarding state
[   53.790000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
http://192.168.0.1/webpages/init.html
192.168.0.1
loading qos
wifi check in.


So CPU is the same, RAM is the same. The bootloader is new. But I'm no developer, so not sure where to go from here.

I managed to build a firmware. Please report problems you encounter. Use at your own risk!

I compiled it with ath10k, so 5GHz Wifi should also work after installation.

download 18.06.4 version with ath10k for Archer C60 V3
patch file for 18.06 branch

Please give some feedback.

3 Likes

Hi guys,

Any feedback about the patch, I'll might try it tonight.

Hi. I really wish to install it. Is there a basic way of installing? Or I have to mess with the hardware. Thanks

Download the zip file, unzip it, install the -factory.bin file in the TP-Link webinterface like every other Archer C60. See wiki for instructions.

1 Like

I successfully installed yesterday night, it worked perfectly! Nice job. I then made the sysupgrade. I am just not sure how should I apply the patch. I have to follow this right ? (https://openwrt.org/docs/guide-developer/build-system/use-patches-with-buildsystem)

No, the patch is only for developers who want wo build OpenWrt by themselfes. If you just want to use the router thats it.

@JamesT42 I downloaded and installed this firmware & it is working fine. Thanks for building this for v3. Just wondering why the firmware version is 18.06.4 while the latest available is 18.06.5 ? Will you be building 18.06.5 as well ?

Also, do I still have to install the sysupgrade.bin after installing the factory.bin image ?

Thanks again for building this :+1::+1:

No the sysupgrade is for upgrading / downgrading OpenWrt afterwards. For example to 18.06.5 after I finish compiling.

Download 18.06.5 with ath10k for Archer C60 V3

New build with 18.06.5.

1 Like

@JamesT42 Would be great if you could prep a patch for ath79 (ar71xx won't be getting any updates anymore) and file that for inclusion.

I've checked your patch and it looks like a quick (but working) hack, hardware seems very similar though judging from how you added support. Shouldn't be too difficult then.

I'm no developer. I just copied everything I could find from the V2 version and found the change for the led by trial and error. I have no experience with the ath79 stuff. I was hoping someone else with experience could do that.

1 Like

Its working good. Can I proceed to normal update process to keep it up to date?

I do own a TPLINK-1350-C60-V3 router. Openwrt works fine except connecting more than 2 devices to the 5Ghz access point crashes it. The 2.4G and the Ethernet works well though. Also is there a way to revert back to the stock firmware? I tried TFTP and web recovery but i see no success. It would be helpful if you could educate me on how to revert back to the stock firmware.

I've quickly put together a patch prototype for ath79:

This missed the kernel magic hack and the LED adjustment, as the mach files in the patch mix v2 and v3. Please clearly state which LEDs are available and which gpio they use.

This is just based on the scarce information provided here so far. To get it merged, much more details about the device will be needed.

I have been given such a device and will try to build working support for it.

From the bootlog above, it looks like it's really a clone of the v2 ...

1 Like