You have some problems with your hardware.
So using rescue mode doesn't work?
That is how I reinstalled the stock FW multiple times.
Check for the loadx, loady, loadz etc commands in U-Boot
The stock bootloader does not have a function to remove volumes.
We ourselves must remove all changes made for the OpnWrt firmware before returning to stock.
Proof: Add support for ASUS RT-AX89X AX6000 - #326 by napierzaza
Yes, they need to be removed manually from OpenWrt first, otherwise rescue will fail
Are there some patches somewhere to make recision B1 10gbps ports also work?
Not yet, but I am tempted to just split out the B1 and B2 builds as separate ones instead of even trying to rely on the bootloader for enabling stuff
Remittor posted something about how dd-wrt was trying to add an nvram partition to the router. I did also flash this router from openwrt to stock to dd-wrt to stock and then back to dd-wrt.
I know that after flashing OpenWRT and then power cycling a few times, it stopped working.
This is why im speculating that dd-wrts changes may have fouled up my router but im not entirely sure.
This is also why I was thinking of just giving this to an OpenWRT developer living in america. I say this because shipping to other countries seems to have gotten more difficult recently. at least from what I have found with German customs.
I will make an attempt, with your help, to restore this router. But if all else fails, I rather do what I mentioned earlier in this post.
Ran the "help" command and this is what I found.
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
If you have some different partitions you just have to load into the bootloader and call ubi remove
before you try to tftp the new firmware image.
Between stock and robinmarko's image I would do
ubi remove linux
ubi remove jffs2
ubi remove rootfs
ubi remove rootfs_data
ubi create linux 0x6406000
But I don't know the names of the partitions for dd-wrt or the latest openwork snapshot.
RT-AX89U# ubi remove linux
Remove UBI volume linux (id 3)
RT-AX89U# ubi remove jffs2
Remove UBI volume jffs2 (id 4)
RT-AX89U# ubi remove rootfs
Volume rootfs not found!
RT-AX89U# ubi remove rootfs_data
Remove UBI volume rootfs_data (id 5)
RT-AX89U# ubi create linux 0x6406000
Creating dynamic volume linux of size 0x6406000
RT-AX89U#
tried it and it wiped OpenWRT out of the router. now the router is "firmwareless". I can still boot into the bootloader though. Like its still got a serial console I can work with.
Assuming you have deleted all partitions to upload you just have to
1. Hold 2 on boot
2. Plug your network cable from the device's WAN to your PC
3. Set IP of your PC to 192.168.50.75
4. tftp stock firmware from your computer to 192.168.50.1 (that's the default address of the device)
You might have to do some research on how to tftp from your computer in particular but you basically will have the file on your desktop or somewhere else and telling it to tftp to the address above.
Also if you want to play around with the uni commands you might figure out to see if there are some other partitions to delete as it seems like there are partitions other than what you deleted since I see the "id" starts at 3
This is all I got. you know how to list all ubi parititons? I mean how would you go about this?
RT-AX89U# ubi
ubi - ubi commands
Usage:
ubi part [part] [offset]
- Show or set current partition (with optional VID header offset)
ubi detach - Detach UBI device.
ubi info [l[ayout]]|[w[layout]] - Display volume and ubi layout information
ubi check volumename - check if volumename exists
ubi create[vol] volume [size] [type] - create volume name with size
ubi write[vol] address volume size - Write volume from address with size
ubi write.part address volume size [fullsize]
- Write part of a volume from address
ubi read[vol] address volume [size] [offset] - Read volume to address with size
[Legends]
volume: character name
size: specified in bytes
type: s[tatic] or d[ynamic] (default=dynamic)
RT-AX89U# ubi info
UBI: MTD device name: "mtd=2"
UBI: MTD device size: 252 MiB
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: number of good PEBs: 2016
UBI: number of bad PEBs: 0
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 5
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 2016
UBI: number of PEBs reserved for bad PEB handling: 40
UBI: max/mean erase counter: 20/12
RT-AX89U# ubi read
Please see usage
RT-AX89U#
Is your router still bricked? If there were details missing in the posts I linked earlier, I can try to fill them in when I get back from work.
I dont think the problem you have/had is the same as mine. I suggest you look back to see what I am going through.
You gotta use the rescue mode to reinstall the stock FW.
I have stated several times already that rescue mode is not working.
Wan port, lan port 1, lan port 2, and even the 10gbe port do not work. No lights or any signs of network activity. This is regardless if the device is running firmware or in rescue mode.
there are times where the wan port will light up but its stuck at 10mbps. I have already try putting a dummy switch in between for heck of it but not luck.
In bootloader mode, you must initiate network activity yourself.
Hm, then the question is WTF did DD-WRT wipe?
Can you post what print has in U-Boot?
Even if it did wipe out something important for U-Boot, I dont see how it could have broken for OpenWrt, as worst case scenario only AQR wont work and that's it
need you to be specific. im a linux newborn here.
This is what I got.
RT-AX89U# print
baudrate=115200
bootargs=console=ttyMSM0,115200n8
bootcmd=tftp
bootdelay=2
bootfile=RT-AX89U.trx
eth1addr=F0:2F:74:C5:B5:6D
eth2addr=F0:2F:74:C5:B5:6D
eth3addr=F0:2F:74:C5:B5:6D
eth4addr=F0:2F:74:C5:B5:6D
eth5addr=F0:2F:74:C5:B5:6D
ethact=eth0
ethaddr=F0:2F:74:C5:B5:6D
fdt_high=0x4A400000
fdtcontroladdr=4a9a7720
flash_type=2
imgaddr=0x4B000000
ipaddr=192.168.50.1
machid=8010000
mtddevname=Bootloader
mtddevnum=0
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:3968k(Bootloader),128k(environment),-(UBI_DEV)
netmask=255.255.255.0
partition=nand0,0
serverip=192.168.50.75
soc_version_major=2
soc_version_minor=0
stderr=serial@78B3000
stdin=serial@78B3000
stdout=serial@78B3000
Environment size: 734/131068 bytes
RT-AX89U#
I encourage the two of you to back up a bit and read what I have previously posted. I am started to feel like I am repeating myself here.
I have been asking a few questions here and there but not many people have answered them.
Stuff like "how do I view all the ubi partitions?"