Add Openwrt support for Xiaomi "Redmi AX6000"

On sale on April 6, Value 499 RMB.

Chinese Teardown review:

Chinese purchase and introduction page:
(Not sure if there will be a global version)

First firmware:


  • SoC : MediaTek MT7986A
  • RAM : DDR4 512MiB (K4A4G165WF-BCWE)
  • Flash : SPI-NAND 128 MiB (ESMT F50L1G41LB)
  • WLAN :
    • 2.4G : MediaTek MT7976GN (FEM : RTC66266)
    • 5G : MediaTek MT7976AN (FEM : RTC66568)
  • Ethernet :
    • Switch : MediaTek MT7531A
  • Power : 12 VDC, 2 A

I'm not quite used to the usage of the editor of the openwrt forum, so I'm probably very bad at writing, please forgive me

1 Like

A few observations that I made earlier when I was looking at this firmware image earlier today (I probably won't end up getting one though, for those reading)

  • Wowee Mediatek, is that a 5.4 kernel in the vendor sdk? That's probably the newest kernel version I've seen in a shipping product... (They still use swconfig though. Probably don't have the time or desire to port their acceleration modules to DSA)
  • Oooooh, they're building the Arm Trusted Firmware (ATF) in their build system too...
  • I have no idea if this uses secure boot. The secboot upgrade script has return 0 hardcoded as usual, so there might not be any. On the other hand, I see an efuse node in the dtb.
  • Uses the new mediatek bad block management thing nmbm. OpenWrt master already has support.
  • There's no support for this in the current testing kernel we have at the moment. You would have to have to backport a few things.
  • Hooray a MTK platform with AX on both bands without having to stick in a MT7915D...
  • Xiaomi casually leaking the existence of a MT7981 in their kernel config. (Although there are references on the internet to the demo board + MT7976C anyway)

RB04 I think was the AX5400 gaming edition, RB08 is an unannounced (I think) one called HomeWiFi (I'm guessing a mesh by the name), soooo I guess that leaves... RB05 and RB07? They have too many 11ax models, it makes my head hurt.

Partitions from dtb:

partition@0 {
                                label = "BL2";
                                reg = <0x00 0x100000>;

                        partition@100000 {
                                label = "Nvram";
                                reg = <0x100000 0x40000>;

                        partition@140000 {
                                label = "Bdata";
                                reg = <0x140000 0x40000>;

                        partition@180000 {
                                label = "Factory";
                                reg = <0x180000 0x200000>;
                                phandle = <0x15>;

                        partition@380000 {
                                label = "FIP";
                                reg = <0x380000 0x200000>;

                        partition@580000 {
                                label = "crash";
                                reg = <0x580000 0x40000>;

                        partition@5c0000 {
                                label = "crash_log";
                                reg = <0x5c0000 0x40000>;

                        partition@600000 {
                                label = "ubi";
                                reg = <0x600000 0x1e00000>;

                        partition@2400000 {
                                label = "ubi1";
                                reg = <0x2400000 0x1e00000>;

                        partition@4200000 {
                                label = "overlay";
                                reg = <0x4200000 0x3200000>;

FIP is u-boot I believe. The image header seems to suggest it's forked from 2022.01-rc1 from December.

The lack of 2.5G port(s) is a bit of a letdown, all things considered. Just one would have been nice. Not sure if this chipset had the dual HSGMII that would have made it viable.

According to a speculation in the review of the disassembly site, it is very likely to sell products that are "still available", and if the 2.5G network port is added, those products may lag.
According to my guess, this is actually a counterpart to the XDR6020, which debuted at 499RMB.
But if added, the competitor is not yet on sale XDR6088, then the price may also have to be much more.

Then I am more concerned that mt7986 was not added until 5.17 kernel, I wonder if it can be added as a bunch of patches and then added to openwrt for 5.10/5.15 kernel?

It looks like it's still in progress, but it may have to wait until the next linux kernel with LTS or even later?

So cool. How did you crack the image of Redmi AX6000?

You can use ubireader to decompress the image.
After that you can use extract-dtb to get dtb, and then use dtc to convert dtb to dts and/or decompressing rootfs with unsquashfs.

so, how feasible is support for this and how is availability in europe?

Finally! A true Wi-Fi 6 MediaTek-based device! Hoping we can get more info on support sooner than later.

FWIW, I've ordered one of these. Should be here in ~1 month. Never ported OpenWrt to a new device but am willing to learn and help if anyone is interested. I've got sufficient knowledge that it won't be too difficult.

  • I also bought Redmi AX6000, looking forward to your adaptation