Hi everyone,
I've been reading the forum and the official installation guide, and I've gotten to this point. I'm looking to consult about your experiences with installing OpenWrt 24.10.
I successfully installed OpenWrt version 23.05.5 on my Xiaomi AX3200 RB01. After 10 reboots, everything seems to be working fine, and it appears that the bootloader commands executed correctly.
However, I encountered an mtd partitions offset issue. When I ran the command:
fw_printenv | grep -e ^flag_try -e ^boot_fw
I got the following output:
boot_fw0=run boot_rd_img;bootm
boot_fw1=run boot_rd_img;bootm
flag_try_sys1_failed=1
flag_try_sys2_failed=0
To resolve this, I executed:
fw_setenv boot_fw1 'run boot_rd_img;bootm'
which fixed the issue and allowed me to install the sysupgrade update.
Now, I'm planning to update to version 24.10 using the following commands:
-
Flash the factory image using mtd (recommended):
I obtained the download file address from firmware-selector.openwrt.org because I couldnāt find it in the official repositories. (Any problems with this? I also noticed that the sysupgrade image was available there.)
Download the factory image on the router and rename it to factory.bin
. For example:
cd /tmp
wget -O factory.bin "https://firmware-selector.openwrt.org/?version=24.10.0&target=mediatek%2Fmt7622&id=xiaomi_redmi-router-ax6s"
-
Then flash the new layout:
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
For reference, hereās some information that others have shown with cat /proc/mtd
:
dev: size erasesize name
mtd0: 00080000 00020000 "Preloader"
mtd1: 00040000 00020000 "ATF"
mtd2: 00080000 00020000 "u-boot"
mtd3: 00040000 00020000 "u-boot-env"
mtd4: 00040000 00020000 "bdata"
mtd5: 00080000 00020000 "factory"
mtd6: 00040000 00020000 "crash"
mtd7: 00040000 00020000 "crash_log"
mtd8: 00400000 00020000 "kernel"
mtd9: 06f00000 00020000 "ubi"
Iād also like to note that I only executed the NVRAM commands (to fix the bootloader) before installing OpenWrt 23.05.5, and I havenāt applied them again since. Is it necessary to run them again after updating or if I update to version 24.10?
I would like to hear about your installation experiences, especially regarding the mtd partitions offset issue I encountered and whether that could cause any problems now or in subsequent upgrades, and if anyone has run into any problems later with installing the squashfs-sysupgrade image for version 24.10.
Thanks in advance for your help!