OpenWrt Forum Archive

Topic: TP-LINK WR1043ND - how to flash stock firmware

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

Hey, for now I want to revert to stock firmware. I found a bin-file with "boot" in its name at tp-link.com and prepared it with dd as described here:
http://wiki.openwrt.org/toh/tp-link/tl- … l.firmware

Now I copied that file to the usb stick which is attached to the WR1043ND via SCP. What's next?

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 00140000 00010000 "kernel"
mtd2: 00690000 00010000 "rootfs"
mtd3: 00480000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 007d0000 00010000 "firmware"

So is this the right command:

mtd -e firmware -r write /mnt/sda1/<firmwarefile.bin> firmware

?

I guess it will work from the USB-stick too, but why not do as suggested in the wiki and copy tplink.bin over to /tmp? Then I believe you should use this syntax:

root@OpenWrt:/# mtd -r write /tmp/tplink.bin firmware

from the prompt of your router.

Make sure you have enough free memory as the wiki-page suggests.

Thanks for the reply! My main question was if 'firmware' is the correct device. To use an usb stick is suggested in another howto (http://samiux.blogspot.com/2010/03/howt … 043nd.html) and on the net one can find people saying that it works for them.

I can acknowledge that - I flashed from the usb stick now without a problem. This saved me from having to free some memory on my device first - I only had about 7 MB RAM left.

The discussion might have continued from here.