Support for Tp link CPE210 v3.0

Hi,

as i don't have the v2 i was doing the same with v3.

I flashed this image:
https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-tplink_cpe210-v3-squashfs-sysupgrade.bin

root@OpenWrt:~# iw wlan0 scan | head
BSS b2:28:6d:57:dd:fb(on wlan0)
	TSF: 550730120 usec (0d, 00:09:10)
	freq: 2412
	beacon interval: 100 TUs
	capability: ESS (0x1421)
	signal: -81.00 dBm
	last seen: 740 ms ago
	Information elements from Probe Response frame:
	SSID: Vodafone Homespot
	HT capabilities:

Even the AP mode is working and i'm able to connect with my mobile

root@OpenWrt:~# iwinfo 
wlan0     ESSID: "OpenWrt"
          Access Point: 0C:80:63:3A:29:94
          Mode: Master  Channel: 11 (2.462 GHz)
          Tx-Power: 18 dBm  Link Quality: 70/70
          Signal: -33 dBm  Noise: -95 dBm
          Bit Rate: 52.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

Would it make sense that you flash once the factory image using the tftp recovery method ?

dmesg:
[    0.000000] Linux version 4.19.57 (builder@buildhost) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10551-d616b2c906)) #0 Wed Jul 17 22:06:55 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-LINK CPE210 v3
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x98/0x4b0 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 57252K/65536K available (4500K kernel code, 180K rwdata, 1052K rodata, 1236K init, 214K bss, 8284K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 650.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008284] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074872] pid_max: default: 32768 minimum: 301
[    0.080033] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087012] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100160] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110622] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.117258] pinctrl core: initialized pinctrl subsystem
[    0.126254] NET: Registered protocol family 16
[    0.169367] clocksource: Switched to clocksource MIPS
[    0.176268] NET: Registered protocol family 2
[    0.182075] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.190311] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.197672] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.204414] TCP: Hash tables configured (established 1024 bind 1024)
[    0.211334] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.217515] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.224683] NET: Registered protocol family 1
[    0.229318] PCI: CLS 0 bytes, default 32
[    0.233545] Crashlog allocated RAM at address 0x3f00000
[    0.241188] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.256220] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.262454] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.292107] io scheduler noop registered
[    0.296254] io scheduler deadline registered (default)
[    0.304932] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.312361] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.322100] console [ttyS0] disabled
[    0.325912] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.335104] console [ttyS0] enabled
[    0.342673] bootconsole [early0] disabled
[    0.373436] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.378460] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.385063] Creating 6 MTD partitions on "spi0.0":
[    0.390044] 0x000000000000-0x000000020000 : "u-boot"
[    0.396311] 0x000000020000-0x000000030000 : "partition-table"
[    0.403313] 0x000000030000-0x000000040000 : "info"
[    0.409232] 0x000000040000-0x0000007c0000 : "firmware"
[    0.420016] 2 tplink-fw partitions found on MTD device firmware
[    0.426145] Creating 2 MTD partitions on "firmware":
[    0.431363] 0x000000000000-0x0000001cd199 : "kernel"
[    0.437574] 0x0000001cd199-0x000000780000 : "rootfs"
[    0.443727] mtd: device 5 (rootfs) set to be root filesystem
[    0.451787] 1 squashfs-split partitions found on MTD device rootfs
[    0.458208] 0x0000003c0000-0x000000780000 : "rootfs_data"
[    0.464930] 0x0000007c0000-0x0000007f0000 : "config"
[    0.471160] 0x0000007f0000-0x000000800000 : "art"
[    0.478421] libphy: Fixed MDIO Bus: probed
[    0.819839] libphy: ag71xx_mdio: probed
[    0.825362] libphy: ar8xxx-mdio: probed
[    0.839023] switch0: Atheros AR8229 rev. 1 switch registered on mdio-bus.0
[    1.231705] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.242402] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.252113] NET: Registered protocol family 10
[    1.264655] Segment Routing with IPv6
[    1.268575] NET: Registered protocol family 17
[    1.273378] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.286791] 8021q: 802.1Q VLAN Support v1.8
[    1.293428] hctosys: unable to open rtc device (rtc0)
[    1.308089] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.326057] Freeing unused kernel memory: 1236K
[    1.330784] This architecture does not have kernel memory protection.
[    1.337436] Run /sbin/init as init process
[    2.260228] init: Console is alive
[    2.264064] init: - watchdog -
[    2.439385] random: fast init done
[    3.527191] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.703948] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.722165] init: - preinit -
[    4.940096] random: jshn: uninitialized urandom read (4 bytes read)
[    5.107213] random: jshn: uninitialized urandom read (4 bytes read)
[    5.208504] random: jshn: uninitialized urandom read (4 bytes read)
[    5.672059] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.782296] eth0: link up (100Mbps/Full duplex)
[    7.807906] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.995706] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.003224] jffs2_build_filesystem(): unlocking the mtd device... 
[    9.003264] done.
[    9.011648] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   21.704970] done.
[   21.714780] jffs2: notice: (500) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   21.732601] mount_root: overlay filesystem has not been fully initialized yet
[   21.748542] mount_root: switching to jffs2 overlay
[   21.782774] overlayfs: upper fs does not support tmpfile.
[   22.126287] urandom-seed: Seed file not found (/etc/urandom.seed)
[   22.307447] eth0: link down
[   22.326550] procd: - early -
[   22.329815] procd: - watchdog -
[   22.996731] procd: - watchdog -
[   23.000439] procd: - ubus -
[   23.032773] urandom_read: 5 callbacks suppressed
[   23.032784] random: ubusd: uninitialized urandom read (4 bytes read)
[   23.054689] random: ubusd: uninitialized urandom read (4 bytes read)
[   23.063346] procd: - init -
[   23.830983] kmodloader: loading kernel modules from /etc/modules.d/*
[   23.875543] Loading modules backported from Linux version v4.19.32-0-g3a2156c839c7
[   23.883465] Backport generated by backports.git v4.19.32-1-0-g1c4f7569
[   23.964195] xt_time: kernel timezone is -0000
[   24.035624] urngd: v1.0.0 started.
[   24.145293] PPP generic driver version 2.4.2
[   24.160786] NET: Registered protocol family 24
[   24.316280] ath: EEPROM regdomain: 0x0
[   24.316293] ath: EEPROM indicates default country code should be used
[   24.316296] ath: doing EEPROM country->regdmn map search
[   24.316315] ath: country maps to regdmn code: 0x3a
[   24.316321] ath: Country alpha2 being used: US
[   24.316325] ath: Regpair used: 0x3a
[   24.331681] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   24.334137] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12
[   24.419969] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.491154] random: crng init done
[   34.946095] br-lan: port 1(eth0) entered blocking state
[   34.951630] br-lan: port 1(eth0) entered disabled state
[   34.957456] device eth0 entered promiscuous mode
[   34.985404] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   37.062405] eth0: link up (100Mbps/Full duplex)
[   37.067180] br-lan: port 1(eth0) entered blocking state
[   37.072653] br-lan: port 1(eth0) entered forwarding state
[   37.179535] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   38.699597] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   38.711149] br-lan: port 2(wlan0) entered blocking state
[   38.716806] br-lan: port 2(wlan0) entered disabled state
[   38.722842] device wlan0 entered promiscuous mode
[   38.748145] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   38.755211] br-lan: port 2(wlan0) entered blocking state
[   38.760795] br-lan: port 2(wlan0) entered forwarding state

BR,

blueline

Please use "Preformatted text </>" for logs, scripts, configs and general console output.
grafik

Please edit your posting accordingly.
Thanks!

Well, on V2 there is a litte bit more of "unknown":

root@xxx:~# iwinfo w2ap info
w2ap      ESSID: "xxx"
          Access Point: 72:4F:57:xxx
          Mode: Master  Channel: 13 (2.472 GHz)
          Tx-Power: 10 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -93 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

root@xxx:~# iw w2ap info
Interface w2ap
        ifindex 11
        wdev 0x4
        addr 72:4f:xxx
        ssid xxx
        type AP
        wiphy 0
        channel 13 (2472 MHz), width: 20 MHz, center1: 2472 MHz
        txpower 10.00 dBm
        multicast TXQ:
                qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytestx-packets
                0       0       0       0       0       0       0       0      0

w2ap      Link encap:Ethernet  HWaddr 72:4F:xxx
          inet6 addr: fe80::xxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:3688 (3.6 KiB)

I've also checked "iw phy phy0 info" at the CPE210v2.0 and compared to a CPE210v1.1 with openwrt-18.06.
It gives the exact same result, despite v2 having the additional lines:

        Supported extended features:
                * [ RRM ]: RRM
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs

Hi there,

I have a cpe210 v3 and also fail to have wifi working.
I am happy to run tests on it, if it can help.
I have flashed the snapshot factory image, I have flashed the snapshot sysupgrade image. I have recompiled the whole thing locally with luci as well and flashed both factory and sysupgrade.
No wifi in either case (it works well with pharos, so not a HW issue).

No idea how to fix this myself, but happy to help by testing something.

Thanks

JP

Ok. My cpe210 v3 work with snapshot from ar71xx/generic branch. Without LUCI, packages are apparently outdated. Sorry my English bad.

Please, anyone. Help me.
I need dump for cpe210-v3. I erased 25Q64CSIG(because didn't know that is a bad idea).

Dear NeoPhyTe-x360,

can you repost your files?

Because links are not more accessible. Thanks.

Francesco

Hi. Tnx for this images. This work is awesome! Sucefully load the v3 images.

1 Like

The Wi-Fi issue should now be resolved

Still not fixed? I have version 2.

Wait until the new binary is built and download it tomorrow

Ah ok ok :+1::+1::+1:

Download the latest version for the cpe210 v3.0 here

OpenWrt 19.07-rc1(ar71xx) work fine for me. Ath79 target(19.07-rc1 or snapshots) wifi is on, clients cannot see it.

Did you download it from the link in my post above?
If so you still need to edit /etc/config/wireless and enable it then reboot
The default is to have it disabled on the ath79 branch

1 Like

Ok. Thanks you! I might try your method.

A post was split to a new topic: Tp link CPE210 v3.0 max TX power

This topic was intended for adding support for this specific device.
Since official 19.07.x images are available now, this topic will be closed now.

Why?

Because specific problems for this device with official releases are better handled in separate topics, in order to make finding relevant information easier. Who is going to read the previous 60-something postings, if he has a specific problem with 19.07.3 and wifi?

Therefore: Please open new topics for any open issues with this device.

Thanks!