OpenWrt Forum Archive

Topic: Support for TP-Link TL-WR810N?

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm currently looking for a small travel router with a build-in power supply. The TP-Link TL-WR810N would be a nice device:

http://www.tp-link.com/en/products/deta … R810N.html

Any chance of getting OpenWrt to run on this device? It basically looks like a "WR710 + mimo support" to me...

Looks like the specs for this device are as follows:

CPU: 560 MHz Qualcomm Atheros QCA9531-BL3A
RAM: 64 MB Zentel A3R12E40CBF-8E
Flash: 8 MB

(Last edited by TOMillr on 3 Apr 2016, 18:52)

Look here:
https://wiki.openwrt.org/toh/views/toh_ … ll?dataflt[Device+Type*~]=travel

Do you mean battery as opposed to power supply?  I found the ones which plug in the wall to be very restrictive, but to each his own.  I think a usb cable into a battery or PC is generally more accessible.

Sorry, my description of a "small travel router" might have been somewhat misleading.

I'm  looking for a small router I can just plug right into a wall socket. That's why I was looking into the TP-Link WR710 and 810.

Since the 710 is already supported and uses similar hardware as the TP-Link WR841NDv9, I was hoping that there is an OpenWRT build for the 810 as well.

https://fccid.io/pdf.php?id=2892948

The question is: how similar? If it's just a few bits they flipped in the header, support can be added quite easily.

I e.g. added support for the TL-WR841N v11 into OpenWrt based on people reporting it was almost identical to the v10 revision except for the flash chip. But you need people to test (and willing to potentially hose their installation tongue ).

Edit: it's 2 LAN ports etc. so it will involve more configuration than just what I did for the 841N v10 -> v11.

(Last edited by Borromini on 4 Apr 2016, 22:04)

I own this device, took it apart over the last few days and documented my findings on the wiki page. If that's enough for some experienced developer to come up with an image, I could test if it works.

Otherwise I'd try to add support on my own, but I have some questions first:

  • My current idea is to take a look at what was needed to support the TL-WR841ND v9/v10/v11 (because that's the most similar supported device I could find) and at the TL-WR710N and come up with a new platform based on these findings. Does this sound like a promising approach?

  • Where should the changes be based on? On git.openwrt.org/openwrt.git or on git.openwrt.org/15.05/openwrt.git? The use of git by the OpenWrt project seems to be... rather unorthodox. Or is SVN still to tool to use? (All the commits in git still show a git-svn-id.)

  • Is it possible to boot a kernel from RAM without flashing on AR93xx/QCA953x based devices? All the instructions I can find tell to flash an image first (tftpboot, erase, cp, boot). If I try to boot the kernel I dumped out of the flash chip directly from RAM, it fails:

> tftp 0x80060000 kernel.bin
...
> bootm 0x80060000
## Booting image at 80060000 ...
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover

I think that is a sound approach (but I am no embedded developer, so...). Changes should be based on trunk either way, you can also send a patch for 15.05 upstream but trunk is what you need to aim for. Only after that's been accepted it makes sense to also send one in for the stable branch.

Git is recommended (also use git send-email to send your patches to the mailing list).

The wiki has instructions on how to boot a ramdisk image. should work on ar71xx as well it seems. However the instructions talk about the WNDR3700 so I don't know how to proceed further.

When googling I see some links pointing to an image like this though, to boot from RAM:

https://downloads.openwrt.org/chaos_cal … e-lzma.bin

Maybe that helps?

(Last edited by Borromini on 4 Apr 2016, 21:56)

TOMillr wrote:

CPU: 560 MHz Qualcomm Atheros QCA9531-BL3A

Search for devices with the same SoC:

https://wiki.openwrt.org/toh/views/toh_dev_platforms?dataflt[Platform*~]=9531

-> WPJ531 listed as supported by 15.05

Wouldn't that be a good starting point?

tmo26 wrote:

-> WPJ531 listed as supported by 15.05

Wouldn't that be a good starting point?

Thanks, looking at the WPJ531 was of great help.

The changes I made can be found here. Wifi and USB work, and I think I've figured out all the GPIOs that are used on this board. What's not yet working are the wired ethernet ports, the interfaces show up with the correct MAC addresses, I get "ethX: link up/down" messages when I plug in/unplug the ethernet cable, but no traffic goes through. I suspect the values for ath79_eth[01]_data.phy_mask in tl_wr810n_setup() are wrong, does anyone know how to figure out the correct values?

Hi guys,
i spotted that dd trunk for wr810n is ready.
During my search i have noticed that there are two revisions of hardware for this device: v1.1 and v2.
Can anyone tell me what are the differences between those two?
Thank you in advance.

leocratus wrote:

i spotted that dd trunk for wr810n is ready.

Yes, the patch got merged a few days ago. I just added the links to the firmware images to the techdata page, and it seems that this broke the autogenerated table on the device page (duplicate/wrong rows). Does anyone here know how this "magic" wiki stuff works, and how to fix that?

leocratus wrote:

During my search i have noticed that there are two revisions of hardware for this device: v1.1 and v2.

Is v2 already available to buy? All I could find is that it's mentioned on the manufacturer support page, but they haven't posted their source code and firmware images yet as they did for v1.1.

Well i called their support (Poland).
They were no 100% sure they are delivering only v1.1 to EU stores. They also could say nothing about hardware config.
So i called some retailers to get any information about availability.
And here is the trick: they sad that many people are asking about revision number and they have both of them with random shipping - and that actually killed me.

Two questions:

So u said this is "not working" trash? (https://downloads.openwrt.org/snapshots … actory.bin) - look at the time and date please (04-May-2016 06:37)

Can u tell me or find out what kind of hardware in v2 is?

Best regards

(Last edited by leocratus on 4 May 2016, 16:15)

leocratus wrote:

So u said this is "not working" trash? (https://downloads.openwrt.org/snapshots … actory.bin) - look at the time and date please (04-May-2016 06:37)

The image is working just fine on 1.1 hardware.

leocratus wrote:

Can u tell me or find out what kind of hardware in v2 is?

Someone would have to get his hands onto one of the v2 devices and take it apart to say for sure what's inside.

xiberger wrote:

What's not yet working are the wired ethernet ports, the interfaces show up with the correct MAC addresses, I get "ethX: link up/down" messages when I plug in/unplug the ethernet cable, but no traffic goes through.

Is this still a problem? I was looking to turn a WR810 into a small wifi bridge, so I'd need the ethernet port to work.

xiberger wrote:

The image is working just fine on 1.1 hardware.

How about OpenVPN? Does this work with the device as well?

(Last edited by TOMillr on 15 Jun 2016, 12:11)

TOMillr wrote:
xiberger wrote:

What's not yet working are the wired ethernet ports, the interfaces show up with the correct MAC addresses, I get "ethX: link up/down" messages when I plug in/unplug the ethernet cable, but no traffic goes through.

Is this still a problem? I was looking to turn a WR810 into a small wifi bridge, so I'd need the ethernet port to work.

That's solved, ethernet is working fine.

TOMillr wrote:
xiberger wrote:

The image is working just fine on 1.1 hardware.

How about OpenVPN? Does this work with the device as well?

Haven't tried OpenVPN, but I don't see a reason why it shouldn't work.

hi

patch contain TL_WR810N_WMAC_CALDATA_OFFSET    0x1000

someone can clarify, this offset in flash or something else?

can openwrt make this tp810 3g/4g router? device has usb, is it posibble?

Anyone tried to run this device as an OpenVPN-enabled ethernet bridge yet? Is there a compatible OpenWRT build for the device I can just download and flash?

I have my hands on a v2 which unfortunately isn't taking any of the images I've tried (OpenWRT, LEDE, DD-WRT).

Let me know if there is any way I can help someone in creating an image with a modified header which the stock web firmware upgrade process will take.

hi all,
is there a solution for the v2 ?
thanks !

I added the solution from openwrt-fork lede. I cloned the actual master and added the diffs from (I am not allowed to post a link ;(  So try google with "ar71xx: add support for TP-Link TL-WR810N v2 lede pepe git" and look for the comment from
robimarko of 14.November and follow the git-link)

except of

target/linux/ar71xx/config-4.9

There are not many changes. After that i compiled the stuff and it works out of the box. (I own V2 EU)

(Last edited by funkyberlin on 14 Dec 2017, 10:50)

The discussion might have continued from here.