Support for Tp link CPE210 v2.0

Hi Lede team,

Ibought a New tp linkCPE 210 v2.0, do you have any plan to support v2.0, How can I help?

Thanks a lot

1 Like

I post some pics.

Nice. I have the same problem. I need support to the CPE210 V2.

the firmware header is changed in v2

What can we do ? Any solution ?

you can post a bounty on bountysource, if it gets enough attention someone will make it work.

To start, you could gather up information about the device (@Doroteo already supplied some pictures) and post them to the forum (CPU, Chips, Mem, etc.)

There is nothing about v2 on Wikidevi (https://wikidevi.com/wiki/TP-LINK_CPE210) unfortunately.

Please add new devices to the ToH ONLY if they are supported.

Thanks for the heads up, I've missed the Criteria for adding devices to the ToH.

I canceled the publish information about CPE210, but..

Can you help to point to me in the right way to LEDE support the version 2.0?

How can I help?

any tutorial for build new headers?

Thanks

Hi. I would also love to see CPE210v2 support in LEDE. Could you tell me which information is needed? The mtd-partition layout seems to be equal to the CPE210v1:

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"

I also created backup files of all mtd-partitions in the stock firmware, which I can upload if needed.

This is the output during boot read via serial port: https://pastebin.com/Kw4q9mRX

Is there any other information I can provide to help supporting the CPE210v2?

Unfortunately I am not experienced in adding LEDE support to other devices. I tried to add a device definition to [lededir]/target/linux/ar71xx/image/tp-link.mk:

define Device/cpe210-220-v2
  $(Device/cpe510-520-v1)
  DEVICE_TITLE := TP-LINK CPE210/220 v2
  BOARDNAME := CPE210
  TPLINK_BOARD_ID := CPE210
endef 

I just copied it from the definition for v1, because the partition layout seems equal. I think, BOARDNAME and TPLINK_BOARD_ID are important for the stock firmware updater to accept the new image. Can someone tell me where to get this information from? What other code changes are necessary to support the CPE210v2?

//edit: Another image from the CPE210v2 PCB:

Hi, also got a brand new V2 (not by intention, but thats what amazon sent out)..
Target was Freifunk (gluon) which is based on LEDE; anyway surely theres no image :frowning:

Have some basic experience in serial,, building etc.; is there anything I could do/try?
Or a little "step-by-step" guide how to add the new platform?
The HW seems pretty similar to V1 anyway, so it shouldn't be to hard I guess(c)
As I really like the CPE210 and it got pretty cheap about 32€ now, I'd rather spend some hours than send it back..

greets, Michael

Adding support for Freifunk is also one of my intentions with the CPE210. I also got version 2 by accident, because I didn't do any research about newer versions of the CPE210. According to the TP-Link website there is also a CPE210v3, which I have never seen. Maybe this will be the non-EU version?

I never tried to add LEDE support to a new device, but the commit for supporting CPE210v1 looks quite logical. Anyway I would be glad if someone experienced could provide us with some tips. One thing that could cause trouble is TP-Links SafeLoader.

//edit: This is the actual partition table read from /dev/mtd1:

partition fs-uboot base 0x00000 size 0x20000
partition partition-table base 0x20000 size 0x02000
partition default-mac base 0x30000 size 0x00020
partition product-info base 0x31100 size 0x00100
partition device-info base 0x31400 size 0x00400
partition signature base 0x32000 size 0x00400
partition device-id base 0x33000 size 0x00100
partition os-image base 0x40000 size 0x170000
partition soft-version base 0x1b0000 size 0x00100
partition support-list base 0x1b1000 size 0x01000
partition file-system base 0x1c0000 size 0x600000
partition user-config base 0x7c0000 size 0x10000
partition default-config base 0x7d0000 size 0x10000
partition log base 0x7e0000 size 0x10000
partition radio base 0x7f0000 size 0x10000

Hi Guys,

Is any progress or guiadance to do the firmware?

Regards

If there is someone to send/donate/contribute a sample to get it into LEDE/Gluon please let me know.

Michael

Hi Michael,

No problem, what is you need? or how I can contribute?

Regards

Actually.. I don't have this router... But if you have 2 devices, please give me one :joy:

http://www.kuchikamizake.net

Anybody made any progress?

I still be waiting the device.

v1 is based on the AR9344, v2 on the QCA953x (x=1?). Maybe more similar to the WR810N or EAP110?