Add support for Xiaomi AX1800 Wifi 6 router

Does anyone have a solution to my problem, please?

To resume, I tried to increase the range of my main router with a AX1800 router, the problem is that despite the change of region in EU which allows to create a HotSpot with EU channels, it was not possible to repeat an existing wifi signal that is in EU channel, ie to increase the range of my main wifi router that is in EU channel.

If someone can help me with a solution for example by changing a parameter in the files from an SSH access it's fine with me or even another solution that would save me the AX1800.

Thank you for paying attention to my problem and helping me, because otherwise my AX1800 is useless and I will just throw it away.

1 Like

Has anyone had any luck getting this to run?

https://github.com/Telecominfraproject/wlan-ap

There is a Mi AX1800 config available in menuconfig.

Got it built but it panics out while booting.

So is the Redmi AX5 / Xiaomi mi AX1800(white), being considered to be added for support?

I have several of the Xiaomi mi ax1800(white). Would love to run the vanilla OpenWRT on them.

BTW I have them all runing as AP's ,wonderful! I've also tried it as a router, awesome!

ipq807x (e.g. ax3600, ax6, ax9000, etc.) support is somewhat 'in sight' now (no, neither complete, nor 100% stable, let alone enduser compatible), support for ipq60xx (ax1800) is not at all on that stage, yet (but conceivable for the future, RAM sizes of those devices will be tight, though).

1 Like

thank you slh!

If you want a device that might run OpenWrt (snapshots-) by ~christmas, go with the Xiaomi ax3600.

cool I'll see if I can get one. Thank you

I have the same issue, here. In the beginning, I saw the 5ghz frequency. After a reboot, its gone. In my case, I dont know if the issue is concerned to region, or if the 5ghz antenna broken. It was brand knew when this occurred.

Just measured the Power usage on idle with the Xiaomi Mi AX1800(white version).

Idle with wifi6 enabled. 5.1 Watts.

Very Cheap to run these units.

Imgur

2 Likes

Does anyone care about ipq6018?

2 Likes

Although there is no offical support, but for people who have ax5 and want stock firmware's opkg works, you can replace opkg sources in /etc/opkg/distfeeds.conf with following lines and run opkg update

src/gz openwrt_base http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7/base
src/gz openwrt_packages http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7/packages
src/gz openwrt_routing http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7/routing
src/gz openwrt_luci http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7/luci

This will make your opkg can download and install some package
The arm_cortex-a7 arch is working because ax5's stock firmware is built with armv7(32bit)
I have tried to install nano and igmp proxy,and it don't show any error, but installing OpenWrt's official luci seems not working(I can open page but a lot of features is not working)

sorry for my poor english (I live in taiwan and usually use Chinese)

2 Likes

what are error messages for kernel panic?

Don't remember off my head but I'll check and see if I saved a boot log.

there is a new relase here https://github.com/Telecominfraproject/wlan-ap/releases/tag/v2.0.0

and what about Mi AX 1800?

Are you sure this is for the AX1800? I see no reference to it anywhere in the repo.

1.0 rc1 has support for qualcomm ax ipq60xx and ax1800 is on devices list
it does compile but cant boot

i still have to try this relase

1 Like

I had a go at getting it to boot a few weeks back without luck.

I contacted one of the Devs but was told that the devices memory is too low for ATH11k and more than likely it bails out for that.

Only 256MB of RAM, which is way too low for ath11k without serious patching.

6 Likes

Could someone update the wiki? Recovery instructions aren't correct and wiki registration is currently impossible.

You need to set TFTPd to 192.168.31.100 and rename firmware file to "miwifi.bin". Also light isn't solid on AX5/AR67, it's blinking blue once flashing is finished.

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.0.3-00077-IPQ60xxLZB-2
S - IMAGE_VARIANT_STRING=IPQ6018LA
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu64
S - Boot Interface: NAND
S - Secure Boot: Off
S - Boot Config @ 0x000a602c = 0x000002e5
S - JTAG ID @ 0x000a607c = 0x001390e1
S - OEM ID @ 0x000a6080 = 0x00000000
S - Serial Number @ 0x000a4128 = 0x76c4a45a
S - OEM Config Row 0 @ 0x000a4188 = 0x0000000000000000
S - OEM Config Row 1 @ 0x000a4190 = 0x0000000000000000
S - Feature Config Row 0 @ 0x000a4130 = 0x0000800018200021
S - Feature Config Row 1 @ 0x000a4138 = 0x02c3e83783000009
S - PBL Patch Ver: 1
S - I-cache: On
S - D-cache: On
B -      3413 - PBL, Start
B -       592 - bootable_media_detect_entry, Start
B -      4339 - bootable_media_detect_success, Start
B -      5147 - elf_loader_entry, Start
B -      5319 - auth_hash_seg_entry, Start
B -      7787 - auth_hash_seg_exit, Start
B -      8284 - elf_segs_hash_verify_entry, Start
B -    110431 - elf_segs_hash_verify_exit, Start
B -    114857 - auth_xbl_sec_hash_seg_entry, Start
B -    115000 - auth_xbl_sec_hash_seg_exit, Start
B -    121547 - xbl_sec_segs_hash_verify_entry, Start
B -    121548 - xbl_sec_segs_hash_verify_exit, Start
B -    122477 - PBL, End
B -    103242 - SBL1, Start
B -    243359 - GCC [RstStat:0x0, RstDbg:0x600000] WDog Stat : 0x4
B -    245799 - clock_init, Start
D -      2836 - clock_init, Delta
B -    254339 - boot_flash_init, Start
D -     29981 - boot_flash_init, Delta
B -    287554 - sbl1_ddr_set_default_params, Start
D -       213 - sbl1_ddr_set_default_params, Delta
B -    294172 - boot_config_data_table_init, Start
D -      4758 - boot_config_data_table_init, Delta - (575 Bytes)
B -    304054 - CDT Version:2,Platform ID:8,Major ID:3,Minor ID:2,Subtype:0
B -    308843 - Image Load, Start
D -      6618 - OEM_MISC Image Loaded, Delta - (0 Bytes)
B -    318206 - Image Load, Start
D -      5093 - PMIC Image Loaded, Delta - (0 Bytes)
B -    326075 - sbl1_ddr_set_params, Start
B -    331047 - CPR configuration: 0x366
B -    334249 - Pre_DDR_clock_init, Start
D -       183 - Pre_DDR_clock_init, Delta
D -         0 - sbl1_ddr_set_params, Delta
B -    370910 - Image Load, Start
D -       427 - APDP Image Loaded, Delta - (0 Bytes)
B -    383995 - Image Load, Start
D -       457 - QTI_MISC Image Loaded, Delta - (0 Bytes)
B -    386435 - Image Load, Start
D -       884 - Auth Metadata
D -       610 - Segments hash check
D -     22661 - QSEE Dev Config Image Loaded, Delta - (36354 Bytes)
B -    411048 - Image Load, Start
D -      6649 - Auth Metadata
D -     10614 - Segments hash check
D -    343735 - QSEE Image Loaded, Delta - (1470632 Bytes)
B -    755210 - Image Load, Start
D -       671 - Auth Metadata
D -       976 - Segments hash check
D -     35563 - RPM Image Loaded, Delta - (102664 Bytes)
B -    792481 - Image Load, Start
D -       732 - Auth Metadata
D -      3141 - Segments hash check
D -    120963 - APPSBL Image Loaded, Delta - (544096 Bytes)
B -    929030 - SBL1, End
D -    826093 - SBL1, Delta
S - Flash Throughput, 4000 KB/s  (2154993 Bytes,  443307 us)
S - Core 0 Frequency, 800 MHz
S - DDR Frequency, 466 MHz


U-Boot 2016.01 (Aug 06 2020 - 11:50:22 +0000), Build: jenkins-common_router_openwrt_ota_publish-159

DRAM:  smem ram ptable found: ver: 2 len: 4
256 MiB
NAND:  ONFI device found
ID = 1580a1c8
Vendor = c8
Device = a1
qpic_nand: changing oobsize to 64 from 128 bytes
SF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:   sdhci: Node Not found, skipping initialization

PCI0 is not defined in the device tree
In:    serial@78B1000
Out:   serial@78B1000
Err:   serial@78B1000
machid: 8030200
eth0 MAC Address from ART is not valid,use random ethaddr
bootwait is on, bootdelay=5
### main_loop: bootcmd="bootmiwifi"
Hit any key to stop autoboot:  0 
 detect button press, continue check 5 secs 
 detect button pressed 5 secs !
 confirm to launch xq_upgrade ! 
 cmd=dhcp

Net:   MAC0 addr:0:3:7f:ba:db:ad
PHY ID1: 0x4d
PHY ID2: 0xd0b1
EDMA ver 1 hw init
Num rings - TxDesc:1 (0-0) TxCmpl:1 (0-0)
RxDesc:1 (15-15) RxFill:1 (7-7)
ipq6018_edma_alloc_rings: successfull
ipq6018_edma_setup_ring_resources: successfull
ipq6018_edma_configure_rings: successfull
ipq6018_edma_hw_init: successfull
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is         00:03:7f:ba:db:ad
Address in environment is  52:f9:ac:96:90:b3

Trying to ping server.....
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
ping failed; host 192.168.31.100 is not alive
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
ping failed; host 192.168.31.100 is not alive
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
ping failed; host 192.168.31.100 is not alive
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
ping failed; host 192.168.31.100 is not alive
Ping test fail
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
======== dhcp failed, retry !========
 confirm to launch xq_upgrade ! 
 cmd=dhcp

Net:   MAC0 addr:0:3:7f:ba:db:ad
EDMA ver 1 hw init
Num rings - TxDesc:1 (0-0) TxCmpl:1 (0-0)
RxDesc:1 (15-15) RxFill:1 (7-7)
ipq6018_edma_alloc_rings: successfull
ipq6018_edma_setup_ring_resources: successfull
ipq6018_edma_configure_rings: successfull
ipq6018_edma_hw_init: successfull
, eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is         00:03:7f:ba:db:ad
Address in environment is  9c:9d:7e:49:f0:51

Trying to ping server.....
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
ping failed; host 192.168.31.100 is not alive
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
ping failed; host 192.168.31.100 is not alive
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
ping failed; host 192.168.31.100 is not alive
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_halt: done
ping failed; host 192.168.31.100 is not alive
Ping test fail
ipq6018_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
ipq6018_eth_init: done
BOOTP broadcast 1
DHCP client bound to address 192.168.31.1 (3156 ms)
Using eth0 device
TFTP from server 192.168.31.100; our IP address is 192.168.31.1
Filename 'miwifi.bin'.
Load address: 0x44000000
Loading: *
Got TFTP_OACK: TFTP remote port: changes from 69 to 56828
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################################################
         3.6 MiB/s
done
Bytes transferred = 25653096 (1876f68 hex)
ipq6018_eth_halt: done
LoadAddr=44000000 NetBootFileXferSize= 1876f68
CRC verify success!
RSA signature verify success!
Erasing NAND...
Erasing at 0x7e0000 -- 100% complete.
Writing to NAND... OK
Upgrade xiaoqiang_version... 
Upgrade uboot.bin... 
 --- xq_flash_erase Erasing Nand...0x00800000~+0x00180000
Erasing at 0x960000 -- 100% complete.
common/proc_xqimage.c xqimage_upgrade 541 start:0x440002b0,subh->flash_addr:0xffffffff,len:0x180000
Upgrade root.ubi... 
 --- xq_flash_erase Erasing Nand...0x01180000~+0x02400000
Erasing at 0x3560000 -- 100% complete.
 --- xq_flash_erase Erasing Nand...0x03580000~+0x02400000
Erasing at 0x5960000 -- 100% complete.
common/proc_xqimage.c xqimage_upgrade 541 start:0x44096e58,subh->flash_addr:0xffffffff,len:0x17e0000
Erasing NAND...
Erasing at 0x7e0000 -- 100% complete.
Writing to NAND... OK
========Upgrade success!========
Erasing NAND...
Erasing at 0x7e0000 -- 100% complete.
Writing to NAND... OK
2 Likes