OpenWrt Forum Archive

Topic: TP-Link TL-WR1043ND - Recovery via serial console

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

i bricked my TP-Link TL-WR1043ND wireless router with a wrong mtd command. Recovery via failsafe didn't work, so i have to recover via serial console.

The procedure is listed in the Wiki: (http://wiki.openwrt.org/toh/tp-link/tl- … 232.method)

...
erase 0xbf020000 +7c0000 # 7c0000: size of the firmware (be aware that you may have a different size thus bricking your router)
tftpboot 0x81000000 code.bin
cp.b 0x81000000 0xbf020000 0x7c0000
bootm 0xbf020000
...

Regarding this i have one question:
Does anybody know how i can find out the right size of my firmware?

Thanks in advance
mofa

0x7C0000 (hex) = 8126464 decimal

The "openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-factory.bin" image is of size 8126464:
http://downloads.openwrt.org/snapshots/ … actory.bin

So you're good to go if you use this image.  The "factory" firmware should be of a consistent size.

The discussion might have continued from here.