OpenWrt Forum Archive

Topic: How to flash TL-WR1043ND uboot? (solved)

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

Yesterday recovered my 1043ND for the second time using USB TTL (https://forum.openwrt.org/viewtopic.php?id=38424). I want to flash hackpascal's uboot mod (http://blog.hackru.ru/2015/04/uboot-alt … breed.html), before I put the screws & cover back. Last year I flashed uboot mod for WDR4300 using (https://github.com/pepe2k/u-boot_mod) mtd write.

Could someone help me with the memory locations for the commands? Something like:
tftp 0x80000000 uboot.bin
erase 0x9f000000 +0x20000
cp.b 0x80000000 0x9f000000 0x20000

(Last edited by wrt2000 on 28 Jan 2016, 13:19)

wrt2000 wrote:

Yesterday I bricked my 1043nd and used to USB TTL to recover it. I want to flash hackpascal's uboot mod (http://blog.hackru.ru/2015/04/uboot-alt … breed.html), before I put the screws & cover back.

Could someone help me with the memory locations for the commands? Something like this:
tftp 0x80000000 uboot.bin
erase 0x9f000000 +0x20000
cp.b 0x80000000 0x9f000000 0x20000

V1 or V2?
cuz i never seen ar9132 breed builds

V1. There has been a version for v1 since last week specifically "breed-ar9132-wr1043ndv1.bin"

I found the info for flashing here http://www.right.com.cn/forum/thread-154561-1-1.html

This worked for me:

tftpboot 0x81000000 breed-ar9132-wr1043ndv1.bin
erase 0xbf000000 +0x20000
cp.b 0x81000000 0xbf000000 0x20000
bootm

I used bootm command to reset/restart because reset command wasn't working in the original u-boot.

ar7100> reset
Unknown command 'reset' - try 'help'
ar7100> help
?       - alias for 'help'
reset   - Perform RESET of the CPU
base    - print or set address offset
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cmp     - memory compare

After doing bootm, it finds nothing, and goes for a reset

ar7100> bootm
## Booting image at 81000000 ...
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover

Resetting...

Pressing WDS button before powerup, and releasing, goes to recovery, however the webgui is in chinese, the most important parts are self explanatory (I guess ; ))

The discussion might have continued from here.