OpenWrt support for Asus RT-AX59U

@johnq

3x in row

Old Sandisk Extreme, declared speeds 245/50

root@OpenWrt-router:~# hdparm -t --direct /dev/sda

Timing O_DIRECT disk reads: 688 MB in  3.01 seconds = 228.76 MB/sec

Timing O_DIRECT disk reads: 688 MB in  3.00 seconds = 229.28 MB/sec

Timing O_DIRECT disk reads: 688 MB in  3.00 seconds = 229.17 MB/sec

root@OpenWrt-router:~# dd if=/dev/sda bs=1M iflag=direct | pv > /dev/null
14966+1 records in184MiB/s] [ <=> ]
14966+1 records out
14.6GiB 0:01:20 [ 186MiB/s] [ <=>

Edit: forgot the ssd results:

/dev/sda:
Timing O_DIRECT disk reads: 746 MB in  3.00 seconds = 248.57 MB/sec
root@OpenWrt-router:~# hdparm -t --direct /dev/sda

/dev/sda:
Timing O_DIRECT disk reads: 858 MB in  3.01 seconds = 285.43 MB/sec
root@OpenWrt-router:~# hdparm -t --direct /dev/sda

/dev/sda:
Timing O_DIRECT disk reads: 884 MB in  3.01 seconds = 294.02 MB/sec
root@OpenWrt-router:~#

root@OpenWrt-router:~# dd if=/dev/sda bs=4M count=2560 iflag=direct | pv > /dev/null
2560+0 records in 235MiB/s] [                                                                                                                       <=>        ]
2560+0 records out
10.0GiB 0:00:47 [ 214MiB/s] [                                                                                                                         <=>      ]

Many thanks @Johannn123 and @acn

direct_io can get closer to the max speed limit, as you can see in the results

Anyone here able to successfully upgrade from 24.10.3 to higher like 24.10.4 and 24.10.5 or even 25.12.0-RC1 and 2?

I tried mine multiple times but it always revert back to 24.10.3. Even clean wipe, using attended sysupgrade, owut, etc.

Try owut check -v

I had to install one package going from 24.10.2. to 24.10.4.

Check this post and a reply from efahl.

Maybe you have a similar problem.

1 Like

Thanks acn for pointing me to efahl and to that other thread a few days ago. Efahl was able to help me fix the problem.

1 Like

Any instructions on how to use the asusuimage-tool to generate trx-file from the official initramfs-image? I don't really feel comfortable using a random google drive-link, even though I can appreciate that someone is providing them.

I compiled asusuimage.c and used it to generate a trx-file but it seems unsuccessful. The device has green light lit but no stable ethernet connection can be made (port flapping) so had to revert to using asus recovery tool.

The image lives inside your device as long as it takes you to perform the 2nd flash.

You are risking a brick every time you do that. You must go in order to return back to OEM:

  1. Openwrt
  2. Facinstall inside openwrt OR flash ubi_cleaner via Asus Recovery win software
  3. Flash OEM TRX.

#2 is from the same person who generates the TRX files (remittor). Remittor has a github.

The only other way is to use serial.

Thanks for the reply. I'm aware that this is intended but cannot confirm that the interim software doesn't somehow modify the image or what is written. Is there a way to checksum the final state of the filesystems and compare it?

Nor can you confirm the software that was stored on flash before you flashed the temp TRX image.

Only way to know, is by asking someone who flashed their device over serial.