Support for Tp link CPE210 v3.0

Hi everyone,

this thread gethers all information about the Version 3 of the TP-Link CPE210. There is already a thread on this forum, where information of v2 and v3 are mixed. CPE210v3 seems to be very identically to CPE210v2. Forum member @robimarko did a great job and created a branch in his github repository.

Other thread in forum:Thread with mixed information CPE210 v2/v3

Here are some Details i got out of my CPE210v3 device:

Output U-Boot:

U-Boot 1.1.4-g7613bad0-dirty (Jul 20 2017 - 17:08:57)

ap143-2.0 - Honey Bee 2.0

DRAM:  64 MB
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...
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion ---->S27 PHY*
S27 reg init
: cfg1 0x800c0000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
Honey Bee ---->  MAC 1 S27 PHY *
S27 reg init
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
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 0x50a1a100
is button pressed? 0
Autobooting in 1 seconds

Output of OEM-Boot:

## Booting image at 9f040000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting QCA953x<0>
Linux version 2.6.31 (root@ubuntu) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Thu Dec 28 19:47:02 CST 2017
flash_size passed from bootloader = 8
CPU revision is: 00019374 (MIPS 24Kc)
ath_sys_frequency: cpu apb ddr apb cpu 650 ddr 392 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
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: 61388k/65536k available (1832k kernel code, 4076k reserved, 473k data, 112k 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
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 120
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 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: 112k freed

init started:  BusyBox v1.01 (2017.12.28-11:47+0000) multi-call binary
This Board use 2.6.31
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 '
insmod: cannot insert `/lib/modules/2.6.31/kernel/iptable_raw.ko': Invalid module format (-1): Exec format error

Register vlan_manage hooks success.
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
WARN: TDB not supported!
WARN: TDB not supported!


 (none) mips #1 PREEMPT Thu Dec 28 19:47:02 CST 2017 (none)

(none) login: httpMudCreate: MUD 0x6613b0 was created
[info @ initModelParameters:205] init profile...



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 0x83a71800
athr_gmac_ring_alloc Allocated 2048 at 0x83a71000
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 0x83af4800
athr_gmac_ring_alloc Allocated 2048 at 0x83af4000
HONEYBEE ----> S27 PHY MDIO
ATHRS27: resetting s27
ATHRS27: s27 reset done
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Setting PHY...
br0: port 1(eth0) entering forwarding state

Disable VlanManage, data.enable(0), data.vid(0)
rmmod: br_dhcp_filter.ko: No such file or directory
[dhcpcKill:643]error: dhcpc status:3
command not supported
Generating key, this may take a while...
insmod: cannot insert `/lib/modules/2.6.31/kernel/nf_conntrack_proto_gre.ko': File exists (-1): File exists
httpServerCreate: try to add port 80

Output of cat /proc/mtd:

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 00010000 00010000 "pation-table"
mtd2: 00010000 00010000 "product-info"
mtd3: 00180000 00010000 "kernel"
mtd4: 00600000 00010000 "rootfs"
mtd5: 00030000 00010000 "config"
mtd6: 00010000 00010000 "ART"

Images CPE210v3:
IMG_4929
IMG_4928
IMG_4930

Serial port J3 starting at the small arrow (from left to right):

> TX | RX | GND | 3.3V

I will add more information soon.

Best regards.

/legacycode

I did the following to get OpenWrt working on CPE210v3:

  1. checked out the OpenWrt master repository
  2. merged branch CPE210-v3 from robimarko into local master
  3. build OpenWrt and flashed it via web interface

Openwrt starts with following output:

## Booting image at 9f040000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 4.9.124 (legacycode@debian) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7948-9030a78a71) ) #0 Wed Aug 29 11:29:15 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    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] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=CPE210V3 mtdparts=spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,1792k(kernel),5888k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware) console=ttyS0,115200 rootfstype=squashfs 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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 59640K/65536K available (3362K kernel code, 165K rwdata, 812K rodata, 324K init, 213K bss, 5896K 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] Clocks: CPU:650.000MHz, DDR:391.210MHz, AHB:216.666MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000011] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008275] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.593413] 0x000000030000-0x000000040000 : "product-info"
[    0.601700] 0x000000040000-0x000000200000 : "kernel"
[    0.609429] 0x000000200000-0x0000007c0000 : "rootfs"
[    0.616606] mtd: device 4 (rootfs) set to be root filesystem
[    0.622522] 1 squashfs-split partitions found on MTD device rootfs
[    0.628975] 0x0000003e0000-0x0000007c0000 : "rootfs_data"
[    0.071123] pid_max: default: 32768 minimum: 301
[    0.076116] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083098] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094019] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104461] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.111616] NET: Registered protocol family 16
[    0.118151] MIPS: machine is TP-LINK CPE210 v3
[    0.375925] clocksource: Switched to clocksource MIPS
[    0.382572] NET: Registered protocol family 2
[    0.388131] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.395501] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.402295] TCP: Hash tables configured (established 1024 bind 1024)
[    0.409143] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.415324] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.422336] NET: Registered protocol family 1
[    0.432702] Crashlog allocated RAM at address 0x3f00000
[    0.439823] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.453882] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.460092] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.482173] io scheduler noop registered
[    0.486393] io scheduler deadline registered (default)
[    0.492162] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.499406] console [ttyS0] disabled
[    0.523347] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.532458] console [ttyS0] enabled
[    0.532458] console [ttyS0] enabled
[    0.540012] bootconsole [early0] disabled
[    0.540012] bootconsole [early0] disabled
[    0.553139] m25p80 spi0.0: found gd25q64, expected m25p80
[    0.561221] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[    0.566109] 8 cmdlinepart partitions found on MTD device spi0.0
[    0.572214] Creating 8 MTD partitions on "spi0.0":
[    0.577195] 0x000000000000-0x000000020000 : "u-boot"
[    0.584868] 0x000000020000-0x000000030000 : "partition-table"
[    0.637381] 0x0000007c0000-0x0000007f0000 : "config"
[    0.645056] 0x0000007f0000-0x000000800000 : "ART"
[    0.652569] 0x000000040000-0x0000007c0000 : "firmware"
[    0.661772] libphy: Fixed MDIO Bus: probed
[    0.693346] libphy: ag71xx_mdio: probed
[    1.328895] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    1.339186] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.347318] NET: Registered protocol family 10
[    1.356508] NET: Registered protocol family 17
[    1.361282] 8021q: 802.1Q VLAN Support v1.8
[    1.372915] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.383060] Freeing unused kernel memory: 324K
[    1.387704] This architecture does not have kernel memory protection.
[    2.095088] init: Console is alive
[    2.099022] init: - watchdog -
[    2.475940] random: fast init done
[    3.023315] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.075331] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.093710] init: - preinit -
[    3.731793] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.859618] eth0: link up (100Mbps/Full duplex)
[    5.864353] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.066739] jffs2: notice: (376) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    7.084567] mount_root: switching to jffs2 overlay
[    7.121834] urandom-seed: Seeding with /etc/urandom.seed
[    7.296098] eth0: link down
[    7.313506] procd: - early -
[    7.317194] procd: - watchdog -
[    7.941486] procd: - watchdog -
[    7.945088] procd: - ubus -
[    7.986224] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.040217] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.047979] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.055537] procd: - init -
Please press Enter to activate this console.
[    8.375782] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.388023] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.407738] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[    8.416096] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[    8.427051] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.442711] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    8.517492] xt_time: kernel timezone is -0000
[    8.599295] PPP generic driver version 2.4.2
[    8.606944] NET: Registered protocol family 24
[    8.684533] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[    8.772732] kmodloader: done loading kernel modules from /etc/modules.d/*
[    9.809976] urandom_read: 5 callbacks suppressed
[    9.809986] random: jshn: uninitialized urandom read (4 bytes read)
[    9.834948] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.367304] br-lan: port 1(eth0) entered blocking state
[   17.372724] br-lan: port 1(eth0) entered disabled state
[   17.378683] device eth0 entered promiscuous mode
[   17.401828] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   19.459598] eth0: link up (100Mbps/Full duplex)
[   19.464366] br-lan: port 1(eth0) entered blocking state
[   19.469821] br-lan: port 1(eth0) entered forwarding state
[   19.496073] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  126.055982] random: crng init done

I can connect to the device with SSH at 192.168.1.1. More tests will follow...
/legacycode

Here are reposted info for CPE220 v3.0 that one of my relatives have:

CPE220 v3 stock firmware serial dump:
(U-Boot stuffs is gibberish, I'm using 115200 rate)

Linux version 2.6.31 (root@ubunt                                                                                                                     u) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Tue Jan 9 08:51:52 CST 2018
flash_size passed from bootloader = 8
CPU revision is: 00019374 (MIPS 24Kc)
ath_sys_frequency: cpu apb ddr apb cpu 650 ddr 392 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
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 root=31:04 rootfstype=squashfs init=/i                                                                                                                     nit mtdparts=ath-nor0:128k(u-boot),64k(pation-table),64k(product-info),1536k(ker                                                                                                                     nel),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: 61388k/65536k available (1832k kernel code, 4076k reserved, 473k data, 1                                                                                                                     12k 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
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 120
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 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: 112k freed
init started:  BusyBox v1.01 (2018.01.09-00:52+0000) multi-call binary
This Board use 2.6.31
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 3                                                                                                                     2BIT ' should be '2.6.31 preempt mod_unload MIPS32_R2 32BIT '
insmod: cannot insert `/lib/modules/2.6.31/kernel/iptable_raw.ko': Invalid modul                                                                                                                     e format (-1): Exec format error

Register vlan_manage hooks success.
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
WARN: TDB not supported!
WARN: TDB not supported!

 (none) mips #1 PREEMPT Tue Jan 9 08:51:52 CST 2018 (none)
(none) login: httpMudCreate: MUD 0x6613b0 was created
[info @ initModelParameters:205] init profile...

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 0x83a85800
athr_gmac_ring_alloc Allocated 2048 at 0x83a85000
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
athr_gmac_ring_alloc Allocated 2048 at 0x83a99800
athr_gmac_ring_alloc Allocated 2048 at 0x83a99000
HONEYBEE ----> S27 PHY MDIO
ATHRS27: resetting s27
ATHRS27: s27 reset done
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...

Disable VlanManage, data.enable(0), data.vid(0)
rmmod: br_dhcp_filter.ko: No such file or directory
[dhcpcKill:643]error: dhcpc status:3
command not supported

Board:
IMG_20180815_090526

Flash chip (GD 25Q64CSIG):
IMG_20180815_093645

SoC beneath the heatsink close-up (QCA9553-BL3A):
QCA9533-BL3A

I forked the OpenWrt github project and merged the source from @robimarko into my branch CPE210v3. You can download a compiled test image with enabled LUCI at my github fork.

@abdulaziz.amar: is this image running on your cpe210v3?

@robimarko: did you create a PR or is it ok, if i create one?

There already is a PR

Great work! Thanks!

I no longer have access to the device, sadly...

i have two CPE210 V3, one is running build that robimarko gave me... what you need?

Hi @legacycode
could you provide a more detailed instructions how to use @robimarko 's code? i git clone the openwrt code but no CPE210v3 option available. i do not know git that good :frowning:

Its not yet merged into OpenWrt.

You gotta clone my branch with this
git clone -b CPE210-v3-PR --single-branch https://github.com/robimarko/openwrt.git

And there you will have it

@robimarko Hi. Thank you very much. Great job.

when I compile this, it's success, but when I upload it, it's say "The uploaded file is incorrect." for sysupgrade.bin and "The hardware version is not supported." for factory.bin, why? and how to fix this?

and I use compiled image from your github, but it's said like that too... @legacycode @robimarko

Most likely the filename is too long, its usual for TP Link

Please Help me sir @robimarko and @legacycode

ok, I will try, thanks for the answer

@robimarko it's same, not work, I rename it to pharos1.bin, sama error,
:disappointed_relieved:

Can you connect serial and fetch the error it produces.
Only remaining thing is maybe a new compatible string that I did not add

yes I can, but I'm still confuse, why stdout is blank,
after I check again, my router is CPE220 v3, it's different for all above,

this the photo, sorry for bad photo
18%20(1)

I add a pin to the serial, and use this
> TX | RX | GND | 3.3V