1 (edited by supertom64 2010-05-28 18:21:43)

Topic: help bricked wr741nd

hi,

[edit...]

I have flashed a wr741ndV1 with backfire factory image and all worked perfect.

Because there was not enough space for openvpn I have made a customized image with image builder ar71xx (10.03).

The Image build fine without failure and I flashed the sysupgrade image for wr741ndv1 with the Luci Interface of backfire 10.03.

Bootup looks normal and sys was first blinking and than steady but I could not connect to the router.
I have tried failsave mode with the QSS Button and sys was blinking constantly fast but as well no connection to the router.

As far as I could find in the forum the recovery over serial console is the only way.
Although I use openwrt many years I never got the dilemma to use the serial console.

I am pretty new to the serial topic and have of course read what I could find at the wiki and in the forum but
I would really need a little help because I could not find to much about the wr741nd.

I assume that some geeks already has experience with the wr741nd serial console and could tell me the pin layout
of the SJ1 connector.

Also I have read that the TTL Signal could be 3,3 Volt is that right ?

As level shifter I have ordered the Nokia CA-42 USB cable and I hope that it will work for this device.

It would be very helpful and nice if somebody could give me a helping hand.
...

thx a lot

tom

2 (edited by supertom64 2010-05-29 09:38:01)

Re: help bricked wr741nd

hi,

shame on me it seems that I didn´t search enough :-(

but fortunately found the info now on topic https://forum.openwrt.org/viewtopic.php?id=22045

I have tried to solder a 4 pin head but could not get the solder out of GND.
It seems that GND has no hole. ???

I will now solder a wire directly and test the nokia CA-42 cable which hopefully will work.

thx
tom

3 (edited by supertom64 2010-05-30 08:36:47)

Re: help bricked wr741nd

Ok,

I got serial console to work

here ist the output:


U-Boot 1.1.4 (Aug  4 2009 - 14:30:03)

AP91 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = a, 2 = b
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
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.32.10 (nico@desktop-de-nico) (gcc version 4.3.3 (GCC) ) #2 Sat Apr 3 20:46:40 CEST 2010
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7240 rev 2, CPU:350.000 MHz, AHB:175.000 MHz, DDR:350.000 MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=TL-WR741ND
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29332k/32768k available (2106k kernel code, 3436k reserved, 393k data, 152k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 232.65 BogoMIPS (lpj=1163264)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR741ND
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
PCI: fixup device 0000:00:00.0
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
PCI: mapping irq 48 to pin1@0000:00:00.0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Apr  3 2010 20:33:30 Installing.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: s25sl032a (4096 Kbytes)
Searching for RedBoot partition table in spi0.0 at offset 0x3e0000
Searching for RedBoot partition table in spi0.0 at offset 0x3f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2B0000, len=140000
0x0000002b0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
0x000000020000-0x0000003f0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xba000000, irq 5
eth1: Atheros AG71xx at 0xb9000000, irq 4
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
Distributed Switch Architecture driver version 0.1
eth0[0]: detected a Atheros AR7240 built-in switch
dsa slave smi: probed
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 152k freed
Please be patient, while OpenWrt loads ...
gpio-buttons driver version 0.1.2
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
eth0: link up (1000Mbps/Full duplex)
- preinit -
Registered led device: tl-wr741nd:green:system
Registered led device: tl-wr741nd:green:qss
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
- init -
eth0: link down

Please press Enter to activate this console. eth0: link up (1000Mbps/Full duplex)
eth1: link up (100Mbps/Full duplex)
device lan1 entered promiscuous mode
device eth0 entered promiscuous mode
device lan2 entered promiscuous mode
lan1: link up, 100Mb/s, full duplex
device lan3 entered promiscuous mode
br-lan: port 1(lan1) entering forwarding state
device lan4 entered promiscuous mode
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (460 buckets, 1840 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.



BusyBox v1.15.3 (2010-03-28 15:11:15 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
BackFire (10.03-rc3, r20653) ----------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
---------------------------------------------------
root@OpenWrt:/#

I do not know why ethernet is not working
If I ping from outside there is no response
and when I ping from inside I get the message
"ping: sendto: Operation not permitted"

here ist the output from ifconfig:

root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:27:19:15:8A:58
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:229 (229.0 B)  TX bytes:402 (402.0 B)

eth0      Link encap:Ethernet  HWaddr 00:27:19:15:8A:58
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:247 (247.0 B)  TX bytes:1449 (1.4 KiB)
          Interrupt:5

eth1      Link encap:Ethernet  HWaddr 00:27:19:15:8A:59
          inet addr:192.168.178.100  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:4

lan1      Link encap:Ethernet  HWaddr 00:27:19:15:8A:58
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:229 (229.0 B)  TX bytes:406 (406.0 B)

lan2      Link encap:Ethernet  HWaddr 00:27:19:15:8A:58
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr 00:27:19:15:8A:58
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan4      Link encap:Ethernet  HWaddr 00:27:19:15:8A:58
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:168 (168.0 B)  TX bytes:168 (168.0 B)


I am really buffled

thx
tom

Re: help bricked wr741nd

hi

I have now flashed back the firmware
following this hw doc http://nuwiki.openwrt.org/toh/tp-link/tl-wr841nd

and got it to work again with this output:


ar7240> bootm 0x9f020000
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.32.10 (openwrt@wrt1.marcant.net) (gcc version 4.3.3 (GCC) ) #20 Tue Apr 6 15:01:26 CEST 2010
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7240 rev 2, CPU:350.000 MHz, AHB:175.000 MHz, DDR:350.000 MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=TL-WR741ND
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29332k/32768k available (2101k kernel code, 3436k reserved, 397k data, 152k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 232.65 BogoMIPS (lpj=1163264)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR741ND
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
PCI: fixup device 0000:00:00.0
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
PCI: mapping irq 48 to pin1@0000:00:00.0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Mar 28 2010 17:53:41 Installing.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: s25sl032a (4096 Kbytes)
Searching for RedBoot partition table in spi0.0 at offset 0x3e0000
Searching for RedBoot partition table in spi0.0 at offset 0x3f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=150000
0x0000002a0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
0x000000020000-0x0000003f0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xba000000, irq 5
eth1: Atheros AG71xx at 0xb9000000, irq 4
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP westwood registered
NET: Registered protocol family 17
Distributed Switch Architecture driver version 0.1
eth0[0]: detected a Atheros AR7240 built-in switch
dsa slave smi: probed
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 152k freed
Please be patient, while OpenWrt loads ...
gpio-buttons driver version 0.1.2
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
eth0: link up (1000Mbps/Full duplex)
- preinit -
Registered led device: tl-wr741nd:green:system
Registered led device: tl-wr741nd:green:qss
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
- init -
eth0: link down

Please press Enter to activate this console. eth0: link up (1000Mbps/Full duplex)
eth1: link up (100Mbps/Full duplex)
device lan1 entered promiscuous mode
device eth0 entered promiscuous mode
lan1: link up, 100Mb/s, full duplex
br-lan: port 1(lan1) entering forwarding state
device lan2 entered promiscuous mode
device lan3 entered promiscuous mode
device lan4 entered promiscuous mode
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (460 buckets, 1840 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay

I will compare the output looking for any differences to figure out why network did not work anymore with customized image from build image

May be someone has a hint

thx
tom

Re: help bricked wr741nd

hi

I have build now a new image with image builder from 10.03 ar7xx just with default settings.

Image build without error but still same problem
The router do not have an network connection.

Do I something wrong or could this be a problem with the image builder ?

thx
tom

Re: help bricked wr741nd

hi

have built now 10.03 with build system from svn (build system was ubuntu 10.04)
which work so far so maybe the problem is really the image builder.

maybe someone responsible for the build system could sort this out.

thx
tom

Re: help bricked wr741nd

Just in case someone will revert back to tp-link firmware here is how i did it (without garantie and liability)

www.tp-link.com download TL-WR741ND_V1_100312 (this is a up firmware without u-boot, so nothing has to be stripped)

unzip the firmware and rename the *.bin file to original.bin

upload the firmware to /tmp

ssh to router
and do a

mtd -e firmware write original.bin firmware -r

cross your fingers and hopefully the router is available at
192.168.1.1

cu
tom


and

Re: help bricked wr741nd

Hi!
I tried to come back to original firmware (TL-WR741ND), but after that I cannot access web interface. When I access 192.168.1.1 it searches for LUA interface. :-(
Are there some way to access TP-Link config?
What do you recommend? Should I make a serial cable? How can I make this cable?

Re: help bricked wr741nd

Are there some way to access TP-Link config?

Clear your browser cache.

Re: help bricked wr741nd

Thank you!!! It works!

Re: help bricked wr741nd

I have the same problem and after installing the module for WiFi, I can not connect at all with the router. I tried also with the level of failsafe but it's not possible. Can any of you write what should be done to connect to the RS232C. Please help.

Re: help bricked wr741nd

tomi513 wrote:

I have the same problem and after installing the module for WiFi, I can not connect at all with the router. I tried also with the level of failsafe but it's not possible. Can any of you write what should be done to connect to the RS232C. Please help.

http://wiki.openwrt.org/toh/tp-link/tl-wr741nd

Yeah, failsafe doesn't work for the wr741nd for some reason, even though ifconfig shows that the network interface is up. It can't even ping itself in failsafe mode.

Re: help bricked wr741nd

What mean this charsets ?

Welcome to minicom 2.4

OPTIONS: I18n
Compiled on Jan 25 2010, 06:49:09.
Port /dev/ttyACM0

Press CTRL-A Z for help on special keys                                                                             
                                                                                                                          ????????,,?3?? mBi???????????Sm)                                                 n???0?&??????KHz?K???????L!? @ ?8??0 kI?Z"B??? ?Bi, ?????mC???? ?)5?3???Ã??- ????000?J?mB[N??0?  +??????7??Zñ? - ???200??;J?ed pro???????]????ode??dowice lan4 ent??ed pr?Z??]???mod5                   ?V?????????Y?                                                                                     ??????-!?), ??????Bm?06008????j{???,5????                                          lin4: lin??up, 1?????8M?/s??V?
                                    ???ry:??Cx????tK?}?seq!???ndnrY??????J           B???_entm?a??????max??Z.W?H?( ??????     _!????58???00 ?? ` ???00 K??J)??Âj  ????000???[~C?Registe{?d l?v0devis?
                           {???gef ?                                                                                            ?? -$3?7????-!??@ 4??0??KH?    ?????[?Z????????m)                          ? y
    (????ne?gi~t?r.n?_c?nnt?ack_ac|_????enab|J?j?device wla?0 ent?sedH????????[??V??br-lan: ?K??B?????O?*???????K??ding s|?te                                                                                 '
sy{,(575???0 {?z kR??Â???Z!? @ 4????Z!? (3?mFi,???00??B?9        !? ??25??000KI????Â?Z!??? 40??? ?hz?? (30??[????0?4 mJ?JC?    ?]S??Ù0KLz -2M?Â??Z!??C??M?ÓH~), ?&7[???? 2?&nFm)
T is(?}~???XWo?k???2?+????j?o?_c?nnt{a?/????ion 0?.0 (4?? bu?????â?????C?CON?IG_N?5?}                      ?????~r
               ???wmmn ?Y??Y??????????PleX???5x??5??????-i???j$kmrn?? para[????????????f_co??tvac?module?)??000-2?0? Ne??Z?????????m

Use since OpenBSD 3.x FreeBSD 4.x Centos 5.x Fedora 1x Debian 3.x Ubuntu 7.x
?? ??? ??? ?? OpenWRT.

Re: help bricked wr741nd

HI,i hope you can help
I have bricked wr741nd,i can get into serial console(via made up cable ca-)42,and into uboot console with tpl command/hack.

i get this below

U-Boot 1.1.4 (Mar  8 2010 - 10:29:42)

AP91 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = a, 2 = b
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
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover

Resetting...


I just want to go back to original firmware.or working openwrt.
I can get coms and upload firmware fine to router via wan port and uboot/tftp server method.
but what ever firmware i try i get the above.

this is route i follow

in serial console

setenv serverip 192.168.1.45; setenv ipaddr 192.168.1.99
tftp 0x80800000 orig.bin
erase 0x9f020000 +0x3c0000
cp.b 0x80000000 0x9f020000
bootm 0x9f020000

after this i get above result.
I think im close,i might be missing something

Any help pls.

15

Re: help bricked wr741nd

DD-WRT Forum :: View topic - can my 741ND use r14929 ?
DD-WRT Forum :: View topic - TP-Link WR741ND Firmware.

16

Re: help bricked wr741nd

hkfun2k7 wrote:

setenv serverip 192.168.1.45; setenv ipaddr 192.168.1.99
tftp 0x80800000 orig.bin
erase 0x9f020000 +0x3c0000
cp.b 0x80000000 0x9f020000
bootm 0x9f020000

tftpboot 0x80000000 orig.bin
erase 0x9f020000 +0x3c0000
cp.b 0x80000000 0x9f020000 0x3c0000
bootm 0x9f020000

Re: help bricked wr741nd

I bricked a Wr741nd today and brought it back - the only firmware that works is the 10.0.3.1 RC3, anything else fails after you change the router IP address. I have also managed OpenVPN, installing the Luci openVPN package seemed to install it when the actual package failed. Anyway, here's how I brought it back:

1. restart router, when Sys light comes on, hold front reset/QSS button for 3 seconds until SYS light starts flashing very quickly.
2. at this point connect computer directly to port 1 on router.
3. give computer static ip of 192.168.1.155.
4. restart networking on computer.
5. run: telnet 192.168.1.1 -l root
Run ‘firstboot’
Run ’sync’
Run ‘passwd’ to reset root password.
Fix computer networking and restart the router.

Then scp will work or ssh - I used winscp to make it easy, drag and drop:

•Login as root via ssh or use winscp
•Check memory usage with the free or top commands; the image can be up to 8MB, so only proceed if you have as much free RAM as the image size plus 6-8MB - I had no problem after:
•An easy way to free up some RAM is to delete the symlinks to /etc/modules.d/20-mac80211 and /etc/modules.d/27-ath9k and reboot. Drop caches can be useful too:
root@OpenWrt:/# echo 3 > /proc/sys/vm/drop_caches


•wget or scp (easy drag and drop with winscp) the new firmware build to /tmp
•And finally, using the winscp command box:

root@OpenWrt:/# mtd -r write /tmp/openwrt-ar71xx-tl-wr741nd-v1-squashfs-factory.bin firmware


The factory firmware seems to work better, use RC3 only - earlier had no wifi, trunk failed completely, sysupgrades had problems or missing items. None of them have anything other than wifi 1-11 (12-14 won't work).

Re: help bricked wr741nd

JTAG it :-)

Re: help bricked wr741nd

thnx.for reply i relealised my typo,bout 15 mins later.got it recovered to original firmware smile

Re: help bricked wr741nd

Hi! Help me plz, i bricked my 741ND v1.3. 
How? I just mount /dev/mtdbloks[2-4] as jffs2 filesystem and tried to create some files, after reboot the router is brick smile


After turn on, the power led is lighting, and sys LED with qss led is flashing once at 3-4 seconds. :-(((
Help plz.
Maybe JTAG it, but I don't know how.. I can't found any instruction anywhere.

Re: help bricked wr741nd

@Vespertilio
http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd#failsafe.mode

Re: help bricked wr741nd

Hi,
I got to my hands bricked WR741 v4.3. It went wrong when upgrading stock firmware. I read a lot in wiki and forum and just want to make some thinks 100 % sure.

I will solder (already started but my soldering iron broke before finish) headers to pins according to info in wiki.
I ordered before (but newer use so far) this USB<->TTL convertor http://cgi.ebay.com/ws/eBayISAPI.dll?Vi … OC:US:3160 To be sure if I will connect it GND-GND, VCC-3,3, TX-RX, RX-TX (or RX,TX switched) won't I burn the serial circuit? Does anyone any experience with this convenrter?

Will use TFTP recovery and assume I should use *-factory.bin image (device never flashed with non stock firmware). Is it right?

What is general difference between *-factory.bin and *-sysupgrade.bin images?

Thanks for answers

Re: help bricked wr741nd

do not connect VCC or 3.3v!!
adapter and router must have its own power..

serial only need gnd tx rx..

use factory image, it's bigger wink

Re: help bricked wr741nd

After failed installation my router ain't working properly.

WLAN not working,
I can't acces to Web-confing

So, it become as usual Switch.

In pinging it responds when I ping 192.168.1.1

Any ideas, how to revert to stock firmare?