Sie sind auf Seite 1von 4

GND = White

TX = BLUE
RX = RED
VCC is ignored
all other wires is NOT NEED IT
Sold or get all wire colors have contact with the holes. (I'm a bad solder, so i get my girlfriend
help me to make wires contact with the holes lol!! )
Power on the router and open putty.
Serial connection is 115200 8N1 into serial connection you get something like this:
AP93 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = 9, 2 = 9
32 MB
id read 0x100000ff
flash size 4194304, sector count = 64
Flash: 4 MB
Using default environment
In:
serial
Out:
serial
Err:
serial
Net:
ag7240_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds

now Type "tpl" (without the quotes) to get to the Uboot console prompt.
2. Open your TFTP server and put "openwrt-ar71xx-generic-tl-wr841nd-v7-squashfs-factory.bin"
image into your server current directory and rename it if you want: I renamed to openwrt.bin.
Hook your computer into the switch port and configure the IP for example: 192.168.1.2
Now we need to set router and server IP addresses (here named ROUTERIP and SERVERIP,
substitute these with the real IP addresses).

Type in the console:


setenv ipaddr ROUTERIP
setenv serverip SERVERIP
printenv

example:
setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.2
printenv

3. Double check that the output of printenv lists the IP addresses you just set. Now we can load
the firmware over TFTP with "tftpboot 0x80000000 openwrt.bin":
ar7240> tftpboot 0x80000000 openwrt.bin
Using eth0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt.bin'.
Load address: 0x80000000
Loading: checksum bad
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################################
done
Bytes transferred = 3932160 (3c0000 hex)

- Note the "3c0000" in the last line (your number may differ). Now execute the following
commands, if necessary replacing 3c0000 with the number you got from tftpboot:
4. Type this commands (you are almost done):
ar7240> erase 0x9f020000 +0x3c0000
...
ar7240> cp.b 0x80000000 0x9f020000 0x3c0000
ar7240> bootm 0x9f020000

5. Walaaaa! your router is alive again and have openwrt!!


Optional steps:
I want your router have original factory firmware again. is easy!
6. Enter into telnet, change router password.
7. Download TP-LINK WR841ND V7.2 LAST FIRMWARE:

http://www.tp-link.com/en/support/download/?model=TL-WR841ND&version=V7
8. Upload your image with WinSCP into the router folder /tmp/
rename to tplink.bin
9. Open PuTTY as SSH to 192.168.1.1 and perform the following commands after logging in:
mtd -r write /tmp/tplink.bin firmware

10. DONE, you must wait 1-2 min the router reboot and you will see TP-Link GUI again!

Thanks for this great firmware is very stable.

Regards,
Freddy Arenas

wasp> tftp 0x80000000 tl-wr941nd_v5.0.bin


Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.111
Filename 'tl-wr941nd_v5.0.bin'.
Load address: 0x80000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################################
done
Bytes transferred = 3932160 (3c0000 hex)
wasp> erase.b 0x9f020000 +0x3c0000
First 0x2 last 0x3d sector size 0x10000
61
Erased 60 sectors
wasp> cp.b 0x80000000 0x9f020000 0x3c0000
Copy to Flash... write addr: 9f020000
done
wasp> reset
U-Boot 1.1.4 (Jun

8 2013 - 15:28:02)

U-boot AP123
DRAM: 32 MB
Flash Manuf Id 0x1c, DeviceId0 0x30, DeviceId1 0x16
flash size 4MB, sector count = 64
Flash: 4 MB
Using default environment
In:
Out:
Err:
Net:

serial
serial
serial
ag934x_enet_initialize...

Das könnte Ihnen auch gefallen