In your output there is only one slot for firmware (ubi ~112MB), in the Chinese version there are two (ubi and ubi1).
Thank you for pointing this out! So, it might mean that the commands after flashing OpenWrt on the RD23 should be different from those from official instruction:
nvram set boot_wait=on
nvram set uart_en=1
nvram set flag_boot_rootfs=0
nvram set flag_last_success=0
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
The only difference I see involves the nvram set flag_boot_rootfs
and nvram set flag_last_success
with values 0 or 1 depending on whether mtd8
or mtd9
is active in the CN version. What should I use if only mtd8
is present in the RD23?
You can change to Ubootmod only from already installed OpenWrt default layout.
Does this mean that ubiformat
will not be possible if openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-initramfs-recovery.itb
is only loaded into RAM and not installed into default layout?
What can be alternative, please?
You must follow step-by-step all Flash Instructions!
First flash Openwrt all steps 1-5 (with ax3000t-initramfs-factory.ubi)
Only after successful installation you can Change to Uboot also all steps 1-6 (with ax3000t-ubootmod-initramfs-factory.ubi)
Please don't make him do stupid things. I think everyone understands what does the big warning on the top of the page mean. Let me quote it again for everyone:
Currently not supporting the international RD23 version.
If you own a RD23 device, do not attempt to flash it.
At best, his efforts will just fail. At worst, he will create a nice brick. The things he is trying to flash is not for his device. For his device, there is no openwrt at this point in time.
I advise on the contrary - to try flash first ax3000t Openwrt with original boot loader. And don't even touch uboot without correctly running stock OpenWrt.
Also I don't think RD23 really differs, cause I read smb was able to flash wr30u on ax3000t.
That's not very helpful
Please may you provide instructions for detaching the mtd so it can be formatted.
Wait - I saw message:
It means that somehow ubootmod -initramfs has been succesfully loaded! I suggest to load "ax3000t-initramfs-factory.ubi" instead
Now, I have the same partition definition for the standard Chinese version with custom bootloader from mtk and custom OpenWrt build.
dev: size erasesize name
mtd0: 00100000 00020000 "BL2"
mtd1: 00040000 00020000 "Nvram"
mtd2: 00040000 00020000 "Bdata"
mtd3: 00200000 00020000 "Factory"
mtd4: 00200000 00020000 "FIP"
mtd5: 00040000 00020000 "crash"
mtd6: 00040000 00020000 "crash_log"
mtd7: 00040000 00020000 "KF"
mtd8: 07000000 00020000 "ubi"
Above was a link to the 112m mod, but please be careful
Thanks!
I can rename the file "ax3000t-initramfs-factory.ubi" to "ax3000t-initramfs-factory.itb" and try to load it into the RAM, just as I did with the original "ax3000t-initramfs-factory.itb" file.
Here and here I found discussions on how mtd
was detached using the command ubidetach -p /dev/mtd8
. Maybe it's worth trying when the original "ubootmod-initramfs-recovery.itb" is loaded into RAM, so that I can attempt to execute ubiformat
again?
Please, what about these if mtd8 only exists?
Could you please point out where this link is? I cannot find it.
What ?? Do u think file-naming matters??
I just don't know how you're loading - via UART at boot step?
How stable is this router flashed with OpenWRT?
Yes, via UART.
See my reports detailing the steps I performed:
- 1st post with UART connected to RD23 (Global version);
- 2nd post with mtk_uartboot loaded;
- 3rd post with "
ax3000t-ubootmod-initramfs-recovery.itb
" loaded into RAM and an error "detach mtd8 " while flashing attempt of "ax3000t-initramfs-factory.ubi
".
23.05 backport is waiting in PR. And my unit should arrive in few days
[23.05] mediatek: filogic: Add support for Xiaomi AX3000T and clean up Xiaomi WR30U by nicefile · Pull Request #15346 · openwrt/openwrt (github.com)
I see - u are trying to get something from wrong side.
Image ax3000t-ubootmod-initramfs-recovery.itb is already assuming OpenWrt partitions layout (where there is only mtd8 and no mtd9). So in your case when you load this from UART partitions table is broken! Be careful your dd maybe corrupted.
IMHO The best way: you have to find how-to get ssh on stock (with UART or better without) - then check partition table - if it's identical to CN version - just flash Openwrt via ssh.
Second way- try flash stock CN firmware - but there can be hardware model check at boot time.
Would it be possible to change the name of the interface? I'm going to use my AX3000T as Dumbs, I wanted to change the Wan port name to lan1, would it be possible?
There is: OpenWrt support for Xiaomi AX3000T - #190 by Ser9ei
It’s for 112M UBI with NMBM-Enabled layout
Hmm, after then i am not shure, that you (global) stock uboot (+stock firmware) was in the same partitions configuration, this step may change defenition.
But in any case, now you have this configuration