Difference between revisions of "De Brick or Un Bricking a WRT Series Router"

m
m
Line 8: Line 8:
*A TFTP Server is available and functional on the same network as the router
*A TFTP Server is available and functional on the same network as the router


=== Flashing Firmware ===
=== Quick D (AKA Information) ===
 
* OpenWRT Firmware for AC Series of Routers: https://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/
* OpenWRT De-Bricking Information: [OpenWrt Wiki] Linksys WRT AC Series
** run nandboot (script for booting the router from the MTD5 Partition)
** run altnandboot (script for booting the router from the MTD7 Partition, AKA the 'alternate')
** GOTCHA!: One really big "gotcha" from using the above commands relates to upgrading firmware.  When booting using the altnandboot script from above, when flashing a new image it will flash it to the current partition.  This is counter to the usual behavior where OpenWRT will flash a new image to the ''other'' parition.
* A Recommendation: Configure the MTD6 Partition as the primary partition that boots the /overlay, and leave the secondary MTD8 partition configured to NOT boot an overlay.  This allows the MTD8 partition to function without a USB flash drive
*
 
<br />
===Flashing Firmware===
Even though this article is about "de bricking" a router, it is also the fastest way to install firmware on ''both'' partitions of any WRT / AC Series router from the stock Linksys firmware.  But it does require having console access to the router via a Serial / TTL cable.
Even though this article is about "de bricking" a router, it is also the fastest way to install firmware on ''both'' partitions of any WRT / AC Series router from the stock Linksys firmware.  But it does require having console access to the router via a Serial / TTL cable.


Line 95: Line 106:
===An Oddity Worth Noting===
===An Oddity Worth Noting===
It cannot be an coincidence that the WRT32X, black in color with a code name of "Venom" and a SoC from Marvell, isn't somehow named after the 2018 Marvel movie, Venom.
It cannot be an coincidence that the WRT32X, black in color with a code name of "Venom" and a SoC from Marvell, isn't somehow named after the 2018 Marvel movie, Venom.
=== Boot Errors ===
<syntaxhighlight lang="text">
NAND read: device 0 offset 0x900000, size 0x600000
6291456 bytes read: OK
Bad Linux ARM zImage magic!
</syntaxhighlight>
=== Gotcha ===
...see above sections.