Build for CPE210 v3.20

I recently bought an CPE210 to have a wifi signal in my (small) garden. I choose to buy a CPE210 because v1, v2 and v3 are supported by Openwrt. I noticed that version of my CPE210 was 3.2 and I assumed I needed the v3 firmware. When I tried to upgrade the firmware, I got an error message saying that the selected openwrt firmware doesn't match. The hardware specifications of the v3.20 seem almost similar to th especifications of the 3.0 hardware, except the power (9 dbi vs 12dbi) and the angle.

Does somebody have experience with the CPE210 v3.20, and can I use the CPE210 v3 builds in some way?

Some additional info

CPU info

system type		: QCA953x
processor		: 0
cpu model		: MIPS 24Kc V7.4
BogoMIPS		: 432.12
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 16
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0000, 0x0ff8, 0x0ff8, 0x0ff8]
ASEs implemented	: mips16
shadow register sets	: 1
core			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

Memory info

MemTotal:          61160 kB
MemFree:           20504 kB
Buffers:            3504 kB
Cached:            11300 kB
SwapCached:            0 kB
Active:            10720 kB
Inactive:          11792 kB
Active(anon):       7708 kB
Inactive(anon):        0 kB
Active(file):       3012 kB
Inactive(file):    11792 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          7732 kB
Mapped:             4236 kB
Slab:              13764 kB
SReclaimable:        588 kB
SUnreclaim:        13176 kB
PageTables:          260 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       30580 kB
Committed_AS:      15780 kB
VmallocTotal:    1048404 kB
VmallocUsed:        2816 kB
VmallocChunk:    1036708 kB

Character devices

  1 mem
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
 77 ATH_GPIOC
 90 mtd
108 ppp
128 ptm
136 pts
238 ar7100_gpio_chrdev
239 ar7240_flash_chrdev

Bootlog:

Linux version 2.6.31 (zys@ubuntu) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Thu Apr 23 19:36:36 CST 2020
flash_size passed from bootloader = 8
CPU revision is: 00019374 (MIPS 24Kc)
ath_sys_frequency: cpu apb ddr apb cpu 650 ddr 391 ahb 216
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat 802a7110, node_mem_map 81000000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 root=31:04 rootfstype=squashfs init=/init mtdparts=ath-nor0:128k(u-boot),64k(pation-table),64k(product-info),1536k(kernel),6144k(rootfs),192k(config),64k(ART) mem=64M
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 60968k/65536k available (2118k kernel code, 4496k reserved, 595k data, 120k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 432.12 BogoMIPS (lpj=864256)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switched to high resolution mode on CPU 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
net_link: create socket ok.
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
ATH GPIOC major 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NTFS driver 2.1.29 [Flags: R/O].
msgmni has been set to 119
alg: No test for lzma (lzma-generic)
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
PPP generic driver version 2.4.2
NET: Registered protocol family 24
7 cmdlinepart partitions found on MTD device ath-nor0
Creating 7 MTD partitions on "ath-nor0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000030000 : "pation-table"
0x000000030000-0x000000040000 : "product-info"
0x000000040000-0x0000001c0000 : "kernel"
0x0000001c0000-0x0000007c0000 : "rootfs"
0x0000007c0000-0x0000007f0000 : "config"
0x0000007f0000-0x000000800000 : "ART"
TCP cubic registered
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
athwdt_init: Registering WDT success
athwdt_timer_init: Starting WDT.
VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
Freeing unused kernel memory: 120k freed
xt_time: kernel timezone is -0000
nf_conntrack version 0.5.0 (1024 buckets, 30720 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
iptable_raw: version magic '2.6.31-gbb45668-dirty preempt mod_unload MIPS32_R2 32BIT ' should be '2.6.31 preempt mod_unload MIPS32_R2 32BIT '

Register vlan_manage hooks success.
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
qca95xx_GMAC: Length per segment 1536
953x_GMAC: qca953x_gmac_attach
Link Int Enabled 
qca953x_set_gmac_caps  CHECK DMA STATUS 
mac:0 Registering S27....
qca95xx_GMAC: RX TASKLET - Pkts per Intr:18
qca95xx_GMAC: Mac address for unit 0:bfff0000
qca95xx_GMAC: ff:ff:ff:ff:ff:ff 
qca95xx_GMAC: Max segments per packet :   1
qca95xx_GMAC: Max tx descriptor count :   128
qca95xx_GMAC: Max rx descriptor count :   128
qca95xx_GMAC: Mac capability flags    :   3581
953x_GMAC: qca953x_gmac_attach
Link Int Enabled 
qca953x_set_gmac_caps  CHECK DMA STATUS 
mac:1 Registering S27....
qca95xx_GMAC: RX TASKLET - Pkts per Intr:18
qca95xx_GMAC: Mac address for unit 1:bfff0006
qca95xx_GMAC: ff:ff:ff:ff:ff:ff 
qca95xx_GMAC: Max segments per packet :   1
qca95xx_GMAC: Max tx descriptor count :   128
qca95xx_GMAC: Max rx descriptor count :   128
qca95xx_GMAC: Mac capability flags    :   3D81
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
athr_gmac_ring_alloc Allocated 2048 at 0x83069000
athr_gmac_ring_alloc Allocated 2048 at 0x83bcd800
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Setting PHY...
953x_GMAC: Enet Unit:0 PHY:4 is UP eth0  MII  100Mbps  full duplex
953x_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
athr_gmac_ring_alloc Allocated 2048 at 0x8307e800
athr_gmac_ring_alloc Allocated 2048 at 0x8307e000
HONEYBEE ----> S27 PHY MDIO
ATHRS27: resetting s27
ATHRS27: s27 reset done
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Setting PHY...
ADDRCONF(NETDEV_UP): eth1: link is not ready
br0: port 1(eth0) entering forwarding state

Disable VlanManage, data.enable(0), data.vid(0)
Jumbo Frame disabled in Mac:1
Jumbo Frame sz val:5ee
athr_gmac_ring_free Freeing at 0x8307e800
athr_gmac_ring_free Freeing at 0x8307e000
athr_gmac_ring_alloc Allocated 2048 at 0x8307e000
athr_gmac_ring_alloc Allocated 2048 at 0x83131000
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Setting PHY...
Jumbo Frame disabled in Mac:0
Jumbo Frame sz val:5ee
athr_gmac_ring_free Freeing at 0x83069000
athr_gmac_ring_free Freeing at 0x83bcd800
athr_gmac_ring_alloc Allocated 2048 at 0x83bcd800
athr_gmac_ring_alloc Allocated 2048 at 0x830e8800
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Setting PHY...
eth0: no IPv6 routers present
br0: no IPv6 routers present
953x_GMAC: Enet Unit:0 PHY:4 is UP eth0  MII  100Mbps  full duplex
953x_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
athr_gmac_ring_free Freeing at 0x83bcd800
athr_gmac_ring_free Freeing at 0x830e8800
athr_gmac_ring_alloc Allocated 2048 at 0x830e8800
athr_gmac_ring_alloc Allocated 2048 at 0x83bcd800
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Setting PHY...
953x_GMAC: Enet Unit:0 PHY:4 is UP eth0  MII  100Mbps  full duplex
953x_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
DMA STATUS disabled in Mac:0
command not supported
adf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 0.9.17.1 (AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_spectral: Version 2.0.0
Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
SPECTRAL module built on Apr 23 2020 19:42:40
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_ahb: 9.5.2.18 (Atheros/multi-bss)
Enterprise mode: 0x03fc0000
Restoring Cal data from Flash
ar9300_convert_eeprom templateVersion = 82
ath_get_caps[6210] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[6185] tx chainmask mismatch actual 3 sc_chainmak 0
wifi0: Atheros ???: mem=0xb8100000, irq=2
ath_pci: 9.5.2.18 (Atheros/multi-bss)
dfs is NULL dfs_init_radar_filtersieee80211_wifipos_vattach: 3570: Wifipos intialization starting
ieee80211_wifipos_vattach: 3583: Wifipos intialization mem alloc complete
ieee80211_wifipos_vattach:3597 Netlink socket created for wifipos:83293e00

ieee80211_wifipos_vattach: 3613: Wifipos intialization sock alloc complete
ieee80211_wifipos_vattach:3616 Registered WIFIPOS netlink family
ieee80211_wifipos_vattach: 3667: Wifipos intialization time alloc complete
ieee80211_wifipos_vattach: 3686: Wifipos intialization data store 1 alloc complete
ieee80211_wifipos_vattach: 3696: Wifipos intialization data store 2 alloc complete
ieee80211_wifipos_vattach: 3710: Wifipos intialization complete
VAP device ath0 created 
ic->ic_set_special_chwidth(ic, 20)
dfs is NULL dfs_init_radar_filters
device ath0 entered promiscuous mode
br0: port 3(ath0) entering forwarding state
 Scan in progress.. Cancelling it 
br0: port 3(ath0) entering disabled state
br0: port 3(ath0) entering forwarding state
enet0 port4 down
953x_GMAC:unit 0: phy 4 not up carrier 1
br0: port 1(eth0) entering disabled state
enet0 port4 up 100Mbps Full duplex
953x_GMAC: Enet Unit:0 PHY:4 is UP eth0  MII  100Mbps  full duplex
953x_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
br0: port 1(eth0) entering forwarding state
enet0 port4 down
953x_GMAC:unit 0: phy 4 not up carrier 1
br0: port 1(eth0) entering disabled state
enet0 port4 up 100Mbps Full duplex
953x_GMAC: Enet Unit:0 PHY:4 is UP eth0  MII  100Mbps  full duplex
953x_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
br0: port 1(eth0) entering forwarding state
enet0 port4 down
953x_GMAC:unit 0: phy 4 not up carrier 1
br0: port 1(eth0) entering disabled state
enet0 port4 up 100Mbps Full duplex
953x_GMAC: Enet Unit:0 PHY:4 is UP eth0  MII  100Mbps  full duplex
953x_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
br0: port 1(eth0) entering forwarding state
enet0 port4 down
953x_GMAC:unit 0: phy 4 not up carrier 1
br0: port 1(eth0) entering disabled state
enet0 port4 up 100Mbps Full duplex
953x_GMAC: Enet Unit:0 PHY:4 is UP eth0  MII  100Mbps  full duplex
953x_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
br0: port 1(eth0) entering forwarding state
br0: port 3(ath0) entering disabled state
device ath0 left promiscuous mode
br0: port 3(ath0) entering disabled state
ieee80211_wifipos_vdetach:3740 Release the socket
ieee80211_wifipos_vdetach:3776 UnRegistered WIFI positioning netlink family
ieee80211_wifipos_vattach: 3570: Wifipos intialization starting
ieee80211_wifipos_vattach: 3583: Wifipos intialization mem alloc complete
ieee80211_wifipos_vattach:3597 Netlink socket created for wifipos:83293400

ieee80211_wifipos_vattach: 3613: Wifipos intialization sock alloc complete
ieee80211_wifipos_vattach:3616 Registered WIFIPOS netlink family
ieee80211_wifipos_vattach: 3667: Wifipos intialization time alloc complete
ieee80211_wifipos_vattach: 3686: Wifipos intialization data store 1 alloc complete
ieee80211_wifipos_vattach: 3696: Wifipos intialization data store 2 alloc complete
ieee80211_wifipos_vattach: 3710: Wifipos intialization complete
VAP device ath0 created 
ic->ic_set_special_chwidth(ic, 20)
dfs is NULL dfs_init_radar_filters
device ath0 entered promiscuous mode
br0: port 3(ath0) entering forwarding state
 Scan in progress.. Cancelling it 
br0: port 3(ath0) entering disabled state
br0: port 3(ath0) entering forwarding state
enet0 port4 down
953x_GMAC:unit 0: phy 4 not up carrier 1
br0: port 1(eth0) entering disabled state
enet0 port4 up 100Mbps Full duplex
953x_GMAC: Enet Unit:0 PHY:4 is UP eth0  MII  100Mbps  full duplex
953x_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl  
Setting Drop CRC Errors, Pause Frames and Length Error frames 
br0: port 1(eth0) entering forwarding state
radar_bbpanic: need reset
br0: port 3(ath0) entering disabled state
device ath0 left promiscuous mode
br0: port 3(ath0) entering disabled state
ieee80211_wifipos_vdetach:3740 Release the socket
ieee80211_wifipos_vdetach:3776 UnRegistered WIFI positioning netlink family
ieee80211_wifipos_vattach: 3570: Wifipos intialization starting
ieee80211_wifipos_vattach: 3583: Wifipos intialization mem alloc complete
ieee80211_wifipos_vattach:3597 Netlink socket created for wifipos:826a3200

ieee80211_wifipos_vattach: 3613: Wifipos intialization sock alloc complete
ieee80211_wifipos_vattach:3616 Registered WIFIPOS netlink family
ieee80211_wifipos_vattach: 3667: Wifipos intialization time alloc complete
ieee80211_wifipos_vattach: 3686: Wifipos intialization data store 1 alloc complete
ieee80211_wifipos_vattach: 3696: Wifipos intialization data store 2 alloc complete
ieee80211_wifipos_vattach: 3710: Wifipos intialization complete
VAP device ath0 created 
ic->ic_set_special_chwidth(ic, 20)
dfs is NULL dfs_init_radar_filters
device ath0 entered promiscuous mode
br0: port 3(ath0) entering forwarding state
 Scan in progress.. Cancelling it 
br0: port 3(ath0) entering disabled state
br0: port 3(ath0) entering forwarding state
ATH_RESET: call ath_internal_reset begin.
ATH_RESET: call ath_internal_reset end.

Can somebody help me?

It might be enough to add the new version string to the tplink_safeloader support list:

CPE210(TP-LINK|UN|N300-2|00000000):3.20

The TP-Link firmware images seem similar, so this might just be it. However, I don't guarantee anything, of course. If you confirm this to be working, it could be easily patched into OpenWrt.

Similar issue reported here (in German):

I am absolutely willing to test this, but where should I start? Do I have build my own firmware image, based on the adjusted tplink-safeloader?

Hi, I've built an image for testing:
https://www.adrianschmutzler.net/upload/cpe210v32.zip

This is essentially a recent snapshot just with the additional strings added. You supposedly should be able to just flash the factory in the zip file.

Note that there is no LuCI included in those images, just like with the regular snapshots from master; if flashing works, you can then directly sysupgrade into a stable 19.07 version (ath79!) of the same device with LuCI builtin if you prefer.

Also note that although I had a quick look at the images from TP-Link, you always have a risk of bricking your device during test, e.g. when TP-Link has changed something in partitioning/bootloader I didn't spot from the image. So, please don't come crying after :slight_smile:

1 Like

Thanx Adrian. And I won't come after you when my device is bricked.

I assume that the following debricking procedure is still valid:

How to use firmware recovery function of Pharos CPE: http://forum.tp-link.com/showthread.php?81684-How-to-use-firmware-recovery-function-of-Pharos-CPE

If you are experimenting with CPE210 and you flash a wrong firmware and the device doesn't boot, you can restore the original firmware.

  • Set PC to fixed ip address 192.168.0.100
  • Download original firmware from TP-Link and rename it to recovery.bin
  • Start a tftp server (like tftpd32 or similar) and put recovery.bin in the working directory of server
  • Turn off your CPE210
  • Set the server interface of tftpd32 on 192.168.0.100
  • Push (and hold) the reset button while giving the power to the CPE210
  • Afther some seconds Tftpd32.exe interface will send the recovery for flashing
  • Wait and then go to 192.168.0.254 to visit the stock interface (if you used the stock firmware)

I will try your firmware in the next days.

1 Like

I assume the TFTP procedure is still working, however I've made the experience that uboot in CPE210 only works for some devices. With v1, it really was a matter of chance whether you could use TFTP with your device or not. When I experimented with v2/v3 a long time ago, it worked for these devices.

Despite, as I said, I cannot tell too much about a device that I don't have. If you are unsure, you can always check whether TFTP works before flashing my firmware.

Apart from that, conceptually, there is always the chance that flashing might destroy your uboot partition, and then there won't be any uboot left to do TFTP with. However, it does not look like partitioning has changed, so that's quite unprobable in this case.

I know the risks. When I was using dd-wrt I bricked 2 of my precious devices :flushed:

I tried your image tonight and..... it seems to work!

Openwrt is booting, Ethernet and Wifi are working and dmesg shows no strange error messages:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.19.131 (adsc@buildfff) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0+13416-d2886dad97)) #0 Wed Jul 8 09:08:17 2020
[    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/0x4ac 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: 57452K/65536K available (4329K kernel code, 182K rwdata, 1032K rodata, 1232K init, 206K bss, 8084K 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.008273] Calibrating delay loop... 431.10 BogoMIPS (lpj=862208)
[    0.042757] pid_max: default: 32768 minimum: 301
[    0.047892] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.054889] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.068082] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.078442] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.085077] pinctrl core: initialized pinctrl subsystem
[    0.091948] NET: Registered protocol family 16
[    0.137715] clocksource: Switched to clocksource MIPS
[    0.144605] NET: Registered protocol family 2
[    0.150394] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.158623] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.166013] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.172744] TCP: Hash tables configured (established 1024 bind 1024)
[    0.179655] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.185911] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.193064] NET: Registered protocol family 1
[    0.197786] PCI: CLS 0 bytes, default 32
[    0.202027] Crashlog allocated RAM at address 0x3f00000
[    0.209631] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.224789] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.231017] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.259116] io scheduler noop registered
[    0.263356] io scheduler deadline registered (default)
[    0.271368] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.278789] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.286525] console [ttyS0] disabled
[    0.290421] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.299549] console [ttyS0] enabled
[    0.307124] bootconsole [early0] disabled
[    0.325152] m25p80 spi0.0: en25qh64 (8192 Kbytes)
[    0.330193] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.336774] Creating 6 MTD partitions on "spi0.0":
[    0.341768] 0x000000000000-0x000000020000 : "u-boot"
[    0.348019] 0x000000020000-0x000000030000 : "partition-table"
[    0.355062] 0x000000030000-0x000000040000 : "info"
[    0.361089] 0x000000040000-0x0000007c0000 : "firmware"
[    0.372519] 2 tplink-fw partitions found on MTD device firmware
[    0.378733] Creating 2 MTD partitions on "firmware":
[    0.383906] 0x000000000000-0x0000001bdf07 : "kernel"
[    0.390256] 0x0000001bdf07-0x000000780000 : "rootfs"
[    0.396359] mtd: device 5 (rootfs) set to be root filesystem
[    0.404351] 1 squashfs-split partitions found on MTD device rootfs
[    0.410863] 0x0000003e0000-0x000000780000 : "rootfs_data"
[    0.417519] 0x0000007c0000-0x0000007f0000 : "config"
[    0.423739] 0x0000007f0000-0x000000800000 : "art"
[    0.432273] libphy: Fixed MDIO Bus: probed
[    0.754198] libphy: ag71xx_mdio: probed
[    0.759815] libphy: ar8xxx-mdio: probed
[    0.774020] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.121709] random: fast init done
[    1.139859] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.150238] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.156784] i2c /dev entries driver
[    1.163363] NET: Registered protocol family 10
[    1.175429] Segment Routing with IPv6
[    1.179463] NET: Registered protocol family 17
[    1.184201] 8021q: 802.1Q VLAN Support v1.8
[    1.196922] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.214911] Freeing unused kernel memory: 1232K
[    1.219643] This architecture does not have kernel memory protection.
[    1.226309] Run /sbin/init as init process
[    1.984761] init: Console is alive
[    1.988752] init: - watchdog -
[    2.916028] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.983677] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.001927] init: - preinit -
[    4.095841] random: jshn: uninitialized urandom read (4 bytes read)
[    4.225293] random: jshn: uninitialized urandom read (4 bytes read)
[    4.325079] random: jshn: uninitialized urandom read (4 bytes read)
[    4.701200] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.752622] eth0: link up (100Mbps/Full duplex)
[    6.757409] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.982386] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    8.990025] jffs2_build_filesystem(): unlocking the mtd device... 
[    8.990031] done.
[    8.998456] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   21.143672] done.
[   21.153475] jffs2: notice: (498) 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.171117] mount_root: overlay filesystem has not been fully initialized yet
[   21.183064] mount_root: switching to jffs2 overlay
[   21.217190] overlayfs: upper fs does not support tmpfile.
[   21.554807] urandom-seed: Seed file not found (/etc/urandom.seed)
[   21.745968] eth0: link down
[   21.765688] procd: - early -
[   21.768941] procd: - watchdog -
[   22.415961] procd: - watchdog -
[   22.419719] procd: - ubus -
[   22.451531] urandom_read: 5 callbacks suppressed
[   22.451542] random: ubusd: uninitialized urandom read (4 bytes read)
[   22.473064] random: ubusd: uninitialized urandom read (4 bytes read)
[   22.481590] procd: - init -
[   23.381987] kmodloader: loading kernel modules from /etc/modules.d/*
[   23.553052] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056
[   23.560972] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb
[   23.655049] xt_time: kernel timezone is -0000
[   23.848094] PPP generic driver version 2.4.2
[   23.867230] NET: Registered protocol family 24
[   23.963480] urngd: v1.0.2 started.
[   24.020609] ath: EEPROM regdomain sanitized
[   24.020628] ath: EEPROM regdomain: 0x64
[   24.020631] ath: EEPROM indicates we should expect a direct regpair map
[   24.020660] ath: Country alpha2 being used: 00
[   24.020664] ath: Regpair used: 0x64
[   24.035282] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   24.038237] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12
[   24.142292] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.524330] random: crng init done
[   37.562783] br-lan: port 1(eth0) entered blocking state
[   37.568274] br-lan: port 1(eth0) entered disabled state
[   37.574145] device eth0 entered promiscuous mode
[   37.600136] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   39.616637] eth0: link up (100Mbps/Full duplex)
[   39.621663] br-lan: port 1(eth0) entered blocking state
[   39.627118] br-lan: port 1(eth0) entered forwarding state
[   39.635900] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

Now trying to luci up and running...

Do I have to provide additional info to be certain that this is working?

Thanks for testing, actually I just found it only today because I did not receive an e-mail.

You already did most of the relevant testing.

What would be interesting beyond that:

  • Do the buttons/LEDs work as well?
  • Are the MAC address for ethernet/WiFi set up correctly (i.e. do they correspond to the label)

Thanks for checking.

I will push the change to master and after some days and your positive response also backport to 19.07.

Ah, and would you provide a

Tested-by: Full Name <mailaddress>

that I can include into the patch notes?

Update: Does the label state which region your device belongs into? Typically EU or US? Otherwise, just tell me which country you are in, so I can add that to the notes about device test.

No problem, I will check this

As far as I know, there aren't any buttons (except the reset button), so that is an easy one.

Yes, it's fairly boring, just want to make sure that they didn't change any GPIOs.

(Sometimes they just change a single one between variants or revisions, e.g. between WBS210 and CPE210 where just one LED is different ...)

I checked the items you mentioned.

  • The MAC address corresponds with the label, so that is ok.
  • The LAN and power leds dow work ok.
  • The leds that show the signal strength light up when I connect a device to the access point, so I think that is ok too.
  • It is a EU device.

Thanks for testing.

Do you want to provide a Tested-by for the commit message?

Just post a Tested-by: Full Name <mailaddress> here, then I will merge the thing.

Merged it without explicit tested-by now, but added a link to this thread.

I will backport this to 19.07 as well after a few days.

hi will follow this thread . looking forward for the build with luci .

thank you so much

sir did you mean that this has no webinterface ? thank you so much for making a test build . looking forward for the official released

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.