Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:xiaomi:ax9000 [2023/05/15 11:17] – [Hardware Highlights] Gbit ports danitooltoh:xiaomi:ax9000 [2023/08/27 10:50] – [Official firmware] seemebreakthis
Line 85: Line 85:
   * Luci ''attended sysupgrade'' [[https://forum.openwrt.org/t/ipq807x-openwrt-sysupgrade-server/144301|custom server]] for IPX807x.   * Luci ''attended sysupgrade'' [[https://forum.openwrt.org/t/ipq807x-openwrt-sysupgrade-server/144301|custom server]] for IPX807x.
  
-===== Experimental firmware =====+===== Latest working firmware (including experimental firmware) =====
  
 +==== Official firmware ====
 +
 +As of Aug 27, 2023, the 23.05.0-rc3 firmware provides good support for this device.  Some features are not supported including but not limited to the following:
 +
 +    QCN9024 low 5 GHz band radio (a workaround is proposed below)
 +    PWM LED effects
 +    Fan controller (Lacking driver)
 +    QCA9887 2.4 GHz band radio (5 GHz works however)
 +
 +Follow the same procedure as the one in [[:toh:xiaomi:ax9000#install_the_experimental_firmware]] to install the firmware.
 ==== State-of-the-art ==== ==== State-of-the-art ====
  
-At this time, there is only an **experimental** fork with **good** partial support for this device, by Robimarko, as [[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax9000/98908|07/11/2022]]:+At this time, there is also an **experimental** fork with **good** partial support for this device, by Robimarko, as [[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax9000/98908|07/11/2022]]:
  
 - Working: - Working:
Line 349: Line 359:
  
 <code> <code>
-sed -i 's / channel =. * / channel = \ "debug \" / g' /etc/init.d/dropbear+sed -i 's/channel=.*/channel=\"debug\"/g' /etc/init.d/dropbear
 /etc/init.d/dropbear start /etc/init.d/dropbear start
 </code> </code>
Line 466: Line 476:
 - Installation is done by the ''ubiformat'' method, through SSH: - Installation is done by the ''ubiformat'' method, through SSH:
   * Open an SSH shell to the router   * Open an SSH shell to the router
-  * Copy the file ''openwrt-ipq807x-generic-xiaomi_ax9000-squashfs-factory.ubi'' to the ''/tmp'' directory+  * Copy the file ''openwrt-ipq807x-generic-xiaomi_ax9000-initramfs-factory.ubi'' to the ''/tmp'' directory
   * Check which ''rootfs'' partition is your router booted in (''0'' = ''rootfs'' | ''1'' = ''rootfs_1''):   * Check which ''rootfs'' partition is your router booted in (''0'' = ''rootfs'' | ''1'' = ''rootfs_1''):
      <code>nvram get flag_boot_rootfs</code>      <code>nvram get flag_boot_rootfs</code>
Line 474: Line 484:
   * Use the command ''ubiformat'' to flash the opposite mtd with UBI image: <color red>**Proceed accordingly by the previous command.**</color>   * Use the command ''ubiformat'' to flash the opposite mtd with UBI image: <color red>**Proceed accordingly by the previous command.**</color>
   * If ''nvram get flag_boot_rootfs'' returned ''0'':   * If ''nvram get flag_boot_rootfs'' returned ''0'':
-     <code>ubiformat /dev/mtd22 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-squashfs-factory.ubi && nvram set flag_boot_rootfs=1 && nvram set flag_last_success=1 && nvram commit</code>+     <code>ubiformat /dev/mtd22 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-initramfs-factory.ubi && nvram set flag_boot_rootfs=1 && nvram set flag_last_success=1 && nvram commit</code>
   * otherwise:   * otherwise:
-     <code>ubiformat /dev/mtd21 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-squashfs-factory.ubi && nvram set flag_boot_rootfs=0 && nvram set flag_last_success=0 && nvram commit</code>+     <code>ubiformat /dev/mtd21 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-initramfs-factory.ubi && nvram set flag_boot_rootfs=0 && nvram set flag_last_success=0 && nvram commit</code>
   * This creates a dual boot router, with OpenWrt on one mtd partition and OEM firmware on the other. Reboot the router, by typing the ''reboot'' command.    * This creates a dual boot router, with OpenWrt on one mtd partition and OEM firmware on the other. Reboot the router, by typing the ''reboot'' command. 
   * Follow the next steps only if you wish to proceed into with a dual boot OpenWrt **exclusive** router, booted and on the OpenWrt CLI.   * Follow the next steps only if you wish to proceed into with a dual boot OpenWrt **exclusive** router, booted and on the OpenWrt CLI.
Line 483: Line 493:
   * <color red>**Please confirm if ''mtd20'' and ''mtd21'' are the correct indexes from above**</color>   * <color red>**Please confirm if ''mtd20'' and ''mtd21'' are the correct indexes from above**</color>
   * If ''fw_printenv flag_boot_rootfs'' returns ''0'':   * If ''fw_printenv flag_boot_rootfs'' returns ''0'':
-     <code>ubiformat /dev/mtd21 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-squashfs-factory.ubi && fw_setenv flag_boot_rootfs 1 && fw_setenv flag_last_success 1</code>+     <code>ubiformat /dev/mtd21 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-initramfs-factory.ubi && fw_setenv flag_boot_rootfs 1 && fw_setenv flag_last_success 1</code>
   * Otherwise:   * Otherwise:
-     <code>ubiformat /dev/mtd20 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-squashfs-factory.ubi && fw_setenv flag_boot_rootfs 0 && fw_setenv flag_last_success 0</code>+     <code>ubiformat /dev/mtd20 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-initramfs-factory.ubi && fw_setenv flag_boot_rootfs 0 && fw_setenv flag_last_success 0</code>
  
 - After all that, the regular ''sysupgrade'' command could be used through the CLI or even on LuCI. Although, see [[ax9000#potential_issueslimitations]]. - After all that, the regular ''sysupgrade'' command could be used through the CLI or even on LuCI. Although, see [[ax9000#potential_issueslimitations]].
  • Last modified: 2024/11/07 07:27
  • by nsr-007