Can you please describe very briefly what is the TFTP procedure for this router?
I tried so far both server and client mode, without being able to trigger the tftp transfer.
Here is what I did so far:
set router LAN IP: 192.168.1.1
set laptop IP (running win 11) to 192.168.1.2
downloaded tftpd64 and configured to listen to the appropriate interface (the laptop's ethernet 192.168.1.2)
in tftpd64 I have exposed the directory containing file openwrt-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin
turned off/on router with ethernet cable connected to LAN port 1 (tried also LAN 3)
waited for the system to boot (takes about 30-40 seconds until it loads the OS)
nothing happens in this time
I have also tried turning on the router with the Reset button pressed - same result, nothing happens
I have tried also to use the tftp client command tftp -i 192.168.1.1 PUT openwrt-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin
Thank you, @darca, it's very clear now.
I was under the impression that the tftp transfer can be done without the usb-to-ttl dongle.
In fact, it was pretty obvious that the only way the Uboot menu described above "2. Upgrade firmware; 0 - TFTP client (Default)" could be shown, is via a serial terminal connected to the COM port of the dongle.
Has anyone succeded uploading the openwrt binary using the mtd-write command ?
you need to upgrade to the latest snapshots
if the version of the kernel changes on the snapshot, the other official packages will be updated to the compatibility with the new kernel, and if you stay on the older one you'll get this message since package and kernel are not compatible
the upgrade process is easy, it even keeps your configuration, you can do it through luci
only thing to keep in mind is that any "custom" package you have installed after the initial flash, will need to be manually reinstalled after the snapshot update. this includes luci itself (as it's not bundled with snapshot releases)
ssh is not sufficient unfortunately. there are two options to flash firmware without usb-to-serial adapter from OEM firmware:
asus own utility for restoring the firmware (not working)
OEM web interface flash (not working)
the second one, might be interesting to "hack" since asus uploaded the sourcecode and build tools for the OEM firmware
we just need someone with the time to
find the firmware check on the oem web ui
remove it
make a custom build that we can use as a stepping stone to flash openwrt without any hardware tinkering
Actually, this utility acts as a TFTP client, and the router as a TFTP server (when powered on while holding the reset button).
I was able to flash OpenWRT in this mode, however if failed boot, see . It looks like the image should be built differently for the restoration flash method.
Yes, you don't need to do anything physically with the router. Just enable ssh in stock fw settings and then login with the same credentials that you login to the web ui.
I confirm it works! I have successfully installed openwrt by using the mtd-write command via ssh. @vvoland, thanks a lot for your extremely useful hint!
LE: I am a bit surprised that the size of the root partition is only 33.3 MB:
Can you please confirm what is the size of the overlay partition on your AX53U routers?
I know the device has 128MB, but in my case it seems that only 33.3 MB are available (which is quite small even for a minimal list of packages):
Has anyone tried to test another GPIOs for missing leds?
According to SDK, GPIO 14 should control USB led.
There is also commented code about 2GHz WiFi LED on GPIO 18 and 5GHz WiFi LED on GPIO 28.
Have not checked it.
Assumingly, the overlay partition is the one labelled "ubi" (I couldn't find too much information about the mediatek flash layout), with a size of 47104 kB.
Why only 46 MB?
Perhaps the last partition (firmware2) should be concatenated to ubi, for a total amount of 46MB+50MB=96MB?
This would be much closer to the real flash size...
Can someone (who still has the original FW) post the flash layout stored in the dmesg log? thanks
PS: for comparison, here is the flash layout of a Xiaomi Mi Router 3, also with 128MB flash, running X-Wrt (as you can see, the size of the ubi partition is 118 MB):