Adding OpenWrt support for Xiaomi "Redmi Router AX6S"/"Xiaomi Router AX3200"

DFS enabled channels?

https://downloads.openwrt.org/releases/24.10.4/targets/mediatek/mt7622/ - BTW, 24.10.4 - is out there and it flashes without problems.

Have you tried if wed is working?

It does work, I just checked it - /sys/kernel/debug/ppe0/bind is populated with connections.

1 Like

it is with bridger package?

owut upgrade has an error for me

Bridger is only needed for L2 traffic with WED

Nope, just enabled HW offloading and WED via module parameter.

You're too hasty, there was no official release yet (at least when I wrote original message). Owut comes with its own build infrastructure.

I am using it as a dumb access point.

Shiuld i use bridger as it is written at the page of the router?

cat /sys/kernel/debug/ppe0/bind - if you don't see traffic offloaded then install bridger package and check it again.

P.S. don't forget that changing WED configuration requires router reboot.

bridger needs any configuration?

if i follow instructions after some hours i don’t have connectivity at all

I never said that I use bridger. Try searching this forum.

yes, due traffic goes via L2 to the main router.

I did not have time to update the wiki page,or create dedicated one that would be attached to similar devices. Some updated information related to WED are available in BPi R4 wiki

Guys, I’m trying to update 24.10.2 to 24.10.4 with owut. It downloads the new firmware, prints ā€œInstalling /tmp/firmware.bin and rebooting...ā€œ but after the reboot I still see that it’s 24.10.2, so something gone wrong. How to find the reason?

Hello everyone,
I have a Xiaomi AX3200 RB01 produced after 12/2023. I can boot OpenWrt via initramfs (UART + TFTP), but permanent installation is not possible yet because of the new bootloader layout.
Could you please share the current status of the chainload U‑Boot solution, if exist for these newer units? Is there a test build or draft procedure available? I’d be happy to test and provide feedback.
Thank you for your work!

Having the same problem!
I would like to install 24.10 - however…

Booting xiaomi_redmi-router-ax6s-initramfs-recovery.itb works well - however, upgrading with xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb fails - Router goes into a boot loop.

Could somebody please be so kind as to share some hints with me?

Dear all,

I’m really struggeling here.

After loading 24.10.4 from tftp, Debricking via Xiaomi Image is no longer possible (maybe because of the changed memory layout?)

When trying the Debrick Method, I get:

Bytes transferred = 19792828 (12e03bc hex)
get filesize 0x12e03bc
Automatic boot of image at addr 0x4007FF28 ...
bootm flag=0, states=70f
Wrong Image Format for tftpboot command
ERROR: can't get kernel image!

How can I flash 24.10.4 permanently?

After sysupgrade, I always get the following error message:

NAND read: device 0 offset 0x2c0000, size 0x2000
 8192 bytes read: OK
[do_read_image_blks] This is a FIT image,img_size = 0x39827c
[do_read_image_blks] img_blks = 0x731
[do_read_image_blks] img_align_size = 0x398800

NAND read: device 0 offset 0x2c0000, size 0x398800
 3770368 bytes read: OK
bootm flag=0, states=70f
## Loading kernel from FIT Image at 4007ff28 ...
Bad FIT kernel image format!
ERROR: can't get kernel image!

I need some help, please!

Anyone?

Well…
I decided to flash 23.05.6 instead. That worked. Commencing from here.

1 Like

Notice that a special procedure is required when upgrading from 23.x to 24.x. See: https://openwrt.org/toh/xiaomi/ax3200#upgrading_from_2305_and_earlier_to_upcoming_2410_or_snapshot

In summary:

cd /tmp
wget -O factory.bin https://downloads.openwrt.org/releases/24.10.4/targets/mediatek/mt7622/openwrt-24.10.4-mediatek-mt7622-xiaomi_redmi-router-ax6s-factory.bin
mount -o remount,ro /
mount -o remount,ro /overlay
cd /tmp
dd if=factory.bin bs=1M count=4 | mtd write - kernel
dd if=factory.bin bs=1M skip=4 | mtd -r write - ubi

This is only needed once. After this you can upgrade to any 24.x version or later using the normal sysugrade process.

1 Like