OpenWrt support for Linksys MX4200

What version of the MX4200 do you have? Retail or branded?

Retail, V1 .

In case someone wants to try the MX4200 on 23.05, I've created a branch for it: https://github.com/innovara/openwrt/tree/23.05-mx4200

It's basically a compilation of the existing commits and what SpectreDev shared with me when he did the same. Plus a bit of my own research and edits to make it all work on 23.05 at present.

There is a PR as well to merge it: https://github.com/openwrt/openwrt/pull/14474

If building the firmware is a bit of a problem for you, let me know and I can do it for you and share it here. Just let me know if it's for v1 or v2.

Technically the changes necessary to support the MX4200 stretch the backporting policies for new devices to release branches quite a bit, so it would need quite some convincing for device support to be added to 23.05.x.

I've had the nearly-latest snapshot running stably for a good while now - thank you so much to those who did the work!

One thing I wanted to ask was about the radios. I've seen some people show config output that shows 3 radios being available, whereas I'm still only getting 2 (one of each frequency). Is this user error? Or are those people running off an unmerged branch?

Yes, the snapshots from Openwrt have only 2 radios since they became available. Others with 3 radios are using forks or replacing the BDF, either when they build it or afterwards on the device, which you can do as well.

So what would be the "newbie" approach to flashing a CF v1 router:

  1. Snapshots and figure out BDFs based on the comments above
  2. Go with lytr's build (https://github.com/testuser7/openwrt/)

You can check my latest build: https://github.com/testuser7/openwrt/releases/tag/qualcommax-3e50f16

1 Like

Can you by any chance suggest any reading about BDFs and how to change them in OpenWRT? It's not something I understand but I'm willing to read up and change things (once I at least vaguely understand!).

My Google-fu has failed me.

For example.

The link is dead but you can find the BDF here until this one expires too: https://filebin.net/d9tnotevat53hiiz

Or say you want to test lytr's last one: https://github.com/testuser7/firmware_qca-wireless/tree/mx4200

Or go back to the one that's currently in the snapshots: https://github.com/openwrt/firmware_qca-wireless

Thanks @innovara that's mighty useful! I've taken a copy of that BDF, for posterity.

So I recently installed OpenWrt on my brand new MX4200v1 (EU version) and for several days I was 'pulling my hair out' due to the 5Ghz radio being non functional.

Turns out it is caused by the same issue as is described here Buffalo WXR-5950AX12 / WXR-6000AX12x | Potential issues / Limitations , as these devices share the same hardware.

Also the workaround described on there, work for the MX4200v1 (with some minor changes, of course.

opkg remove ipq-wifi-linksys_mx4200

mv /lib/firmware/ath11k/IPQ8074/hw2.0/board-2.bin /lib/firmware/ath11k/IPQ8074/hw2.0/_IGNORE_board-2.bin

. /lib/functions/caldata.sh

FIRMWARE=ath11k/IPQ8074/hw2.0/board.bin caldata_extract "0:art" 0x1000 0x20000

reboot

The former commands

  • removes the package that supplies the wrong Board-Data-File.
  • Renames the faulty Board Data File
  • creates a working (accurate) Board Data File from MTD (containing working calibration data)
  • commands OpenWrt to use the newly created Board-Data-File
  • reboots the device.

I have filed a bugreport at OpenWRT's Github:
MX4200v1" (EU) | 5Ghz unusable due to wrong BDF in OpenWRT #14523

1 Like

Yep the issue is being worked on as we speak, we already have a pull request active in trying to resolve this issue

Perhaps this info could be added to the Wikipage for the MX4200 ad interim ?

Yeah it could be, at the time of writing the wiki all the info was correct, this issue came later when a few other pull request were merged

Unfortunately, I don´t have access/editing rights for the Wiki. :confused:

I do but no point putting up when fix is nearby

The latest snapshot (OpenWrt SNAPSHOT r24968-7eee094f01) is not showing radio2 out of the box.

Yes known issue

Hi, I am noticing drop in my Internet speed when using Openwrt on MX4200v2. I am using ethernet to do these tests.

When using GL-MT6000, the speed on ethernet is approx 900-930 mbps but when I use MX4200v2, the speed is approx 760-790 mbps.

My ISP is community fibre. Does anyone has similar experience ?