I bought an TP-Link Archer C50 (EU) V6.0 router. Since there is currently no dedicated firmware version (device seems to be very recent), I went with the instructions for v5 as described here: https://openwrt.org/toh/tp-link/archer-c50#v4_and_v5_instructions
I decided to manually build the firmware (dd if=...).
Flashing via TFTP succeeded. However, after logging in I am only able to see the 2.4 Ghz device.
I've added some debugging output below. Any idea if and how I can get the 5 Ghz interface running?
As I am new to the OpenWrt game - what does "soc" mean? And can I do something to get 5 Ghz working? If e.g. building a custom OpenWrt snapshot would be an option please give me some hints. Generally I am not scared of build systems .
Well, you are basically doing frontrunner work here by building a firmware for a hw version that is not yet supported. Maybe you should seek help in the developer section of the forum. Depending on the built in hw they might tell you which modules / drivers to use.
Hey
Would you please send the instruction you follow in order to flash openwork. i don't want to brick it and if you can provide a version that work on your router.
I also recently got V6 of this Router and installed 19.07.7 on it by following the installation instructions you mentioned (during these steps for cutting boot loader etc from vendor fw I used tp-link fw for V6). Then I played around with several mt76-based drivers for no luck, so I went back to stock fw. What was really interesting: All the settings I had done in the stock firmware were there, nothing was erased! The OEM-WebGUI-password was set, the time synchronisation settings (using my primary router as ntp-server), everything I checked was exactly like before. As I usually don't play around much with vendor fw besides having a short glance over stock functionality I can't really tell, if this is a real difference to V4, as I never reverted my V4 back to stock.
Then I searched for TechData about V6 in all the well-known sources, but was not able to find out what 5-GHz-Radio is built into V6. Not even an FCC-ID (also searched for an probably imaginary A5 v6 in an act of pure guessing)... So I opened the router and made some photos. I found an MT7628AN + MT7613BEN. The latter ist different from V4/V5, so I checked for devices with this in the TOH and found some in SNAPSHOT and some hints in the forum that indicated, that mt7615e was the driver to use for this. So I decided to have another try with 21.02.0-rc3, driver mt7615e and Firmware mt7663-firmware-ap. With this combination the 5-GHz became accessible. I made an experimental image using imagebuilder with profile for V4 including luci.
Obvious issue with these images so far seems to be the WLAN-LEDs, they just won't stop blinking after WLAN is activated. Also I cannot tell, if DFS ist working for 5-GHz. And of course the device reports itself as V4, as I didn't create an extra profile for V6.
I managed to solder some pins to the serial header, located between the blue WAN port and the flash chip. I only connected the left 3 pins Rx,Tx and Gnd. I guess, the outer right should be 3v3, but I didn't connect any cable to it. I used 115200 - 8N1 settings. I posted the OEM Bootlog at PasteBin.
Hi again!
The WLAN-LEDs stop blinking after a while and get lit solidly. I guess, they might work correctly and the blinking is for some good reason which I just don't see... Maybe DFS-sensing or something like that So tending to call it "works as it should".
After some reading of bootlogs from V4 and my own V6 I see same flash partitions and started creating a hardware profile locally using the DTS-file of V4, as I expected GPIOs/LEDs and Flash to act just identically, which seems to be the case (besides V6 has just 5 LEDs, WPS-LED ist missing). I can change color of the WAN-LED between orange and green, WAN, LAN, Power, WLAN-5 and WLAN-2 seem to work as expected. WLAN- and RESET-Buttons work, too. I created this profile on top of OpenWRT 21.02.0-RC4 with updated mt76-driver. In some files (platform.sh, etc.) where there are case decisions made for networking, leds etc. I added the V6 to be handled the same ways as V4. The MAC Address of BR-LAN matches the one at the label of the bottom of the device. WLAN-2 an WAN also have this same MAC, only WLAN-5 is different. Is this expected? If not, what should / can I do about this? I must admit, that this kind of work is not one of my talents, but I'll do my very best.
My concerns regarding DFS on the 5GHz mainly foot on this thread in the forum. Reading the syslog I noticed that after configuring the 5GHz it wouldn't start due to initialization failure related do DFS, while showing ENABLED state in LuCIs wireless section. WPS didn't work then either (using wpad-openssl). Restarting the wireless device couldn't resolve this, but rebooting the whole router did. So after configuring the AP it is a good idea to reboot the router. Indeed I tend to call this a MT7613-driver issue, not a "create-support-for-C50-V6"-issue... When the 5GHz ist up, it works quite well for my "home use", meaning: I did some speedtests, but no excessive stress tests with Iperf for several hours or something like that.
What can I do next to help creating Support for the V6? What has to be reviewed, tested, handed over to somebody with more knowledge and competence?
Been lurking the topic of c50 v6 support for a couple of months and can attest that the build from @Marssl is closest to an expected experience I've tried.
I can also second the fact that the 5ghz drops out for all available clients after a certain time, and a reboot of the system seeming to be the easiest fix.
The weird thing is that the same symptoms manifests in the 2.4ghz radio too
So essentially both radios cuts out at the same time, but I have yet to determine any specific culprit such as load on the system or the like.
That is for upgrading to 21.02.0-RC4 which includes a MT7615e driver update. I think it improves the 5GHz quite a bit. You have to force update the firmware using this file as I created a V6 hardware profile for this, while the previous build thinks of itself as a modified V4. I also didn't include the alternative firmware for wlan-client-mode, as most users won't need it and it uses up almost 0.8MB of flash space. The second one includes SQM.
Thank you for providing a second test file @Marssl I have it updated now and once again deployed as the main router of the household to test in a real world scenario.
Will report back my findings after seeing an organic flow of users and devices having been through the network
I'm also going to throw in an intentional stress test on a mix of 2.4- and 5hz devices later when I have the time.
Hi @Marssl .. i´m testing it also... Had some issues with vlan bridging with wireless in the last version.. but i´m new to version 21 so it could be me..
So I have an update after having tested for a few days. The router works splendidly with all the features one can expect at this point, however it does experience what I might call hard stop issues at times. These being the following:
Router has restarted itself after using the 5ghz radio in certain scenarios, with no discernable difference to the type of load. This has not yet occurred using the 2.4ghz radio, but I wouldn't rule it out as never being able to happen, however at this point it does seem more unlikely on the 2.4ghz radio.
Router has gone into a state total unresponsiveness. The LEDs where off, and wasn't reachable from either wifi or ethernet. Only solution being a restart by physically pushing the power button on the router. My guess in this case would be a kernel panic, but I can't back that up with hard data.
Both the wireless radios does at some point after an uptime period of about 2 days exhibit odd behaviour. Latency tolerant operations work fine when the behaviour occurs, however lower latency operations like sending input data over local network does not (This being for instance sending kb+m inputs). This issue isn't fixed by restarting the radios or disconnecting clients, but rather the only solution being a restart of the router itself.
Hi @Marssl any possibility of starting an official TP-Link Archer C50 V6 page like the ones setup for V5 here: https://openwrt.org/toh/tp-link/archer-c50. You could put details there to help everyone with the newer V6 version of this router.
This always pops up right before the system starts halting in bad ways, and as far I understand it it's a feature of the linux kernel that is triggered as mechanism to protect against another fault in the system. Here is is little snippet on RT throttling from the linuxfoundation docs page:
Programming failures in real-time applications can cause the entire system to hang. Such a failure could act like a call of a while(true){} loop. When the real-time application has the highest possible priority and is scheduled with SCHED_FIFO policy, no other task can preempt it. This leads to the system blocking all other tasks and scheduling this loop with a CPU load of 100 percent. Real-time throttling is a mechanism to avoid such situations by limiting the execution time of real-time tasks per period.
However this only tells me that the kernel went into this fail-safe mode triggered by some other issue, but the logs at the time didn't have a anything peculiar before or after the snippet I posted. However I do have a more recent syslog and it's accompanying kernel log with the same RT throttle trigger.
Syslog:
From glancing through it it does seem like some sort of memory issue related to the wifi, but I'm not all that adept at gleaming issues from logs so take that with grain of salt.
This was all running the router as the the primary router/gateway/access point of my entire household using the build with sqm.
To round of this post I have between now and when the logs were taken reinstalled openwrt on the device with the non sqm build from @Marssl and now only running at as an access point to test the wireless radios in more of a vacuum and I haven't had any issues yet using it in this configuration.
The particulars of what I've experienced so far could of course be because of a bad install performed by me. Are you @Marssl and @hjsimoes experiencing something similar in your testing?