it work for PPPoE ?

Flash Nand With FlashDump Of Enother RD23, Fixed

Connect the WAN port of your RD23 to the LAN port of your old router, which is currently connected to the internet. This will give the RD23 internet access and enable you to install Luci

or, if you're certain that your RD23 does not have a Winbond NAND flash chip, you can install the sysupgrade file from the Stable release (23.05.4) where Luci is present by default.

yes, it work! my router have ESMT chip.

then try "opkg update && opkg install luci" - router again crash down bootloop(( had to reinstall again

This guide:
https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/420
works whatever RD23 factory firmware version is installed (known till now)?

I would like to buy another AX3000T but I fear that if I chose RD03 I will receive firmware version 1.0.84 or newer. This is why I am thinking to the global version ...

2 Likes

There is no evidence of any stock firmware version other than 1.0.31 for the RD23. So, the current UART method should work until RD23 transitions to new hardware and updated firmware.
After that, installing OpenWrt will only be possible once support is added for the new hardware in the OpenWrt image, similar to the RD03 with firmware version 1.0.84+.

1 Like

I also have this exact same issue. No WiFi and same error in boot log

[ 7.239459] mt798x-wmac 18000000.wifi: Direct firmware load for mediatek/mt7981_eeprom_mt7976_dbdc.bin failed with error -2

This file is missing in my /lib/firmware/mediatek directory

Where should it come from? Is it a proprietary firmware file that has to be copied from somewhere? Can someone provide it as I don't seen to be able to find it anywhere.

Thanks

You have erased the EEPROM in the factory partition. Restore it. You don't need default eeprom (mt7981_eeprom_mt7976_dbdc.bin).

@t1000 / @nemoforum / or anyone using RD23 who had to apply the command "fw_setenv flag_last_success 0", could you guys please run the cat /proc/cmdline command and verify the output log? Do you have returned "firmware=1"?

I've used "fw_setenv flag_last_success 1" in my RD23, and (because?) the cat /proc/cmdline returns me "firmware=0".

my full output log
root@OpenWrt:~# cat /proc/cmdline
console=ttyS0,115200n1 loglevel=8 swiotlb=512 rootfstype=squashfs firmware=0 mtd=ubi uart_en=1

From many installation attempts, I was given the message firmware=0 and firmware=1 . I don't know how it happened, almost by chance. Now the router works stably and it is dangerous to change anything)

Hi, thanks for the reply.

Do you mean restore the backup of the factory partition I took to mtd3?

root@OpenWrt:~# cat /proc/mtd
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: 02200000 00020000 "ubi_kernel"
mtd9: 04e00000 00020000 "ubi"

root@OpenWrt:~# cat /proc/cmdline
console=ttyS0,115200n1 loglevel=8 swiotlb=512 rootfstype=squashfs firmware=0 mtd=ubi uart_en=1

yesterday everything worked fine, but today I got bootloop again. To solve the problem, I selected "Upgrade software" in U-boot menu and transferred the file "openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-initramfs-recovery.itb", then loaded 'openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi' and then 'openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin'...applied fw_setenv flag_last_success 0 and it worked. But then it may random break again...why is that?
after installing applications the system can also break, this is not normal

Probably, you need to do something similar every time the system boots successfully:

After such a fix, the changes that the bootloader makes in the nvram parameters section will not have bad consequences.

Could you please run the fw_printenv command and check whether the values in the flags flag_try_sys1_failed and flag_try_sys2_failed are not changing (remains the same) after 1-2 router reboots?

Also, please share the output log of the fw_printenv command (mask MAC addresses and other sensitive info before sharing).

I completely agree with @remittor that some data in your flags is being changed by Xiaomi OOTB bootloader. To ensure a permanent fix (I hope), you can edit the /etc/rc.local file and include all the mandatory flags, so correct values will be enforced after every router reboot avoiding bootloop:

fw_setenv boot_wait on
fw_setenv uart_en 1
fw_setenv ssh_en 1
fw_setenv boot_fw1 "run boot_rd_img;bootm"
fw_setenv flag_boot_rootfs 0
fw_setenv flag_last_success 1 // or 0 in you case
fw_setenv flag_boot_success 1
fw_setenv flag_try_sys1_failed 0

@t1000 , also read this:

It would be quite interesting to determine which exactly nvram flags are modified by the standard Xiaomi bootloader in your case.

maybe someday these adjustments will be added into the code, so that it won’t need to be added manually in /etc/rc.local file.

If someone interested I've built hanwckf's
immortalwrt with Airoha AN8855 driver , but can't test it.

2 Likes


RD23. Rebooted manually more than 6 times.
cat /proc/cmdline console=ttyS0,115200n1 loglevel=8 swiotlb=512 rootfstype=squashfs firmware=0 mtd =ubi uart_en=1

Which file should I use to test it?