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

Leave gnd connected...

Can we upgrade from snapshot 22.03?

I think the Snapshots are newer, I got Snapshot r19520 now...

There is no significant difference at this moment between 22.03.0-rc1 and the current 22.03 snaphots.

At this moment there are only 3 small changes that IMHO are not worth using the 22.03 snapshots:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=refs/heads/openwrt-22.03

EDITED: however, using master snapshots there is a lot of new changes, including an updated wifi driver (mt76). It is up to each one to decide to stay with a stable release or using the a bleeding edge version (with all pros and cons):

https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=refs/heads/master

2 Likes

so when using the Attended Sysupgrade, does it download Snapshots or Master Snapshots?

OpenWrt SNAPSHOT r19520-089eb02abc / LuCI Master git-22.089.43958-7110635

Like @namidairo there said, leave GND connected. I only told you to disconnect 3V3, nothing else.

Also, yes, there are three good ways: an oscilloscope, a logic analyzer or a known-good USB-TTL adapter (or a device that can act as one). I assume you have none of those, so buying a known-good USB-TTL adapter is likely to be your best option. I, personally, like CP2104-based ones (like e.g. this one) -- never had any troubles with them.

1 Like

I'm not used to attended sysupgrade, but I understand per description below it does a custom build based on your selected packages:

> "This server listens for requests to build custom OpenWrt sysupgrade images. It starts an ImageBuilder process for the specified target, incorporates any requested packages, and returns that image to the requestor. (source)"

This same page does not explicitly lists 22.03.0-rc1 yet (just 22.03-snapshot). So I don't know it just the main page has not been updated yet or if in fact 22.03.0-rc1 still has to be added to sysupgrade server.

Sorry for not having answered your question.. :slight_smile:

1 Like

Are you connecting the the TTL adapter TX to TX on the router and TTL RX to RX on the router? If that is the case, you should connect thee TTL RX to Router TX and TTL TX to Router RX.

Yes, I was connecting TX>TX, RX>RX and so on. Gonna try the way you suggest when I get back home from work (plus leaving the GND connected).

I’m sorry for my incompetence. The only times I’ve been using console communications is with an RS232 to rj45 on my routers. A lot easier than lining up wires with pinholes :slight_smile:

I would like to mention that you are not doing RS232 here. It's TTL-level serial, not RS232. It annoys me greatly when people use RS232 in the wrong context, because it can cause misunderstandings and I have seen cases of people burning hardware, connecting e.g. a TTL-level device to RS232-port.

RS232 very specifically refers to the serial-port using +13V to -13V voltage-levels, TTL UART, on the other hand, does not do negative voltage and the positive voltage is 5V or less, depending on the device. Given the voltage-levels of RS232, it should not be difficult to see how a misunderstanding can lead to a nasty surprise.

https://www.sparkfun.com/tutorials/215

2 Likes

For me, in OpenWrt SNAPSHOT means the nightly builds from master branch.
The nighlty builds from a release branch like openwrt-22.03 or openwrt-21.02, ... are called 22.03-SNAPSHOT, 21.02-SNAPSHOT, ...

Attended Sysupgrade won't change "your channel" if you don't ask for it! See example runs below!

Run #1: being is on openwrt-22.03 branch:

auc (0.2.5-2)
Server:    https://sysupgrade.openwrt.org
Running:   22.03-SNAPSHOT r19290-ad5a507df3 on mediatek/mt7622 (xiaomi,redmi-router-ax6s)
Available: 22.03-SNAPSHOT r19306-e4d8c0f9b4
Requesting package lists...
 base-files: 1474-r19290-ad5a507df3 -> 1476-r19306-e4d8c0f9b4
 uboot-envtools: 2022.01-19 -> 2022.01-22
 libwolfssl: 5.2.0-stable-1 -> 5.2.0-stable-2
Are you sure you want to continue the upgrade process? [N/y] n
Interrupted system call (4)

Run #2: being on master branch

Summary
auc (0.2.5-2)
Server:    https://sysupgrade.openwrt.org
Running:   SNAPSHOT r19511-c59704334c on mediatek/mt7622 (xiaomi,redmi-router-ax6s)
Available: SNAPSHOT r19520-089eb02abc
Requesting package lists...
 kmod-crypto-gf128: 5.10.111-1 -> 5.10.112-1
 kmod-ledtrig-oneshot: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-manager: 5.10.111-1 -> 5.10.112-1
 kmod-nft-nat6: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-ctr: 5.10.111-1 -> 5.10.112-1
 kmod-nft-fib: 5.10.111-1 -> 5.10.112-1
 kmod-nfnetlink: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-hash: 5.10.111-1 -> 5.10.112-1
 kmod-nf-reject6: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-aead: 5.10.111-1 -> 5.10.112-1
 kmod-nf-flow: 5.10.111-1 -> 5.10.112-1
 kmod-lib-crc-ccitt: 5.10.111-1 -> 5.10.112-1
 kmod-pppoe: 5.10.111-1 -> 5.10.112-1
 kmod-pppox: 5.10.111-1 -> 5.10.112-1
 kmod-nf-reject: 5.10.111-1 -> 5.10.112-1
 base-files: 1485-r19511-c59704334c -> 1485-r19520-089eb02abc
 kmod-nf-nat: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-crc32c: 5.10.111-1 -> 5.10.112-1
 kmod-mt7615e: 5.10.111+2022-04-20-eecbb499-4 -> 5.10.112+2022-04-23-a666d563-4
 uboot-envtools: 2022.01-22 -> 2022.01-23
 kmod-crypto-hmac: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-sha256: 5.10.111-1 -> 5.10.112-1
 kmod-mt7615-common: 5.10.111+2022-04-20-eecbb499-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-nf-nat6: 5.10.111-1 -> 5.10.112-1
 kmod-lib-crc32c: 5.10.111-1 -> 5.10.112-1
 kmod-mt76-connac: 5.10.111+2022-04-20-eecbb499-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-crypto-seqiv: 5.10.111-1 -> 5.10.112-1
 kmod-nft-nat: 5.10.111-1 -> 5.10.112-1
 kmod-thermal: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-ghash: 5.10.111-1 -> 5.10.112-1
 kmod-hwmon-core: 5.10.111-1 -> 5.10.112-1
 kmod-mt7915e: 5.10.111+2022-04-20-eecbb499-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-crypto-ccm: 5.10.111-1 -> 5.10.112-1
 kmod-nf-log: 5.10.111-1 -> 5.10.112-1
 kmod-leds-gpio: 5.10.111-1 -> 5.10.112-1
 kmod-gpio-button-hotplug: 5.10.111-3 -> 5.10.112-3
 kmod-nf-log6: 5.10.111-1 -> 5.10.112-1
 kmod-mac80211: 5.10.111+5.15.33-1-1 -> 5.10.112+5.15.33-1-1
 kmod-ppp: 5.10.111-1 -> 5.10.112-1
 kmod-nft-offload: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-null: 5.10.111-1 -> 5.10.112-1
 kmod-mt7615-firmware: 5.10.111+2022-04-20-eecbb499-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-nf-conntrack: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-gcm: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-cmac: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-rng: 5.10.111-1 -> 5.10.112-1
 kmod-nf-conntrack6: 5.10.111-1 -> 5.10.112-1
 kmod-mt76-core: 5.10.111+2022-04-20-eecbb499-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-nft-core: 5.10.111-1 -> 5.10.112-1
 kmod-slhc: 5.10.111-1 -> 5.10.112-1
 kmod-cfg80211: 5.10.111+5.15.33-1-1 -> 5.10.112+5.15.33-1-1
Are you sure you want to continue the upgrade process? [N/y] n
Interrupted system call (4)

Run #3: changing branch to master with -b snapshot

Summary
auc (0.2.5-2)
Server:    https://sysupgrade.openwrt.org
Running:   22.03-SNAPSHOT r19290-ad5a507df3 on mediatek/mt7622 (xiaomi,redmi-router-ax6s)
Available: SNAPSHOT r19520-089eb02abc
Requesting package lists...
 kmod-crypto-gf128: 5.10.111-1 -> 5.10.112-1
 kmod-ledtrig-oneshot: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-manager: 5.10.111-1 -> 5.10.112-1
 kmod-nft-nat6: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-ctr: 5.10.111-1 -> 5.10.112-1
 kmod-nft-fib: 5.10.111-1 -> 5.10.112-1
 kmod-nfnetlink: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-hash: 5.10.111-1 -> 5.10.112-1
 kmod-nf-reject6: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-aead: 5.10.111-1 -> 5.10.112-1
 luci-mod-system: git-22.102.44406-0c0cf78 -> git-22.102.44067-b6fb2b1
 kmod-nf-flow: 5.10.111-1 -> 5.10.112-1
 kmod-lib-crc-ccitt: 5.10.111-1 -> 5.10.112-1
 getrandom: 2021-08-03-205defb5-2 -> 2022-01-06-b87a4fdc-2
 ucode-mod-ubus: 2022-02-11-a29bad94-1 -> 2022-04-13-e14b0993-1
 luci-theme-bootstrap: git-22.084.39030-f187425 -> git-22.084.38997-8e09f18
 kmod-pppoe: 5.10.111-1 -> 5.10.112-1
 kmod-pppox: 5.10.111-1 -> 5.10.112-1
 kmod-nf-reject: 5.10.111-1 -> 5.10.112-1
 base-files: 1474-r19290-ad5a507df3 -> 1485-r19520-089eb02abc
 kmod-nf-nat: 5.10.111-1 -> 5.10.112-1
 libpcre: 8.45-3 -> 8.45-4
 kmod-crypto-crc32c: 5.10.111-1 -> 5.10.112-1
 ucode-mod-uci: 2022-02-11-a29bad94-1 -> 2022-04-13-e14b0993-1
 kmod-mt7615e: 5.10.111+2022-03-15-053668ac-4 -> 5.10.112+2022-04-23-a666d563-4
 firewall4: 2022-02-12-53caa1a7-1 -> 2022-04-21-fc83d462-1
 uboot-envtools: 2022.01-19 -> 2022.01-23
 kmod-crypto-hmac: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-sha256: 5.10.111-1 -> 5.10.112-1
 kmod-mt7615-common: 5.10.111+2022-03-15-053668ac-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-nf-nat6: 5.10.111-1 -> 5.10.112-1
 kmod-lib-crc32c: 5.10.111-1 -> 5.10.112-1
 luci-mod-status: git-22.089.68955-66d9387 -> git-22.087.28325-8a46648
 kmod-mt76-connac: 5.10.111+2022-03-15-053668ac-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-crypto-seqiv: 5.10.111-1 -> 5.10.112-1
 kmod-nft-nat: 5.10.111-1 -> 5.10.112-1
 libwolfssl: 5.2.0-stable-1 -> 5.2.0-stable-2
 luci-app-firewall: git-22.089.67563-7e3c1b4 -> git-22.089.67453-0eb3aeb
 kmod-thermal: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-ghash: 5.10.111-1 -> 5.10.112-1
 libucode: 2022-02-11-a29bad94-1 -> 2022-04-13-e14b0993-1
 ucode-mod-fs: 2022-02-11-a29bad94-1 -> 2022-04-13-e14b0993-1
 kmod-hwmon-core: 5.10.111-1 -> 5.10.112-1
 odhcpd-ipv6only: 2021-08-11-01b4e604-1 -> 2022-03-22-860ca900-1
 ucode: 2022-02-11-a29bad94-1 -> 2022-04-13-e14b0993-1
 kmod-mt7915e: 5.10.111+2022-03-15-053668ac-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-crypto-ccm: 5.10.111-1 -> 5.10.112-1
 luci-base: git-22.083.69105-af8e91c -> git-22.089.43958-7110635
 kmod-leds-gpio: 5.10.111-1 -> 5.10.112-1
 kmod-gpio-button-hotplug: 5.10.111-3 -> 5.10.112-3
 logd: 2021-08-03-205defb5-2 -> 2022-01-06-b87a4fdc-2
 kmod-mac80211: 5.10.111+5.15.33-1-1 -> 5.10.112+5.15.33-1-1
 libopenssl: 1.1.1n-1 -> 1.1.1n-2
 openwrt-keyring: 2022-03-25-62471e69-3 -> 2022-03-25-62471e69-2
 luci-app-attendedsysupgrade: git-22.068.37885-65266c4 -> git-22.081.81213-8936e3c
 kmod-ppp: 5.10.111-1 -> 5.10.112-1
 kmod-nft-offload: 5.10.111-1 -> 5.10.112-1
 kmod-crypto-null: 5.10.111-1 -> 5.10.112-1
 kmod-mt7615-firmware: 5.10.111+2022-03-15-053668ac-4 -> 5.10.112+2022-04-23-a666d563-4
 kmod-nf-conntrack: 5.10.111-1 -> 5.10.112-1
 zlib: 1.2.11-4 -> 1.2.12-2
 kmod-crypto-gcm: 5.10.111-1 -> 5.10.112-1
 pingcheck: 2021-02-22-1 -> 2022-03-01-1
 kmod-crypto-cmac: 5.10.111-1 -> 5.10.112-1
 luci-lib-jsonc: git-22.097.61921-7513345 -> git-22.079.54693-45f411b
 kmod-crypto-rng: 5.10.111-1 -> 5.10.112-1
 kmod-nf-conntrack6: 5.10.111-1 -> 5.10.112-1
 kmod-mt76-core: 5.10.111+2022-03-15-053668ac-4 -> 5.10.112+2022-04-23-a666d563-4
 ubox: 2021-08-03-205defb5-2 -> 2022-01-06-b87a4fdc-2
 luci-mod-network: git-22.089.68955-66d9387 -> git-22.087.28325-8a46648
 kmod-nft-core: 5.10.111-1 -> 5.10.112-1
 kmod-slhc: 5.10.111-1 -> 5.10.112-1
 kmod-cfg80211: 5.10.111+5.15.33-1-1 -> 5.10.112+5.15.33-1-1
Are you sure you want to continue the upgrade process? [N/y] n
Interrupted system call (4)
2 Likes

Hi. Thanks for making it clear but yes I am aware that I’m not using an RS232 to communicate with the xiaomi router.

thanks, then I'm on master as I run r19520. :slight_smile:

I bought at 24.04.2022 router Xiaomi AX3200 from Poland Warehouse

I received RB01 version - Production Date 09/2021 - Factory Telnet Enabled

RB03 chinese vesion, made a youtube video :slight_smile:

1 Like

Thanks to all of you. Particularly @WereCatf @tgabor and namidairo for helping me setting up the UART console. Turns out I didn't fry my things after all :slight_smile:

The UART guide was slightly confusing (e.g. when to flash the original firmware etcetera). I'll see if I have time to write a simplified guide for us noobs. It'll maybe save some people some time.

So anyways guys. 11/2021 production date router with OpenWRT confirmed :wink:

2 Likes

On mesh on Xiaomi Ax3200 RB01 is suporting on openwert 22.03 ?!

currently using 802.11s on the ax3200 with my dir 882. its working fine.

Thank you
Is testing on board