Adding OpenWrt support for Xiaomi AX6000

Hangs on the wall very easily with two screws.

1 Like

Cool!
Order was just placed.
Now i have to wait.

is anyone working on bringing openwrt to this router?

I would like to help with something

Please read just a few posts up

1 Like

I have this router since 2021 and I am beginning to regret having changed my previous router WRT32B for this one and it seems that it is giving a lot of difficulties, it doesn't even let me open the ports correctly, I had to connect my PC to the ISP router to do this, I don't know what you think, I'm losing hope that Openwrt can be installed without problem's

Just wondering, I've seen this:

https://lore.kernel.org/lkml/20230221233808.1565509-1-kuba@kernel.org/

Ipq5018 support was added to mainline. Go nuts

(source - Adding OpenWrt support for TP-Link RE700X, IPQ5018 - #14 by ct25)
Is this in any way related to us AX6000 users?

Thanks.

Would like to leave this info here briefly to save people from problems:

Hello!

I not expirienced OpenWRT user, just beginer.
Busy with ax6000 router chinese firmware. Manage to root and SSH using Java scripts from ax9000 instruction on firmware version MiWiFi 稳定版 1.0.55

get this output over SSH:

`login as: root
root@192.168.1.242's password:


BusyBox v1.25.1 (2021-03-22 07:37:40 UTC) built-in shell (ash)

 -----------------------------------------------------
       Welcome to XiaoQiang!
 -----------------------------------------------------
root@XiaoQiang:~# nvram get flag_boot_rootfs
1
root@XiaoQiang:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "0:SBL1"
mtd1: 00080000 00020000 "0:MIBIB"
mtd2: 00040000 00020000 "0:BOOTCONFIG"
mtd3: 00040000 00020000 "0:BOOTCONFIG1"
mtd4: 00100000 00020000 "0:QSEE"
mtd5: 00100000 00020000 "0:QSEE_1"
mtd6: 00040000 00020000 "0:DEVCFG"
mtd7: 00040000 00020000 "0:DEVCFG_1"
mtd8: 00040000 00020000 "0:CDT"
mtd9: 00040000 00020000 "0:CDT_1"
mtd10: 00080000 00020000 "0:APPSBLENV"
mtd11: 00140000 00020000 "0:APPSBL"
mtd12: 00140000 00020000 "0:APPSBL_1"
mtd13: 00100000 00020000 "0:ART"
mtd14: 00080000 00020000 "0:TRAINING"
mtd15: 00080000 00020000 "bdata"
mtd16: 00080000 00020000 "crash"
mtd17: 00080000 00020000 "crash_syslog"
mtd18: 02400000 00020000 "rootfs"
mtd19: 02400000 00020000 "rootfs_1"
mtd20: 01f00000 00020000 "overlay"
mtd21: 00080000 00020000 "rsvd0"
mtd22: 003c1000 0001f000 "kernel"
mtd23: 015cc000 0001f000 "ubi_rootfs"
mtd24: 01b20000 0001f000 "data"
root@XiaoQiang:~#`

For now look like snapshot for IPAQ 5018 not exists on openwrt.
If I can try to do it myself? Can someone help me with instruction or explain how to proceed?

This output show me that old shapshot used in original firmware:

`root@XiaoQiang:~# opkg update


Downloading downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing

Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ipq50xx_64/MiWiFi/packages/Packages.gz, wget returned 1.`

Just want to update for new shapshot and default LUCI interface.
Main reason that original firmware DHCP not working properly and I have problem with home network IP assigment.

Kind regards,
Nikolay

2 Likes

Hi Jianpeng, can share you sources.. want to try on xiaomi ax3000 ipq5018+ qcn6122

Hello, can somebody confirm that WAN is 2,5GbE and not 1GbE and it is working correctly with openwrt firmware?

Adam

How are we doing with it? What’s blocking us? Any hope for enabling 6GHz?

This device does not support 6GHz. 6GHz is not available for use in China, where this one originates.

Maybe it's not particularly news, but I just noticed that Xiaomi Redmi Router AX6000 (both "stock layout" and "OpenWrt U-Boot layout") have appeared in Firmware Selector for 23.05.0 release candidate builds (rc1-rc3). I take this as a good sign?..

Not really, Xiaomi AX6000 and Redmi AX6000 are different devices.
This topic is about the Xiaomi Aiot AX6000 router.

1 Like

@slh @robimarko wdyt about this repo: https://github.com/hzyitc/openwrt-redmi-ax3000

Looks like running openwrt on ipq50** is possible even with 5.15 kernel (not qsdk)

Yes, with recent upstream work it's mostly possible to run on IPQ50xx.

NAND and SPI-NAND support depend on major hacks though.

That’s where I’m stuck now with both Linksys devices (MX2000 and MX5500), uboot even expects the QPIC NAND controller when loading the kernel..
I now have to wait for somebody to upstream a patch for SPI nand support in qcom-nandc.c. I know QUIC worked on a patch back in 2020, but it wasn’t accepted upstream and changes were requested.
Most other components should work now, except for PCI (required for QCN6122 and QCN9074) and USB which are also being worked on.

I have PCI working with some pending patches and some fixing up of them.
QCN6122 is not supported though in ath11k.

Its mostly working, so I plan to eventually backport stuff to 6.1 and add basic support to OpenWrt.

https://github.com/hzyitc/openwrt-redmi-ax3000/commit/0e91273ba2ec1225d519ead7432d9da95ab5c6cc
QCN6122 support commit

Also there's a bunch of NAND patches for ipq50xx
https://github.com/hzyitc/openwrt-redmi-ax3000/tree/ipq50xx-mainline-kernel-5.15-openwrt-23.05/target/linux/ipq50xx/patches
Starting from 401 to 411