Seems like those instructions don't quite work, seeing a write error:
root@OpenWrt:/tmp# flash_erase /dev/mtd15 0 0
Erasing 8192 Kibyte @ 0 -- 100 % complete
root@OpenWrt:/tmp# nandwrite -p /dev/mtd15 openwrt-10312981ba2c-qualcommax-ipq60xx-linksys_mr7500-squashfs-factory.bin
Image 20973568 bytes, NAND page 2048 bytes, OOB area 128 bytes, device size 8388608 bytes
nandwrite: error!: Input file does not fit into device
error 0 (No error information)
nandwrite: error!: Data was only partially written due to error
error 0 (No error information)
I did actually do a sysupgrade which is what caused the other partition to brick as I think it did a sysupgrade over the stock Linksys firmware rather than the OpenWRT partition which it was running on.
I just went through this on my MR7500. I also didn't have a functional WAN interface and my other partition was corrupted (I originally flashed with the firmware from the openwrt firmware picker site). Sysupgrade was also not working at all. So, I pulled the factory wrt firmware from the repo that @pppig236 provides for us and used HxD to seperate the kernel and rootfs into 2 separate .bin files. Then I used mtd to write both to their respective MTD partitions. In my case the "working" image was on the alt partitions so I erased/wrote to kernel and rootfs.
I still need to configure all my interfaces and whatnot to make sure it 100% works as expected, but it does boot and it's not complaining about aquantia not being loaded
I've just tried that method myself and it's unbricked my 2nd partition, so at least both partitions are working again.
It'd be great if we can work out how to get the WAN port working on the stock firmware as my network relies on some packages that aren't available in the NSS build, but I may leave it on the NSS build for now as it's at least working on both partitions
I wonder if using the kernel from the NSS build and the rootfs from the stock firmware would get you there. It'd be very Frakenstein's monster and alot of maintenance with very custom updates, but could be testable since there are 2 boot partitions.
Open the .bin file in HxD, then go to Edit > Select block..., set Start-offset to 0 and End-offset to 7FFFFF, then right click and copy, then File>New, then right click and paste and ok. Save it as imagename-kernel.bin so you remember it. Then do that whole process again, but set the Start-offset to 800000 and the End-offset to whatever the last block is and save it to imagename-rootfs.bin. Hope that makes some sort of sense
Hi, I was attempting to get the Wan port on my Unit running and managed to wipe the firmware for the WAN. Does anyone have a copy of MTD9 that they would be willing to share with me?
Unfortunately, the firmware for these routers is loaded from the main partition (not the internal memory of the phy chip), and the firmware loading routine is broken on the official builds.
Using the NSS build is the only way to have a working WAN port at the moment until a fix is found.
I will switch to the NSS build but I still need a copy of that partition as I override it and did not back it up. Are you able to provide a copy of it? I override it from the bootloader via the serial port.