Add support for Cudy X6 (Wifi 6 router)?

Thank you, I will look at this

Small update to this topic:

Using the mirror that @fatreedl pointed me to, I found the commit that added support for Cudy X6:
ramips-add support for cudy wr2100-x6 · zxg120-openwrt@2cb83c9

From there, I figured out where to add the .dts file Cudy provided and edit the .mk file. I then cloned the official Openwrt v21.02.0-rc3 tag and added Cudy X6.

My resulting build had the same behavior as the Openwrt provided by Cudy. It seems that the driver detects two wifi devices but really only knows how to access one of them.

So this is a waiting game for the MT7915E drivers to mature (I say waiting game because I, in no way, have the skills to fix the drivers myself).

fist test:

serial port TX ( near r5314 ) RX GND +3V

For recover firmware request a file with name: recovery.bin in tftp folder
Power up ans push reset button ( some 10 seconds ) and you have tftp recovery request in the serial console
For recovery.bin file
download X6 For Developer.zip

Extract , rename openwrt-ramips-mt7621-cudy-x6-flash.bin to recovery.bin & copy in your tftp folder

flash is 16 pins Winbond W25Q256JVFQ

to use the 8-pin spi memory, some components are not wired ?

with openwrt developper no wifi AC/AX

build:

git clone https://git.openwrt.org/openwrt/openwrt.git
./scripts/feeds update -a
./scripts/feeds install -a

look at the end for source code

Photos:




Thanks! That should be somehow pinned or added to wiki.

These are down to $39 now on Amazon -- was looking at the Belkin RT3200, but I'm skeptical that one Belkin will provide better coverage than 2 of these in a mesh.

In terms of wireless coverage and throughput, two (even slightly lower-class) APs are always better than one single high-end wireless router. The concern about the combination of mt7621a and wifi6 mt7915e is about the SOC performance, yes it's good at offloading, but when speed is required, it's still a comparatively old/ low-end 2*880 MHz mips CPU, which isn't the best match to keep a fast WAN and wifi6 network busy.

1 Like

Hi everyone,
I've build the OpenWRT-Master with the support to Cudy X6 and it seems to work great, i was wondering how can i share what i did.
Should i create a New Branch etc?
Also, there's one small problem, 160MHZ channel don't work, it errors out with DFS and won't work even with channels manually set, but i found this: https://patchwork.kernel.org/project/linux-wireless/patch/20210804134337.2582-5-greearb@candelatech.com/

pushed to the linux kernel, i think that's what causing the problem on openwrt, because the latest update to mt76 is from july and the commit linked above is from Aug.
(Was wondering if we can manually update the mt76 files ourselves(?))

Anyway can't wait for an answer :slight_smile:

(Also first time posting ever replying to some post :slight_smile: )

1 Like

Hi again,

I've created the pull request (https://github.com/openwrt/openwrt/pull/4582), now i'll get to work on the patch in: https://github.com/openwrt/mt76.
The pain in the back is that changing the mt76 requires: Fork, branch, commit, push and pull request (all pretty standard here) AND needs to be referenced in the openwrt (this is referred as "updating mt76" in openwrt's commit)

I'll keep this post updated :slight_smile:

UPDATE:

I've also applied the 160 mhz patch to the MT76 and created a pull request, is smth at least :slight_smile: here's the request: https://github.com/openwrt/mt76/pull/587

1 Like

Small update, i closed the MT76 pull request, the problem is not solved for the CudyX6, still can't get the 5ghz up with 160mhz

1 Like

Good morning,
I kindly ask where I can find the complete openwrt file with all services for the cudy x1800, as I am interested in entering the DDNS and possibly the vnp
Thank you

Hi :),
pls refer to this: https://github.com/openwrt/openwrt/pull/4582

1 Like

Hi

Is this PR progressing? Do you know if the vendor OpenWRT image use proprietary WiFi drivers?

thank you

I have found a problem with WIFI mac adress as with Tenbay T-MB5-EU-v01

if you build add lines in -> ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac

just after **case "$board" in **

cudy,x6)
		hw_mac_addr="$(mtd_get_mac_binary factory 0x4)"
		[ "$PHYNBR" = "0" ] && macaddr_add $hw_mac_addr "2" > /sys${DEVPATH}/macaddress
		[ "$PHYNBR" = "1" ] && macaddr_add $hw_mac_addr "3" > /sys${DEVPATH}/macaddress
		;;

With the patch WIFI MacAdress are lan + 2 for 2.4GHz & lan + 3 for 5 Ghz

Many thanks solved by [blocktrron] Developer

1 Like

I am struggling with the vendor's image for OpenWrt, as I have recently documented. and I would love to see support for this device in the core project officially completed, with prebuilt images available for download.

look at the end

Have you noticed the already existing pull request about it?

1 Like

Keep an eye on it, and start looking for snapshots once it's approved.

Request posted:

Do PRs such as the one pending generally get reviewed through a regular queue, or is it generally a more irregular process of those with approval permissions chancing to take an interest in a pending request?