Posted: Thu Aug 28, 2014 18:45 Post subject: TP-Link Archer C5 v1.20 Support
I just got the newly released TP-Link Archer C5 V1.20. It seems to have same hardware as its bigger brother Archer C7 V2. i.e:
- 16MB flash
- 128MB ram
- 5ghz card is QCA988x V2 which is supported by ath10k.
I am currently running OpenWRT on it which is working flawlessly. But just thought it should get attention of Mr. Brainslayer here and I guess adding support for DD-WRT would be very easy in the next release build.
dmesg:
Code:
[ 0.000000] Linux version 3.10.49 (openwrt@gb-14) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42297) ) #1 Tue Aug 26 11:48:32 UTC 2014
[ 0.000000] MyLoader: sysp=b594bd97, boardp=e3252107, parts=85c125ff
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9558 rev 0
[ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 80336b60, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=ARCHER-C5 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 126052k/131072k available (2375k kernel code, 5020k reserved, 623k data, 264k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.060000] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 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] MIPS: machine is TP-LINK Archer C5
[ 0.080000] ar724x-pci ar724x-pci.0: PCIe link is down
[ 0.080000] registering PCI controller with io_map_base unset
[ 0.090000] registering PCI controller with io_map_base unset
[ 0.500000] bio: create slab <bio-0> at 0
[ 0.500000] PCI host bridge to bus 0000:00
[ 0.510000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[ 0.510000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.520000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.520000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.520000] PCI host bridge to bus 0000:01
[ 0.530000] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[ 0.530000] pci_bus 0000:01: root bus resource [io 0x0001]
[ 0.540000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.540000] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
[ 0.540000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x001fffff 64bit]
[ 0.540000] pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[ 0.540000] pci 0000:01:00.0: supports D1 D2
[ 0.540000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.540000] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[ 0.550000] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[ 0.550000] pci 0000:01:00.0: using irq 41 for pin 1
[ 0.560000] Switching to clocksource MIPS
[ 0.560000] NET: Registered protocol family 2
[ 0.570000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.570000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.580000] TCP: reno registered
[ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.600000] NET: Registered protocol family 1
[ 0.600000] PCI: CLS 0 bytes, default 32
[ 0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.630000] msgmni has been set to 246
[ 0.630000] io scheduler noop registered
[ 0.640000] io scheduler deadline registered (default)
[ 0.640000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.670000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.680000] console [ttyS0] enabled, bootconsole disabled
[ 0.690000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.700000] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.700000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.710000] 5 tp-link partitions found on MTD device spi0.0
[ 0.720000] Creating 5 MTD partitions on "spi0.0":
[ 0.720000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.730000] 0x000000020000-0x00000012eff8 : "kernel"
[ 0.730000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.750000] 0x00000012eff8-0x000000ff0000 : "rootfs"
[ 0.750000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.760000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.770000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.780000] 0x000000300000-0x000000ff0000 : "rootfs_data"
[ 0.780000] 0x000000ff0000-0x000001000000 : "art"
[ 0.790000] 0x000000020000-0x000000ff0000 : "firmware"
[ 0.830000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[ 2.070000] libphy: ag71xx_mdio: probed
[ 2.620000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 2.640000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 3.190000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[ 3.200000] TCP: cubic registered
[ 3.200000] NET: Registered protocol family 17
[ 3.210000] Bridge firewalling registered
[ 3.210000] 8021q: 802.1Q VLAN Support v1.8
[ 3.230000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 3.230000] Freeing unused kernel memory: 264K (8034e000 - 80390000)
[ 5.430000] usbcore: registered new interface driver usbfs
[ 5.440000] usbcore: registered new interface driver hub
[ 5.440000] usbcore: registered new device driver usb
[ 5.450000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.460000] ehci-platform: EHCI generic platform driver
[ 5.460000] ehci-platform ehci-platform.0: EHCI Host Controller
[ 5.470000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[ 5.480000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[ 5.490000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[ 5.510000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[ 5.510000] hub 1-0:1.0: USB hub found
[ 5.520000] hub 1-0:1.0: 1 port detected
[ 5.520000] ehci-platform ehci-platform.1: EHCI Host Controller
[ 5.530000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[ 5.540000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[ 5.540000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[ 5.570000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[ 5.570000] hub 2-0:1.0: USB hub found
[ 5.580000] hub 2-0:1.0: 1 port detected
[ 5.580000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.880000] eth1: link up (1000Mbps/Full duplex)
[ 5.930000] usb 2-1: new high-speed USB device number 2 using ehci-platform
[ 9.290000] jffs2: notice: (367) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 33 of xref (0 dead, 21 orphan) found.
[ 10.390000] SCSI subsystem initialized
[ 10.400000] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 10.400000] scsi0 : usb-storage 2-1:1.0
[ 10.410000] usbcore: registered new interface driver usb-storage
[ 10.820000] eth1: link down
[ 11.410000] scsi 0:0:0:0: Direct-Access WD Elements 1042 1019 PQ: 0 ANSI: 6
[ 11.420000] sd 0:0:0:0: [sda] 1953519616 512-byte logical blocks: (1.00 TB/931 GiB)
[ 11.430000] sd 0:0:0:0: [sda] Write Protect is off
[ 11.430000] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[ 11.430000] sd 0:0:0:0: [sda] No Caching mode page found
[ 11.440000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.450000] sd 0:0:0:0: [sda] No Caching mode page found
[ 11.450000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.780000] sda: sda1 sda2 sda3
[ 11.790000] sd 0:0:0:0: [sda] No Caching mode page found
[ 11.790000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.800000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 13.880000] NET: Registered protocol family 10
[ 13.900000] tun: Universal TUN/TAP device driver, 1.6
[ 13.900000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 13.920000] gre: GRE over IPv4 demultiplexor driver
[ 13.920000] ip_gre: GRE over IPv4 tunneling driver
[ 13.940000] nf_conntrack version 0.5.0 (1973 buckets, 7892 max)
[ 13.960000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.980000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 13.990000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 14.030000] cfg80211: Calling CRDA to update world regulatory domain
[ 14.030000] cfg80211: World regulatory domain updated:
[ 14.040000] cfg80211: DFS Master region: unset
[ 14.040000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 14.050000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.060000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.070000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.080000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.080000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 14.090000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 14.100000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.110000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 14.140000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[ 14.150000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 14.460000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
[ 15.430000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
[ 15.010000] ath10k: otp stream is empty, using board.bin contents
[ 16.150000] ath10k: qca988x hw2.0 (0x4100016c, 0x043202ff) fw 10.1.467.2-1 api 2 htt 2.1
[ 16.670000] ath: EEPROM regdomain: 0x0
[ 16.670000] ath: EEPROM indicates default country code should be used
[ 16.670000] ath: doing EEPROM country->regdmn map search
[ 16.670000] ath: country maps to regdmn code: 0x3a
[ 16.670000] ath: Country alpha2 being used: US
[ 16.670000] ath: Regpair used: 0x3a
[ 16.680000] cfg80211: Calling CRDA for country: US
[ 16.690000] cfg80211: Regulatory domain changed to country: US
[ 16.690000] cfg80211: DFS Master region: FCC
[ 16.700000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 16.710000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 16.710000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 16.720000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 16.730000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 16.740000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 16.780000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 16.840000] usbcore: registered new interface driver usbserial
[ 16.850000] usbcore: registered new interface driver usbserial_generic
[ 16.850000] usbserial: USB Serial support registered for generic
[ 16.900000] xt_time: kernel timezone is -0000
[ 16.910000] PPP generic driver version 2.4.2
[ 16.920000] PPP MPPE Compression module registered
[ 16.920000] NET: Registered protocol family 24
[ 16.930000] PPTP driver version 0.8.5
[ 16.950000] ath: EEPROM regdomain: 0x0
[ 16.950000] ath: EEPROM indicates default country code should be used
[ 16.950000] ath: doing EEPROM country->regdmn map search
[ 16.950000] ath: country maps to regdmn code: 0x3a
[ 16.950000] ath: Country alpha2 being used: US
[ 16.950000] ath: Regpair used: 0x3a
[ 16.960000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 16.970000] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[ 16.980000] usbcore: registered new interface driver option
[ 16.990000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 23.400000] eth1: link up (1000Mbps/Full duplex)
[ 23.400000] device eth1 entered promiscuous mode
[ 23.420000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 23.450000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 24.400000] br-lan: port 1(eth1) entered forwarding state
[ 24.400000] br-lan: port 1(eth1) entered forwarding state
[ 24.420000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 24.960000] eth0: link up (1000Mbps/Full duplex)
[ 25.000000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 26.400000] br-lan: port 1(eth1) entered forwarding state
[ 26.830000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 26.840000] device wlan1 entered promiscuous mode
[ 27.320000] ath10k: otp stream is empty, using board.bin contents
[ 29.360000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 29.420000] device wlan0 entered promiscuous mode
[ 30.170000] br-lan: port 2(wlan1) entered forwarding state
[ 30.170000] br-lan: port 2(wlan1) entered forwarding state
[ 30.180000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 30.210000] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
[ 32.040000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[ 32.170000] br-lan: port 2(wlan1) entered forwarding state
[ 33.600000] br-lan: port 3(wlan0) entered forwarding state
[ 33.600000] br-lan: port 3(wlan0) entered forwarding state
[ 33.610000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 35.600000] br-lan: port 3(wlan0) entered forwarding state
As always - a donated router is required.
Opening tickets or pasting openwrt boot logs is not sufficient for getting a device supported. _________________ Kernel panic: Aiee, killing interrupt handler!
Yeah I know that. However,this is potentially a special case of identical hardware with minor differences (if any). Perhapsn Archer c7 firmware file can be flashed. Just like WDR4300 / WDR3600 / WDR3500 share nearly identical firmware profiles. So let's hear what brainslayer has to say on this. I'm willing to provide any diagonistic help needed.
Posted: Wed Feb 25, 2015 6:29 Post subject: DD-WRT on Archer C5 AC1200 TP-LINK
Hello, I have trouble with installing DD-WRT on C5 Archer. I've tried with different version of factory-to-ddwrt firmware (from december till february 2015) but everytime still the same result. After sending via TFTP to router the router remains powered on with LED Power. The only solution to make it alive again is to recovery with factory firmware.
Is there any different ways to install DD-WRT on this router?
am considering slapping on the latest r26866/tplink_archer-c5-v1/ firmware on my c5 as my c7 has been rock solid. Any bad experiences in regard?
Update: The latest version is rock solid like the c7 - only using this an AP w/ NAS but wireless is fine provided you tweak it a bit. My recommendation would be to go for it if you've been thinking about it. nevermind the front LEDs which for now are not fully functional as they ought to be. _________________ x1 Archer C5->C7, C7 v2 DDWRT_r31899
x1 TL-WA730RE v1 Stock
x2 TL-WR1043ND v1.7 Gargoyle v1.6.X
x1 TL-WR1043ND v1.10 DDWRT_r29721
x1 WRT54GL v1.1 DDWRT r14929
x1 WHR-HP-G54 Tomato 1.28
Did anyone try the r26947 version? Is it stable enough for use? (If not, which one is recommended?)
Also the folder ( http://dd-wrt.com/site/support/other-downloads / Path: Downloads / betas / 2015 / 05-19-2015-r26947 / tplink_archer-c5-v1 ) contains 2 files:
factory-to-ddwrt.bin
tplink_archer-c5-v1.bin
How do I upgrade from factory firmware and how do I revert it back?
(Should I upgrade to factory-to-ddwrt.bin and then to tplink_archer-c5-v1.bin or is the factory-to-ddwrt.bin enough? And how do I revert back if it has something I don't like / want?)
(I found a lot of contradicting / insufficient information online, and I hope you'll know which is the correct way.)
Thank's for any help