Hi,
For those looking specifically at at build with LuCi and openVPN with TLS for the TL-WR941N/ND 2.1/5.1 version, here is the best thing at this moment.
Thanks to amq for his build destined for the TL-WR841N(D).
-
Download the last build for v8 from amq : lede-ar71xx-generic-tl-wr841-v8-squashfs-factory.bin - https://forum.openwrt.org/t/build-for-tp-link-tl-wr841n-d-all-versions/428
-
Open it in a hex editor. Look at offset 0x40. There should be the following bytes: 08 41 00 08. Modify it to: 09 41 00 05
-
Get mktplinkfw.c, md5.c and md5.h - Google it there is a lot of github with these files.
-
Compile the tool: gcc -Os mktplinkfw.c md5.c -o mktplinkfw.
-
Run: ./mktplinkfw -i lede-ar71xx-generic-tl-wr841-v8-squashfs-factory.bin
-
Look for the expected MD5Sum1: expected : bb a4 9d a1 d5 4f 24 9f ab 11 55 70 1b a1 ee e3
-
Open the hex editor again, go to offset 0x4c, and copy the MD5 above (it should span from offset 0x4c to offset 0x5b).
-
Shorten the name of the file.
-
Go and upload the resulting file to firmware upgrade (in TP-Link web-interface).
-
Open LEDE on 192.168.1.1 - root / password
Really nice upgrade for this device.
If needed here is my current version, just shorten it before updating: lede-ar71xx-generic-tl-wr941-v5-squashfs-factory.bin