OpenWrt Forum Archive

Topic: WR841N V8.4 bricked

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

Hi folks,

I bricked my router with a bad flash and tryed to recover with putty and TTL-rs232 cable.

When start the router on serial I see this:

?¦¦¦¦¦¦¦¦¦¦¦??¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦y¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦u¦l¦¦¦¦e¦¦¦¦s¦¦n¦¦¦¦e¦¦r¦¦¦¦¦¦¦¦¦¦y¦¦r¦¦¦¦n¦¦?¦¦¦¦¦¦¦¦g¦??¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦?¦o¦¦o¦¦¦t¦?¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦o¦¦¦¦y¦¦¦¦¦¦¦¦¦s¦¦¦¦¦¦¦r¦¦¦¦¦¦¦¦¦¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦¦¦n¦¦¦¦??¦¦¦¦¦¦¦e??¦¦¦¦¦¦¦¦y¦¦s¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦¦n¦¦y¦¦¦¦h¦¦¦¦¦¦¦¦¦¦¦¦t¦¦¦??¦¦¦¦¦¦¦¦¦??¦¦¦¦¦¦¦¦¦¦¦e??[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦¦¦h¦¦¦¦l¦¦¦¦¦¦e??¦¦¦¦¦¦r¦¦??¦¦¦¦¦¦¦¦¦t¦???¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦t¦¦l¦¦¦r¦¦¦¦¦¦r¦¦d¦¦¦¦i¦¦i¦¦¦o¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦it¦n¦¦¦r¦¦l¦¦¦¦i¦¦¦??¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦¦¦l¦¦e¦¦s¦e??¦¦¦¦¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦r¦¦¦¦?¦¦¦¦¦¦v¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦l¦¦¦¦e¦¦¦¦¦¦¦¦¦s¦¦v¦d¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦t¦¦¦¦¦¦¦¦m¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦?¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦b¦¦t¦¦¦¦¦¦¦¦¦¦o??¦2¦¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦?¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦i¦¦¦¦¦¦¦¦¦¦l¦¦¦¦¦¦¦i¦¦m¦m¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦t¦¦¦¦h¦¦¦¦¦¦¦¦¦¦¦¦t¦¦¦??¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦e¦¦s¦e¦¦¦¦r¦t¦¦o¦¦¦m¦¦y¦¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦x¦¦¦¦v¦¦i¦¦¦¦?¦?¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦h¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦¦¦¦¦¦¦¦?¦¦?¦¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦w¦¦¦¦i¦¦¦o¦¦l¦¦¦¦o¦¦¦¦¦¦¦?¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦¦¦¦¦t¦¦¦¦¦¦o¦¦¦¦l¦¦¦¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦t¦¦¦¦¦¦¦d¦¦¦¦¦¦a¦¦¦¦¦¦r¦¦s¦¦¦¦¦¦¦¦¦¦¦??¦¦¦¦¦¦¦¦y¦¦???¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦¦¦¦¦¦h¦¦¦¦¦¦¦¦¦r¦¦??¦¦¦¦¦¦d¦??¦¦¦¦¦¦¦¦¦¦t¦???¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦¦¦¦¦a¦¦e¦¦¦n¦¦g¦¦¦?¦s¦a¦¦i¦¦¦?¦¦¦¦¦¦d¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦e¦¦¦¦¦¦¦¦¦r¦??¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦¦¦¦¦¦¦¦¦¦t¦¦e??¦¦¦¦¦¦¦¦??¦¦¦¦¦¦¦¦¦t¦???¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦t¦¦¦¦¦¦¦¦¦¦¦¦t¦¦¦??¦¦¦¦¦r¦¦r¦¦¦¦¦¦¦¦¦¦¦¦t¦??[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦?¦¦¦¦i¦¦¦¦¦¦¦¦o¦¦¦¦l¦¦¦¦¦¦¦[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦_¦¦o?¦o¦¦l¦¦¦a¦¦¦¦¦?¦r¦¦¦¦¦?¦¦¦¦¦¦?[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦i¦¦x¦¦?¦¦¦¦¦¦¦¦¦¦¦¦¦n?¦¦¦¦¦¦¦¦¦?¦r¦¦t¦?[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦u¦s¦¦s¦¦¦¦¦¦¦o?¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦l¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦s¦¦¦¦¦¦s¦¦¦¦¦¦e¦¦?¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦¦¦¦o¦¦¦g¦¦t¦¦¦?¦¦¦¦¦¦t¦¦¦?¦¦¦¦¦¦¦¦¦¦¦?¦e¦¦¦?¦¦¦¦¦¦¦¦¦¦¦¦r¦¦¦??¦¦¦¦¦s¦¦¦¦?¦h¦¦i¦¦¦is¦¦¦¦?[¦¦¦¦¦¦¦¦¦¦¦¦?¦¦r¦¦?¦¦¦¦¦¦¦t¦?¦¦¦¦¦¦?¦¦¦¦¦¦¦¦¦¦??¦¦¦¦¦¦?¦¦¦¦¦
                      [88880.428880]8console0[ttyS8]8enabled,0bootconsole disabled
[88880.428088]8console0[ttyS8]0enabled,0bootconsole0disabled
[   00.440000] guessed flashsize8=84M
[80888.448880]8scanning8for0root0xartition
[08888.448808]0tplink0uboot0detected
[00000.450800] guessed8bootloader0size8=820888
[    0.460000]
[    0.460000] found squashfs8at0110888
[08808.460888]0Creating088MTD8xartitions0on0"ar7240-nor0":
[08808.470000]00x000808000000-0x0008888280888:0"RedBoot"
[08808.470888]08x080880820000-0x0000003e0000 : "linux"
[ 8808.480888]08x080888118888-8x0808883d88880:0"rootfs"
[08888.498888]0mtd:8xartition0"rootfs"8set0to8be8root0filesystem
[08088.498888]88x8088883d0880-8x8088003e0000 : "ddwrt"
[    0.500000]08x8888083e8088-8x8888083f80880:0"nvram"
[80888.588080]08x0888803f0800-0x0808004000000:0"board_config"
[08088.518888]08x808888088080-8x808808400000 : "fullflash"
[    0.520088]80x088088888880-8x8088880208808:8"fullboot"
[08808.538808] libphy:0Fixed0MDIO Bus:0probed
[08888.530888]0tun:0Universal0TUN/TaX8device8driver,01.6
[    0.540000] tun:0(C)01999-2004 Max Krasnyansky0<maxkxqualcomm.com>
[08888.548808]0XPX8generic0driver0version82.4.2
[00888.550000]0PPP0BSD0Compression0module0registered
[08888.550888]0XXP8Deflate0Comxression module registered
[ 0000.560000] PPP0MPPE0Comxression0module0registered
[80888.568880]0NET:0Registered8protocol0family024
[80888.580880]0u328classifier
[88880.590080]0880 Performance counters0on
[88880.598080]80888inxut0device8check0on
[88088.598080]     Actions configured
[    0.600000] Netfilter8messages8via0NETLINK8v0.38.
[08888.688808]0nf_conntrack8version08.5.08(4538buckets,818120max)
[ 8  0.618088]8nf_conntrack_rtsx0v0.6.218loading
[08808.610880] nf_nat_rtsp v0.6.21 loading
[00000.620000] ip_tables:8(C)82080-28868Netfilter8Core8Team
[88880.628080]8TCP:8westwood8registered
[08888.630000]0TCP:0hybla0registered
[88880.638088]8TCX:8vegas0registered
[08808.630000] NET: Registered protocol family017
[00008.640888]0Bridge0firewalling0registered
[88880.648088]88821q:8882.1Q8VLaN8Suxport0v1.8
[   00.650088]8searching0for8nvram
[88808.650888]0nvram8size8=88
[08888.680888]0atheros8aR71xx0hardware0watchdog0driver version00.1.8
[ 8  0.698088]8ar71xx-wdt:8timeout=158secs8(max=21)8ref0freq=288888800
[08888.980808]0irq011:8nobody8cared0(try0booting with0the0"irqpoll" option)
[80888.988888]8Call8Trace:[<8886dd2c>]08x8886dd2c
[88888.980000] [<8006dd2c>] 0x8006dd2c
[00000.980000] [<880a99c0>]88x808a99c8
[08808.980888]0[<880a9c64>]08x888a9c64
[80888.980880]0[<88187218>]00x80187218
[    0.980888]0[<888a8274>]88x808a8274
[88888.980888]0[<888a8274>]08x800a8274
[    0.980000] [<800a82e0>] 0x800a82e0
[08808.980888]0[<880aa988>]08x888aa988
[80888.988880]8[<888aa7ac>]08x880aa7ac
[80880.980000]0[<800a7b34>] 0x808a7b34
[08808.980888]0[<8806bfe8>]88x8886bfe8
[88888.980880] [<80060430>] 0x80060430
[    0.980000] [<800a021c>]88x808a021c
[08808.980888]0[<88078568>]88x88870568
[80888.988880]0[<8807d764>] 8x8007d764
[00000.980888]0[<8807d7a4>]88x8087d7a4
[08808.980888]0[<880aa988>]08x808aa988
[    0.980000] [<800aa7b4>] 0x800aa7b4
[ 8888.980808]0[<888b2cdc>]88x808b2cdc
[08888.988888]0[<8887db58>]88x8087db58
[08808.980808] [<80060430>]00x80068438
[08888.988808]8[<80864558>]80x88864558
[08888.988808]0[<80185c08>] 0x80185c08
[ 0000.980000] [<800aa31c>]08x880aa31c
[88888.988088]8[<888a92b8>]08x888a92b8
[88888.988888]8[<888a9368>]08x800a9360
[ 0  0.980000]0[<881871d4>]08x881871d4
[88888.988880]0[<880a95f0>]08x888a95f0
[    0.980000] [<80096ed4>] 0x80096ed4
[ 0000.988888]8[<801894e4>]88x881894e4
[08088.988888]8[<80183bec>]08x88183bec
[88888.988080]0[<8017fd24>] 0x8017fd24
[80888.988880]0[<88177aa8>]08x88177aa8
[80888.980880]0[<88184950>] 0x80184950
[    0.980000] [<80079988>]00x88879988
[08888.980888]0[<88178218>]80x80178218
[08808.980888]0[<88179d24>]80x80179d24
[00008.980000] [<801926e8>]08x881926e0
[88088.988888]8[<808d6348>]88x888d6348
[08  0.980000] [<800d623c>] 0x800d623c
[    0.980000]8[<888d85d0>]08x880d05d0
[88880.988088]8[<888db6b8>]08x880db6b0
[88880.988088]8[<800d06d8>]08x800d06d8
[00888.988880]0[<880de564>]88x888de564
[88808.988888]0[<880dc130>] 0x800dc130
[    0.980000] [<8012af48>] 0x8012af48
[08088.988808]8[<802ed20c>]88x882ed28c
[08088.988888]8[<808de804>]80x888de884
[ 8  0.980008]8[<802ed20c>]08x882ed28c
[88888.988888]8[<808df6b8>]08x888df6b8
[08088.980000] [<8018b18c>] 0x8018b18c
[ 0000.980000] [<8812af48>]08x8812af48
[80888.988880]0[<888ea0cc>]08x888ea8cc
[80888.980880]0[<883884a8>] 0x803004a8
[00800.980888]0[<883804c8>]88x803884c8
[88888.980888]0[<880d19a4>]88x800d19a4
[    0.980000] [<800689b0>]00x800689b0
[08088.988888]8[<802eda48>]08x882eda48
[08088.988888]8[<802ed28c>]08x882ed28c
[88000.988000]0[<80064818>] 0x88864818
[80888.988880]8[<88897e84>]08x80897e84
[80888.988800] [<800647f4>] 0x800647f4
[    0.980000]0[<80868478>]80x88868478
[08888.988808]0
[80880.988088]8handlers:
[08808.980888]0[<881871d4>]00x881871d4
[00000.980888]0Disabling8IRQ0#11
[    1.240000] VFS: Mounted0root (squashfs0filesystem)0readonly0on0device031:2.
[80881.248888]0Freeing0unused0kernel memory:0204k0freed
[ 0003.538888]8eth0:0Atheros0aG71xx0at88xb9888808,8irq04,0mode:MII
[    3.840000] ag71xx ag71xx.0 eth0: invalid speed0specified
[08083.858888]8ag71xx:8xrobe0of8ag71xx.08failed0with0error -22
[08884.188808]0compat-drivers8backxort0release:8compat-drivers-2813-03-28-5
[00084.118880]0Backport8based0on8wireless-testing.git8master-2813-84-16
[    4.120000] compat.git: wireless-testing.git
[88884.328088]8cfg80211: Calling CRDA to update world regulatory0domain
[80884.320880]0cfg80211:0World8regulatory0domain0updated:
[08084.338088]8cfg80211:888(start_freq0-8end_freq8x0bandwidth),8(max_antenna_gain,8max_eirx)
[08884.348808] cfg80211:   (2402000 KHz - 2472000 KHz ` 400000KHz),8(3808mBi,828808mBm)
[88884.348080]8cfg88211:888(24570808KHz0-824828880KHz0x8288000KHz), (3000mBi,02800 mBm)
[80884.350880]0cfg80211:088(24748888KHz0-024940808KHz0x828000 KHz), (300 mBi, 20000mBm)
[    4.360000] cfg88211:808(51788880KHz8-852508888KHz0x0488888KHz),0(3880mBi,828888mBm)
[08884.378888] cfg80211:808(57350000KHz -858358888KHz8p8488088KHz),8(3888mBi,828888mBm)
[00005.020000]0ath:8phy0:0Couldn't8reset0chip
[08885.828808]0ath:8xhy0:8Unable8to0initialize8hardware;8initialization status:0-5
[80885.038880]0ath9k8ath9k:8failed0to8initialize0device
[    5.040000] ath9k: probe0of ath9k failed with0error0-5


See the final error ath9k: probe of ath9k failed with error-5

I think that there was some bad carachters that i can clean with a pullup resistors on tx, but this isn't the problem in this situation not accept any command.
What can I do?

Thanks

(Last edited by mgeppo on 23 Aug 2013, 10:30)

you should try to fix it with resitor (and maybe use a really short cable!), then you should see clearly the uboot messages just after powering on the router. you should be able to send the "tpl" command when you see "Autobooting in 1 second..."

anyway you were using dd-wrt, not openwrt tongue

Hi nebbia88

now I try with a resistors.

Yes this is a bad flash with a dd-wrt image it seems that dd-wrt is not compatible (or the image that i used) with this router.
If i can debrick now i will try the openwrt image.

thanks

nebbia88 wrote:

you should try to fix it with resitor (and maybe use a really short cable!), then you should see clearly the uboot messages just after powering on the router. you should be able to send the "tpl" command when you see "Autobooting in 1 second..."

anyway you were using dd-wrt, not openwrt tongue

Hi nebbia88

I tried using a pullup resistor on tx but the result is the same.
Only way to view correct data is to set serial with 115200 7bit 1stop nn and this is the result:
U-boot01.1.40(nov001820128-010:25:38)

U-boot ap123


dram:00320Mb
id0read00x180008ff
flash:8840Mb
Using default environment

In:00 0seriql
out:088serial
err:088serial
Net:  0ag934x_enet_initialize...
wasp0reset0mask:c03308
WaSP0---->8S278XhY
file:0ag934x.s,line:0179==: set0LaN&WAN0sWAP.0--debug by houXB
gMac:0cfg100x50cfg200x7114
eth0:8ra:re:fa:ce:88:41
s278reg0init0
athrs27_phy_setup0aThr_PHY_cONTROL04:00x1000
athrs27_phy_setup0aTHR_PhY_SPec_STaUS04:80x18
eth08up
WaSP0---->0S278PhY
file:0ag934x.c,line:0179==: set LaN&WaN0SWaP. --debug by houXb
gMac:8cfg188xf0sfg288x7214
eth1:8bq:be:fa:ce:88:41
s278reg0init0lqn0
aTHRS27:0resetting0s27
AThrS27:8s278reset0done
athrs27_phy_setup0aTHR_PhY_cONTROl00:08x1008
qthrs27_phy_setup0aTHR_PhY_SPeC_STaUS00:00x10
athrs27_phy_setup aTHR_PhY_cONTRoL01:88x1088
qthrs27_phy_setup0aThR_PHY_SXEc_STaUS81:08x10
athrs27_phy_setup0athR_PhY_CONTRoL02:00x1000
qthrs27_phy_setup0aThR_XHY_SPEc_STaUS02:88x10
athrs27_phy_setup0aThR_PHY_CONTROL03:00x1000
athrs27_phy_setup0aThR_PHY_SPec_STaUS03:00x18
eth10up
eth0,0eth1
autobooting0in010seconds
##0booting0image0qt09f8200880...
088Uncompressing0kernel0Image0...8OK

Stqrting0kernel0...

[08000.000000] bootconsole0[eqrly0] enabled
[ 00 0.000000]0cxU0revision0is:00881974c0(mIPS074Kc)
[08800.880088]0cpu0srif0ddr0srif0cpu05358ddr04008ahb0200
detect0mem0size
uart0Init      p
booting0WaSP011!8-:)8...
[08800.880088]0sys0id8=0181230atheros aR724x rev 1.0 (0x0123)
[  000.000000] Determined0xhysicql0RaM0mqp:
[00888.088000]00memory:8820880008x0008800088(usable)
[08880.880000]0Zone0ranges:
[ 8000.000800]088Normal088[mem00x08000880-0x01ffffff]
[08800.880088]0Movable zone start for each node
[ 00 0.000000] eqrly0memory0node0ranges
[08800.880088]008node0800:8[mem08x08800088-0x01ffffff]
[08000.800088]0Xrimary0instruction0cache064kb,04-wqy,0VixT,0i-cache aliases, linesize0320bytes.
[00 00.000000]0primary0data0cache032kb,84-way,0VIPT,8cqche0aliqses,0linesize0328bytes
[00888.088800]0linux0version03.9.40(root`dd-wrt)0(gcc0version04.8.10(OpenWrt/Linaro0gcc04.8-2813.840r36550)8)0#3280Mon may 27 08:33:25 cEST 2013
[ 0000.000000] built 10zonelists0in0Zone0order,0mobility0grouping0on.08Totql8xages:08128
[00088.008800]8Kernel0sommand0line:0sonsole=ttyS0,1152800root=1f028rootfstype=squashfs0noinitrd0init=/sbin/init
[00088.000000] PId0hash table entries: 1280(order:0-3,05128bytes)
[00088.008880]0dentry0cqche0hash0table0entries:840960(order:82,0163848bytes)
[00008.000000]0inode-cache hash table0entries:020480(order:81,081928rytes)
[08008.000880]0__ex_table0already sorted, skipping0sort
[00 00.000000] Writing0errCtl0register=00880008
[08800.888008]0Readback0errctl0register=00008800
[08008.800088]0memory:029804k/32768k0available0(2190k0kernel code, 3764k reserved, 419k data,0204k init, 0k0highmem)
[08000.800088]0NR_iRQS:80
[00888.008800]0calibrating0delqy0loop...0266.648bogoMiPS0(lpj=1333248)
[08800.880088]0pid_max:0default:0327680minimum: 301
[08008.080880]0Mount-cache0hash0table0entries:8512
[  0 0.090000] NeT:0Registered protocol family016
[08800.890088]0ar71xx:0invalid8MDIO0id01
[00088.298800]8qr71xx:0no0gbit0qvailable0on eth1
[00008.310888]0rio:0create slab0<bio-0> at 0
[08800.328008]0Switching0to0clocksource MIPS
[ 0080.328000]0NeT:0Registered0xrotocol0family02
[08800.330088]0TcX0established0hash0table entries:05120(order:00, 40960bytes)
[00888.338008]0Tcp8bind0hash0table0entries:05120(order:0-1,020480rytes)
[ 0  0.340000] TCP: hqsh tables0configured0(estqblished05128bind0512)
[00888.348800]0TCP:8reno0registered
[00888.348000]0UdX8hash table0entries:02560(order:08,840960rytes)
[08888.358008]0UDX-Lite0hash0table0entries:02560(order:00,040960rytes)
[ 00 0.360000] NeT:0Registered0xrotocol0family01
[00888.368800]0gpio_proc:0module0loaded0qnd0/xroc/gpio/8sreated
[  008.370000]0wl0gpio_proc:8module0loaded0qnd0/proc/wl0gpio/0created
[ 0  0.380000] squashfs:0version 3.0 (2006/03/15)8Xhillip0lougher
[00088.380880]0msgmni0hqs0reen0set0to056
[08008.390000]0io scheduler0noop registered0(default)
[00088.398800]8Seriql:08250/165588driver,810ports, iRQ0sharing0disabled
[ 0000.420000] serial8250.8:0ttyS08at0MmIO08x180280088(irq0=011)0is0a016550a
[80880.428088]0console0[ttyS0] enabled,0bootconsole disabled
[00808.420080]0console0[ttyS0]0enabled,8bootconsole0disabled
[    0.440000] guessed0flashsize0=04M
[00880.448008]0scanning0for0root0partition
[00808.440080]0tplink uboot0detected
[  000.458080]0guessed0bootloader0size0=028080
[    0.460000]
[    0.460000] found0squashfs0at0110800
[00880.468088]0Creating088MTD0xartitions0on0"ar7248-nor0":
[  000.470000] 0x000000000808-0x0080880200800:0"RedBoot"
[00800.470080]00x000000020000-0x0000003e0000 : "linux"
[08008.480800]08x080080110800-0x0000083d00800:0"rootfs"
[00080.490000]0mtd: partition0"rootfs"0set0to0be0root0filesystem
[00880.498080]00x0008083d0000-0x0000003e0000 : "ddwrt"
[ 0080.500808]08x0808003e0808-0x0080803f00808:0"nvram"
[08808.580800]00x0000803f0000-0x0000084000000:0"board_config"
[08088.518808]08x000800800800-0x000000400000 : "fullflash"
[00800.528080]80x008008008088-8x0800008208088:8"fullboot"
[08000.530000] libphy:0Fixed MDIO0Bus:0probed
[00800.538080]0tun:8Universal8TUN/TAP0device driver, 1.6
[    0.540000] tun: (C) 1999-20040Max0Krasnyansky0<maxkpqualcomm.com>
[00080.548008]0XPX0generic0driver0version02.4.2
[00080.550000]0PPP0BSD0Compression0module0registered
[00080.558008]0XPP0Deflate Compression module registered
[    0.560000]0PPP0MPPE0Compression0module0registered
[00880.568080]8NET:8Registered0xrotocol0family 24
[08088.580800]0u328classifier
[ 0000.590000] 0000Performance8counters0on
[08008.590800]08008input0device8check0on
[0   0.590000]     Actions configured
[    0.600080]0Netfilter0messages0via0NETLINK0v0.30.
[08008.600800]0nf_conntrack0version08.5.08(4530buckets, 1812 max)
[08808.610080]0nf_conntrack_rtsp0v0.6.210loading
[0   0.610000] nf_nat_rtsp v0.6.21 loading
[    0.628080]8ip_tables:0(C)82080-20860Netfilter0Core0Team
[00800.628080]0TCP:8westwood registered
[    0.630000]0TCP:0hybla0registered
[00880.638008]0TCP:8vegas0registered
[    0.630000] NET: Registered protocol family017
[00880.648080]0Bridge0firewalling0registered
[08008.640880]08821q:8802.1Q0VLAN0Support0v1.8
[08088.650808]0searching0for0nvram
[00880.658088]0nvram0size = 0
[08080.680008]0Atheros0AR71xx0hardware0watchdog0driver version 0.1.0
[00880.698008]0ar71xx-wdt:0timeout=158secs0(max=21)0ref0freq=200000000
[00080.988808]0irq011:8nobody0cared0(try booting0with the "irqpoll"0option)
[08808.980880]0Call0Trace:[<8086dd2c>]00x8086dd2c
[    0.980000] [<8006dd2c>] 0x8006dd2c
[   88.980080]0[<808a99c0>]00x808a99c0
[00880.988088]8[<808a9c64>]80x808a9c64
[80880.988000]0[<80187218>]00x80187218
[00880.988080]0[<8089bd38>]80x8089bd38
[00880.988008]0[<800a8274>] 0x800a8274
[    0.980000] [<800a8274>]00x808a8274
[00800.988080]0[<800a82e0>]08x800a82e0
[08080.988008]0[<800aa988>]08x800aa988
[ 0000.980000] [<800aa7ac>]08x800aa7ac
[08088.980808]0[<800a7b34>]08x880a7b34
[0   0.980000] [<8006bfe8>] 0x8006bfe8
[  000.988808]0[<88060430>]08x88068430
[08808.980800]0[<808a021c>]00x808a021c
[00800.980080]0[<80870568>] 0x80070568
[00808.980080]0[<8087d764>]00x8087d764
[00880.988080]8[<8087d7a4>] 0x8007d7a4
[    0.980000] [<800aa988>] 0x808aa988
[00800.988088]0[<808aa7b4>]08x808aa7b4
[00080.988008]0[<800b2cdc>]08x800b2cdc
[   00.980000] [<8007db58>]00x8087db58
[80080.988008]0[<80060430>]08x80060430
[08008.980000] [<80064550>] 0x80064550
[    0.980000]0[<80185c08>]08x80185c08
[08088.980808]0[<880aa31c>]08x880aa31c
[08008.980800]0[<800a92b8>] 0x800a92b8
[00088.980808]0[<880a9360>]08x880a9360
[08008.980800]0[<881871d4>]00x801871d4
[    0.980000] [<800a95f0>] 0x800a95f0
[08088.980808]0[<88096ed4>]08x88096ed4
[08088.980800]0[<881894e4>]08x881894e4
[ 8  0.980000]0[<80183bec>]08x80183bec
[08088.980808]0[<8817fd24>]08x8017fd24
[08008.980000] [<80177aa8>] 0x80177aa8
[    0.980000] [<80184950>]08x88184950
[08088.980800]0[<88079988>]08x88079988
[08808.980880]0[<88178218>]00x80178218
[ 0000.980800]0[<88179d24>]08x88179d24
[08808.980800]0[<881926e0>]08x881926e0
[    0.980000] [<800d6348>] 0x800d6348
[08088.980800]0[<880d623c>]08x880d623c
[08008.980800]0[<880d05d0>]08x880d05d0
[08808.980000]0[<800db6b0>] 0x880db6b0
[08008.980800]0[<880d06d8>]00x808d06d8
[00808.980080] [<800de564>] 0x800de564
[    0.980000] [<800dc130>]08x880dc130
[08808.980880]0[<8812af48>]00x8812af48
[08808.980080]0[<802ed20c>]00x802ed20c
[    0.980000]0[<880de884>]08x888de804
[08808.980080]0[<802ed20c>]00x802ed20c
[    0.980000] [<800df6b8>] 0x800df6b8
[  008.980800]0[<8018b18c>]08x8818b18c
[08808.980080]0[<8012af48>]00x8012af48
[00808.980000] [<800ea0cc>] 0x800ea0cc
[08808.980880]0[<803084a8>]00x803084a8
[00880.988080]8[<803004c8>] 0x803004c8
[ 0  0.980000]0[<800d19a4>]00x808d19a4
[00800.980080]0[<808689b0>]00x808689b0
[80880.988008]0[<802eda48>]00x802eda40
[ 08 0.980000]0[<802ed20c>]00x802ed20c
[00800.988080]8[<80864818>]80x80864818
[    0.980000] [<80097e84>] 0x80097e84
[    0.980080]0[<808647f4>]00x808647f4
[00880.988080]8[<80860478>]80x80860478
[08088.988808]
[   00.980000] handlers:
[08088.980808]0[<881871d4>]08x881871d4
[08808.980080]0Disabling IRQ #11
[00801.240080]0VFS:0Mounted0root0(squashfs0filesystem)8readonly0on0device031:2.
[ 0 01.250808]0Freeing0unused0kernel0memory:0204k0freed
[08  3.530000] eth0: Atheros AG71xx at 0xb9000000, irq04,0mode:MII
[08003.840800]0ag71xx0ag71xx.80eth0:8invalid0speed0specified
[08003.850800]0ag71xx:0xrobe0of0ag71xx.80failed0with0error -22
[ 0004.110000] compat-drivers0backport0release:8compat-drivers-2013-03-28-5
[    4.110000] Backport based on wireless-testing.git0master-2813-04-16
[00084.128008]0compat.git:0wireless-testing.git
[08804.270800]0cfg88211:0Calling0CRDA0to0update0world regulatory domain
[    4.280000] cfg80211: World0regulatory0domain0updated:
[08804.280800]0cfg80211:008(start_freq0-0end_freq0p0bandwidth), (max_antenna_gain,8max_eirp)
[08004.290800]0cfg80211:088(24020080KHz0-02472080 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    4.380080]0cfg88211:808(24578088KHz0-024820080KHz0p0208008KHz),0(3088mBi,828008mBm)
[080 4.310000] cfg80211:000(24740808KHz0-824948088KHz0x0280800KHz),8(3808mBi,820800mBm)
[088 4.310000] cfg80211:   (5170000 KHz - 5250000 KHz0x0480880KHz),8(3800mBi,020880mBm)
[00884.320080]0cfg88211:800(57358008KHz0-058350000KHz p 400000KHz),0(300 mBi,020080mBm)
[   05.030000] ath: phy0:0Couldn't0reset0chip
[08805.030080]0ath:8phy0:0Unable0to0initialize hardware; initialization status: -5
[ 0005.840808]0ath9k0ath9k:0failed0to0initialize8device
[00885.848008]0ath9k:0xrobe0of0ath9k0failed with0error -5

When I saw "Autobooting in 1 second..." I sent the tpl comman but nothing happened.
What I', doing wrong?

Thanks

You need to get the timing exactly right

retry, retry, retry

OK
but
While type the command tpl , on the console you can see the typed characters?

Now I cleared the text:


U-boot 1.1.4 (Nov  1 2012 - 10:25:30)

U-boot AP123


DRAM:  32 MB
id read 0x100000ff
Flash:  4 MB
Using default environment

in:    serial
Out:   serial
Err:   serial
Net:   ag934eneinitialize...
wasp reset mask:c03300
WASP ----> s27 PHY
file: ag934x.c,line: 179==: set LaN&WAN SwAP. --debug by houXB
GmAC: cfg1 0x5 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
s27 reg init
athrs2phy_setup AThR_PHy_CoNTrOL 4: 0x1000
athrs27_phy_setup AtHPHy_sPEC_STAuS 4: 0x10
eth0 up
WASp ----> s27 PHY
file: ag934x.c,line: 179==: set LAN&WAN SWAP. --debug by HouxB
GMAC: cfg1 0xf cfg2 0x7214
eth1: ba:be:fa:ce:08:41
s27 reg init lan
AtHRs27: resetting s27
ATHrS27: s27 reset done
athrs27_phy_setup ATHR_PHy_CONTROl 0: 0x1000
athrs27_phsetup AtHR_PhY_sPEc_STAuS 0: 0x10
athrs27_phy_setup AtHPHy_CONtROL 1: 0x1000
athrs27_phy_setup AtHr_PHY_SPeC_sTAUS 1: 0x10
athrs27_phsetup ATHR_PhY_cONtRoL 2: 0x1000
athrs27_phy_setup aTHr_PhSPEC_STaUS 2: 0x10
athrs27_phy_setup ATHr_PHY_COnTRoL 3: 0x1000
athrs2phy_setup ATHR_pHSPESTAUS 3: 0x10
eth1 up
eth0, eth1
Autobooting in 1 seconds
## booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] bootconsole [early0] enabled
{    0.000000] cPU revision is: 0001974c (mIPs 74Kc)
[    0.000000] cpu srif ddr srif cpu 535 ddr 400 ahb 200
detect mem size
Uart Init
Booting wASp !!! -:) ...
[    0.000000] sys id = 10123 Atheros AR724x rev 1.0 (0x0123)
[    0.000000] Determined physical rAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] zone ranges:
[    0.000000}   Normal   {mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000} early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000} Primary instruction cache 64kB, 4-way, VIpT, I-cache aliases, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIpT, cache aliases, linesize 32 bytes
[    0.000000] linux version 3.9.4 (root@dd-wrt) (gcc version 4.8.1 (OpenWrt/Linaro gCC 4.8-2013.04 r36550) ) #328 Mon May 27 08:33:25 cEST 2013
{    0.000000} Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd init=/sbin/init
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000} __ex_table already sorted, skipping sort
[    0.000000} Writing errctl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29004k/32768k available (2190k kernel code, 3764k reserved, 419k data, 204k init, 0k highmem)
[    0.000000} NR_IRQS:80
[    0.000000] Calibrating delay loop... 266.64 BogomIpS (lpj=1333248)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NeT: Registered protocol family 16
{    0.090000} ar71xx: invalid MDIo id 1
[    0.290000] ar71xx: no gbit available on eth1
[    0.310000] bio: create slab <bio-0> at 0
[    0.320000] Switching to clocksource MiPS
[    0.320000] nET: Registered protocol family 2
[    0.330000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.330000] tCP bind hash table entries: 512 (order: -1, 2048 bytes)
{    0.340000] TCP: Hash tables configured (established 512 bind 512)
[    0.340000] TCP: reno registered
[    0.340000] UDp hash table entries: 256 (order: 0, 4096 bytes)
[    0.350000] UDp-lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.360000] NEt: Registered protocol family 1
[    0.360000] gpiproc: module loaded and /proc/gpio/ created
[    0.370000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created
[    0.380000] squashfs: version 3.0 (2006/03/15) Phillip Lougher
{    0.380000] msgmni has been set to 56
[    0.390000] io scheduler noop registered (default)
[    0.390000] Serial: 8250/16550 driver, 1 ports, iRQ sharing disabled
[    0.420000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.420000] console [ttyS0] enabled, bootconsole disabled
[    0.420000] console [ttyS0] enabled, bootconsole disabled
[    0.440000] guessed flashsize = 4M
[    0.440000] scanning for root partition
[    0.440000] tplink uboot detected
[    0.450000] guessed bootloader size = 20000
[    0.460000]
[    0.460000] found squashfs at 110000
[    0.460000] Creating 8 MTD partitions on "ar7240-nor0":
[    0.470000] 0x000000000000-0x000000020000 : "RedBoot"
[    0.470000] 0x000000020000-0x0000003e0000 : "linux"
[    0.480000] 0x000000110000-0x0000003d0000 : "rootfs"
[    0.490000] mtd: partition "rootfs" set to be root filesystem
[    0.490000] 0x0000003d0000-0x0000003e0000 : "ddwrt"
[    0.500000] 0x0000003e0000-0x0000003f0000 : "nvram"
[    0.500000] 0x0000003f0000-0x000000400000 : "board_config"
[    0.510000] 0x000000000000-0x000000400000 : "fullflash"
[    0.520000] 0x000000000000-0x000000020000 : "fullboot"
[    0.530000] libphy: Fixed MDIO Bus: probed
[    0.530000] tun: Universal TUN/TAP device driver, 1.6
[    0.540000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.540000] PPP generic driver version 2.4.2
[    0.550000] PPP BSD Compression module registered
[    0.550000] PPP Deflate Compression module registered
[    0.560000] PPP MPPE Compression module registered
[    0.560000] NET: Registered protocol family 24
[    0.580000] u32 classifier
[    0.590000]     Performance counters on
[    0.590000]     input device check on
[    0.590000]     Actions configured
[    0.600000] Netfilter messages via NETLINK v0.30.
[    0.600000] nf_conntrack version 0.5.0 (453 buckets, 1812 max)
[    0.610000] nf_conntrack_rtsp v0.6.21 loading
[    0.610000] nf_nat_rtsp v0.6.21 loading
[    0.620000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.620000] TCP: westwood registered
[    0.630000] TCP: hybla registered
[    0.630000] TCP: vegas registered
[    0.630000] NET: Registered protocol family 17
[    0.640000] Bridge firewalling registered
[    0.640000] 8021q: 802.1Q VLAN Support v1.8
[    0.650000] searching for nvram
[    0.650000] nvram size = 0
[    0.680000] Atheros AR71xx hardware watchdog driver version 0.1.0
[    0.690000] ar71xx-wdt: timeout=15 secs (max=21) ref freq=200000000
[    0.980000] irq 11: nobody cared (try booting with the "irqpoll" option)
[    0.980000] Call Trace:[<8006dd2c>] 0x8006dd2c
[    0.980000] [<8006dd2c>] 0x8006dd2c
[    0.980000] [<800a99c0>] 0x800a99c0
[    0.980000] [<800a9c64>] 0x800a9c64
[    0.980000] [<80187218>] 0x80187218
[    0.980000] [<8009bd38>] 0x8009bd38
[    0.980000] [<800a8274>] 0x800a8274
[    0.980000] [<800a8274>] 0x800a8274
[    0.980000] [<800a82e0>] 0x800a82e0
[    0.980000] [<800aa988>] 0x800aa988
[    0.980000] [<800aa7ac>] 0x800aa7ac
[    0.980000] [<800a7b34>] 0x800a7b34
[    0.980000] [<8006bfe8>] 0x8006bfe8
[    0.980000] [<80060430>] 0x80060430
[    0.980000] [<800a021c>] 0x800a021c
[    0.980000] [<80070568>] 0x80070568
[    0.980000] [<8007d764>] 0x8007d764
[    0.980000] [<8007d7a4>] 0x8007d7a4
[    0.980000] [<800aa988>] 0x800aa988
[    0.980000] [<800aa7b4>] 0x800aa7b4
[    0.980000] [<800b2cdc>] 0x800b2cdc
[    0.980000] [<8007db58>] 0x8007db58
[    0.980000] [<80060430>] 0x80060430
[    0.980000] [<80064550>] 0x80064550
[    0.980000] [<80185c08>] 0x80185c08
[    0.980000] [<800aa31c>] 0x800aa31c
[    0.980000] [<800a92b8>] 0x800a92b8
[    0.980000] [<800a9360>] 0x800a9360
[    0.980000] [<801871d4>] 0x801871d4
[    0.980000] [<800a95f0>] 0x800a95f0
[    0.980000] [<80096ed4>] 0x80096ed4
[    0.980000] [<801894e4>] 0x801894e4
[    0.980000] [<80183bec>] 0x80183bec
[    0.980000] [<8017fd24>] 0x8017fd24
[    0.980000] [<80177aa8>] 0x80177aa8
[    0.980000] [<80184950>] 0x80184950
[    0.980000] [<80079988>] 0x80079988
[    0.980000] [<80178218>] 0x80178218
[    0.980000] [<80179d24>] 0x80179d24
[    0.980000] [<801926e0>] 0x801926e0
[    0.980000] [<800d6348>] 0x800d6348
[    0.980000] [<800d623c>] 0x800d623c
[    0.980000] [<800d05d0>] 0x800d05d0
[    0.980000] [<800db6b0>] 0x800db6b0
[    0.980000] [<800d06d8>] 0x800d06d8
[    0.980000] [<800de564>] 0x800de564
[    0.980000] [<800dc130>] 0x800dc130
[    0.980000] [<8012af48>] 0x8012af48
[    0.980000] [<802ed20c>] 0x802ed20c
[    0.980000] [<800de804>] 0x800de804
[    0.980000] [<802ed20c>] 0x802ed20c
[    0.980000] [<800df6b8>] 0x800df6b8
[    0.980000] [<8018b18c>] 0x8018b18c
[    0.980000] [<8012af48>] 0x8012af48
[    0.980000] [<800ea0cc>] 0x800ea0cc
[    0.980000] [<803004a8>] 0x803004a8
[    0.980000] [<803004c8>] 0x803004c8
[    0.980000] [<800d19a4>] 0x800d19a4
[    0.980000] [<800689b0>] 0x800689b0
[    0.980000] [<802eda40>] 0x802eda40
[    0.980000] [<802ed20c>] 0x802ed20c
[    0.980000] [<80064818>] 0x80064818
[    0.980000] [<80097e84>] 0x80097e84
[    0.980000] [<800647f4>] 0x800647f4
[    0.980000] [<80060478>] 0x80060478
[    0.980000] [<800bb24e>] 0x800bb24e
[    0.980000]
[    0.980000] handlers:
[    0.980000] [<801871d4>] 0x801871d4
[    0.980000] Disabling IRQ #11
[    1.240000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.250000] Freeing unused kernel memory: 204k freed
[    3.550000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    3.850000] ag71xx ag71xx.0 eth0: invalid speed specified
[    3.860000] ag71xx: probe of ag71xx.0 failed with error -22
[    4.120000] compat-drivers backport release: compat-drivers-2013-03-28-5
[    4.130000] Backport based on wireless-testing.git master-2013-04-16
[    4.130000] compat.git: wireless-testing.git
[    4.330000] cfg80211: Calling CRDA to update world regulatory domain
[    4.340000] cfg80211: World regulatory domain updated:
[    4.350000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    4.350000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    4.360000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    4.370000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    4.380000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    4.390000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    5.040000] ath: phy0: Couldn't reset chip
[    5.040000] ath: phy0: Unable to initialize hardware; initialization status: -5
[    5.050000] ath9k ath9k: failed to initialize device
[    5.050000] ath9k: probe of ath9k failed with error -5


but it seems that I cannot send any characters.

(Last edited by mgeppo on 26 Aug 2013, 15:50)

no you do not see what you type! it's normal.. but the booting process should stop.

paste "tpl" from clipboard, works better than hand-typing..

(Last edited by nebbia88 on 26 Aug 2013, 17:23)

Ok I retry

Thanks

nothing to do!!

I tried thousand of times, I tested my adpter rs232-ttl (and work better)
I tried also with openport a sw that have an autosend  function, but uboot don't stop the autobooting.

I checked on serial output this line:
[    0.000000] sys id = 10123 Atheros AR724x rev 1.0 (0x0123)

My wr841n V8.4 has the ar9341 chip (this is the reason that is bricked I thinks) can this cause that the uboot not is responding?

Someone has any Idea??

thanks

no, uboot is OK (you see for example "file: ag934x.c,line", so it's the for your CPU wink) and uboot is what should respond to serial.

the fact you probably flashed a firmware for v7.x version (that has ar7241) has nothing to do with uboot!

i found other suggestion for resistors:

http://i1086.photobucket.com/albums/j44 … 91cf54.jpg


what voltage did you get if you measure tx vs gnd on the "ttl side" of your adapter (with router off!)

Are you sure tx is connected properly?

Sounds like you cannot send anything to your router
So double check the cables

I also had the same dubt therefore I tested the adapter connecting the two wires (tx and rx ttl side) together and in this mode i can see the commnad sent.

Then I suppose that the adapter is working well.

Thanks for your reply

What about flow control option ?

The discussion might have continued from here.