OpenWrt Forum Archive

Topic: 1043ND brick

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

My router 1043ND is bricked

have buy Conversor USB - TTL (PL2303)

but

sudo minicom -b 115200 -o -D /dev/ttyUSB0

Welcome to minicom 2.6.1

OPÇÕES: I18n
Compilado em May 1 2012, 10:55:27.
Port /dev/ttyUSB0

Pressione CTRL-A Z para ajuda sobre teclas especiais

sudo screen /dev/ttyUSB0 115200
�� 0.00 from b� Early m�.000000���r��Iiult: 3276�� �] TCP: r��r�������consolfound squa�
V
[ 0.s30x0000007e����r�������W��rʊ���m
X ����[ ���{P��`�4�9100) U-b
��r [mem 0x0000000t) (gcc ve`0`�ӭ 0.130000] [
[ 0.14p000] gpio�loaded and /pro�� (irq = rt����.350000] tun2tl8366rb rtl� Actions config���́L��f02 ��������9z{2Y�����@@E������= ��000000`�Dent�highmem)
[ 0.00p�-cache entr�0000] NET: ily 16
.130000] IPl000007e0000 : "$[
������ 0.480000] rtl8366r����register��0] nf_nat_rtsp v0.6.21 �sdware w�b �ɗ�MBZ
Out: serial
Err��������@�@�09:0b:ad
et����ro GCC 4.7-2noinitrd init=/sb�ɑ����: 29448k/36��
с���190000] AR71on 3.0 (200�����ձ�Ɂl`e0000 : "�0000007f0000rd_conf��000] PPP De� PPP MPPE Ct�х�����6+
[ 1.0?0000] 1f03 ``Jj�HP83 RAM: size 8MB, se@���dW��bootloader ?���, 4-way, VIPT,entries: 4096 �[ 0.000000] Readb����&�[0�٥��5�r�������serial82?�����+0x0000007e0000m+[+->Oops: flas�v�NET: Registered pr�P: hybla reg{n��ʚ�jё����������

2����镹cfg2 0x7114
��b�����͹���image at bf��[ 0.00000�avail��+ѕͥ��߭r[ `�����ystem
sri
t = 128
Us��������HKernel comman�Y
��rCtl r*�r�����wl0gpio_proc:`��r�����Ϣ��M�802000p����� 0�ram"�[ 0.350000] ->Oops: flash id 0x10216 .
[ 0.��on
[ 0.9v� fo'��� (driver?)
[ 1n0�k (driver?)��R�ɕ�́j���node ranges
���.000000] Bu teserved, 39768 minimum: 301
����r�������Switchino`u�h �reno registered
[ :��}�ɽ�� 0.180000] [ttyS0] enabl��iversal+A) and 19 (��+rʊ�trackgistered
[ 0��v�������� 1.070000]�t 0.0.11
��������
� 0.000������Inode-cache hash ta�16
�o[ �r�������������ձ�Ɂ[ �tion

try with PuTTY

/dev/ttyUSB0
115200
8
1
NONE
NONE

open and nothing

thank

soldered ok?
cables are short (about 10-15 inch)?

you could also try to add a 10k resistor between router tx and vcc, like mr3420:

http://wiki.openwrt.org/toh/tp-link/tl-mr3420#serial

and never connect vcc of serial adapter to anything..

Seems like your serial adapter has troubles to listen to the router. Is it a 3.3V model? Maybe get a different one.

now

sudo minicom


Welcome to minicom 2.6.1

OPÇÕES: I18n
Compilado em May  1 2012, 10:55:27.
Port /dev/ttyUSB0

Pressione CTRL-A Z para ajuda sobre teclas especiais                       

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhosnwrt.org>
Decompressing kernel...
!
Starting kernel...

[    0.000000] flash_size passed from bootloader = 1777
[    0.000000] bootconsole [early0] enabled
[    0.000000] booting platform Atheros AR9132 rev 2 (0xb9)
[    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.5.7.9 (root@dd-wrt) (gcc versionrelease) (Linaro GCC 4.7-2012.12) ) #6323 Mon Apr 1 09:18:21 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 bDentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table en192 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl reg00
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29448k/32768k available (2156k kernel code, 3320k reserved, 399k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:80
[    0.000000] irq init done
[    0.000000] plat_time_init: plat time init done
[    0.000000] Calibrating delay loop... BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.110000] bio: create slab <bio-0> at 0
[    0.120000] Switching to clocksource MIPS
[    0.130000] NET: Registered protocol family 2
[    0.130000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.130000] TCP establs: 1024 (order: 1, 8192 bytes)
[    0.140000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.140000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.150000] TCP: reno registered
[    0.150000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.160000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.170000] NET: Registered protocol family 1
[    0.170000] gpio_proc: module loaded and /proc/gpio/ created
[    0.180000] Register LED Device
[    0.180000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created
[    0.190000] AR7100 GPIOC major 0
[    0.190000] squashfs: version 3.0 (2006/03/15) Phillip Lougher
[    0.200000] msgmni has been set to 57
[    0.200000] io scheduler noop registered
[    0.210000] io scheduler deadline registered (default)
[    0.210000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.240000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 19) is a 16550A
[    0.240000] console [ttyS0] enabled, bootconsole disabled
[    0.240000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] guessed flashsize = 8M
[   scanning for root partition
[    0.260000] tplink uboot detected
[    0.270000] bootloader size = 20000
  0.280000]
[    0.280000] found squashfs at 110000
[    0.280000] Creating 8 MTD partitions on "ar7100-nor0":
[    0.290000] 0x000000000000-0x000000020000 : "RedBoot"
[    0.290000] 0x000000020000-0x0000007e0000 : "linux"
[    0.300000] 0x000000110000-0x000000730000 : "rootfs"
[    0.310000] mtd: partition "rootfs" set to be root filesystem
[    0.310000] 0x000000730000-0x0000007e0000 : "ddwrt"
[    0.320000] 0x0000007e0000-0x0000007f0000 : "nvram"
[    0.320000] 0x0000007f0000-0x000000800000 : "FIS directory"[    0.330000] 0x0000007f0000-0x000000800000 : "board_config"
[    0.340000] 0x000000000000-0x000000800000 : "fullflash"
[    0.350000] ->Oops: flash id 0x10216 .
[    0.350000] tun: Universal TUN/TAP device driver, 1.6
[    0.350000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.360000] Found an RTL8366RB switch
[    0.370000] Realtek RTL8366RB ethernet switch driver version 0.2.3
[    0.480000] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
[    0.480000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[    0.670000] rtl8366rb: probed
PPP generic driver version 2.4.2
[    0.880000] PPP BSD Compression module registered
[    0.890000] PPP ule registered
[    0.890000] PPP MPPE Compression module registered
[    0.900000] NET: Registered protocol family 24
[    0.910000] u32 classifier
[    0.910000]     Performance counters on
[    0.920000]     input device check on
[    0.920000]     Actions configured
[    0.920000] Netfilter messages via NETLINK v0.30.
[    0.930000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
[    0.940000] nf_conntrack_rtsp v0.6.21 loading
[    0.940000] nf_nat_rtsp v0.6.21 loading
[    0.950000] ip_tables: (C) 2000-2006 Netfilte
[    0.950000] IPP2P v0.8.2 loading
[    0.950000] TCP: westwood registered
[    0.960000] TCP: hybla registered
[    0.960000] TCP: vegas registered
[    0.960000] NET: Registered protocol family 17
[    0.970000] Bridge firewalling registered
[    0.970000] 8021q: 802.1Q VLAN Support v1.8
[    0.980000] searching for nvram
[    0.980000] nvram size = 0
[    1.010000] Atheros AR71xx hardware watchdog driver version 0.1.0
[    1.020000] ar71xx-wdt: timeout=15 secs (max=21) ref freq=200000000
[    1.040000] SQUASHFS error: Unknown inode type 15 in squashfs_iget!
[    1.050000] List of all partitions:
[    1.050000] 1f00             128 mtdblock0  (driver?)
[              7936 mtdblock1  (driver?)
[    1.060000] 1f02            6272 mtdblock2  (driver?)
[    1.070000] 1f03             704 mtdblock3  (driver?)
[    1.070000] 1f04              64 mtdblock4  (dri1.080000] 1f05              64 mtdblock5  (driver?)
[    1.080000] 1f06              64 mtdblock6  (d   1.090000] 1f07            8192 mtdblock7  (driver?)
[    1.090000] No filesystem could mount root, tried:  squashfs
[    1.100000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[    1.110000ng in 1 seconds..oot 1.1.4 (Nov 17 2009 - 11:56:26)

AP83 (ar9100) U-boot 0.0.11
DRAM: 
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fix
                                                 
....

type "tpl" and not stop

Is that the output since the power up? I don't see the uboot anywhere...
It should put something like this at first:

U-Boot 1.1.4 (Nov 17 2009 - 11:56:26)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize…
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds

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

Specially this section: http://wiki.openwrt.org/toh/tp-link/tl- … al.console

(Last edited by dabyd64 on 3 Apr 2013, 21:45)

rootfs seem to corrupted... it seems you have a mix of openwrt and ddwrt there...
Did you try to restore to openwrt or original firmware with tftp method? Refer to HERE

Good luck!

EDIT: dabyd64@ you were faster tongue

(Last edited by jaceq on 3 Apr 2013, 21:47)

http://wiki.openwrt.org/toh/tp-link/tl- … x.disabled

you have to type tpl really fast.. and start doing it maybe a little before "autobooting.." and keep typing many times...

what did you change to get good output??

(Last edited by nebbia88 on 3 Apr 2013, 22:00)

dabyd64 wrote:

Is that the output since the power up? I don't see the uboot anywhere...
It should put something like this at first:

U-Boot 1.1.4 (Nov 17 2009 - 11:56:26)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize…
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds

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

Specially this section: http://wiki.openwrt.org/toh/tp-link/tl- … al.console

yes have


U-Boot 1.1.4 (Nov 17 2009 - 11:56:26)

AP83 (ar9100) U-boot 0.0.11
DRAM: 
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    erial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
fg1 0xf cfg2 0x7114
0:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 secondsooting image at bf020000 ...
   Uncompressing Kernel Image ...

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel...
!
Starting kernel...

[    0.000000] flash_size passed from bootloader = 1777
[    0.000000] bootconsole [early0] enabled
[    0.000000] booting platform Atheros AR9132 rev 2 (0xb9)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Zone ranges:
[    0.000000]   No0x00000000-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, l Linux version 3.5.7.9 (root@dd-wrt) (gcc version 4.7.3 20121205 (prer3
[    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)
[  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: 29448k/32768k available (2156k kernel code, 3320k reserved, 399k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:80
[    0.000000] irq init done
[    0.000000] plat_time_init: plat time init done
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.110000] bio: create slab <bio-0> at 0
[    0.120000] Switching to clocksource MIPS
[    0.130000] NET: Registered protocol family 2
[    0.130000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.130000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.140000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.140000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.150000] TCP: reno registered
[    0.150000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.160000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.170000] NET: Registered protocol family 1
[    0.170000] gpio_proc: module loaded and /proc/gpio/ created
[    0.180000] Register LED Device
[    0.180000] wl0gpio_proc: module loaded and /proc/wl0gpio/ crated
[    0.190000] AR7100 GPIOC major 0
[    0.190000] squashfs: version 3.0 (2006/03/15) Phillip Lougher
[    0.200000] msgmni has been set to 57
[    0.200000] io scheduler noop registered
[    0.210000] io scheduler deadline registered (default)
[    0.210000] Serial: 8250/16550 driver, 1 ports, IRQabled
[    0.240000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 19) is a 16550A
[    0.240000] console [ttyS0] enabled, bootconsole disabled
[    0.240000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] guessed flashsize = 8M
[    0.260000] scanning for root partition
[    0.260000] tplink uboot detected
[    0.270000] bootloader size = 20000
[    0.280000]
[    0.280000] found squashfs at 110000
[ ] Creating 8 MTD partitions on "ar7100-nor0":
[    0.290000] 0x000000000000-0x000000020000 : "RedBoot"
[    0.290000] 0x000000020000-0x0000007e0000 : "linux"
[    0.300000] 0x000000110000-0x000000730000007f0000 : "nvram"
[    0.320000] 0x0000007f0000-0x000000800000 : "FIS directory"
[    0.330000]oard_config"
[    0.340000] 0x000000000000-0x000000800000 : "fullflash"
[    0.350000] ->Oops: flash id 0x102e driver, 1.6
[    0.350000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.360000] Found an RTL8366RB sRTL8366RB ethernet switch driver version 0.2.3
[    0.480000] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) )
[    0.480000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[    0.670000] rtl8366rb: probed
[    0.880000] PPP generic driver version 2.4.2
[    0.880000] PPP BSD Compression module registere
[    0.890000] PPP Deflate Compression module registered
[    0.890000] PPP MPPE Compression module registered
[    0.900000] NET: Registered protocol family 24
[    0.910000] u32 classifier
[    0.910000]     Performance counters on
[    0.920000]     input device check on
[    0.920000]     Actions configured
[    0.920000] Netfilter messages via NETLINK v0.30.
[    0.930000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
[    0.940000] nf_conntrack_rtsp v0.6.21 loading
[    0.940000] nf_nat_rtsp v0.6.21 loading
[    0.950000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.950000] IPP2P v0.8.2 loading
[    0.950000] TCP: westwood registered
[    0.960000] TCP: hybla registered
[    0.960000] TCP: vegas registered
[    0.960000] NET: Registered protocol family 17
[    0.970000] Bridge firewalling registered
[    0.970000] 8021q: 802.1Q VLAN Support v1.8
[    0.980000] searching for nvram
[    0.980000] nvram size = 0
[    1.010000] Atheros AR71xx hardware watchdog driver version 0.1.0
[    1.020000] ar71xx-wdt: timeout=15 secs  freq=200000000
[    1.040000] SQUASHFS error: Unknown inode type 15 in squashfs_iget!
[    1.050000] List of all partitions:
[    1.050000] 1f00             128 mtdblock0  (driver?)
[    1.060000] 1f01            7936 mtdblock1  (driver?)
[    1.060000] 1f02            6272 mtdblock2  (driver?)
[    1.070000] 1f03             704 mtdblock3  (driver?)
[    1.070000] 1f04              64 mtdblock4  (driver?)
[    1.080000] 1f05              64 mtdblock5  (driver?)
[    1.080000] 1f06              64 mtdblock6  (driver?)
[    1.090000] 1f07            8192 mtdblock7  (driver?)
[    1.090000] No filesystem could mount root, tried:  squashfs
[    1.100000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[    1.110000] Rebooting in 1 seconds..oot 1.1.4 (Nov 17 2009 - 11:56:26)

yes type "tpl" but no stop
loop
loop

nebbia88 wrote:

http://wiki.openwrt.org/toh/tp-link/tl- … x.disabled

you have to type tpl really fast.. and start doing it maybe a little before "autobooting.." and keep typing many times...

what did you change to get good output??

(Last edited by My20 on 3 Apr 2013, 23:10)

hardware rev 1.1 ver 1.9

and only work if

router rx - serial gnd
router tx - serial rx

why

(Last edited by My20 on 3 Apr 2013, 23:15)

My20 wrote:

hardware rev 1.1 ver 1.9

and only work if

router rx - serial gnd
router tx - serial rx

why

What?
If  you haven't connected your computer's TX (aka transmit)  to the router RX (receive)  how is the router going to "hear" what you're typing at it ?

And did you read the instructions from the wiki ?
http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd#serial

- One issue could be that you're using a 5V device for 3.3 V router (i don't think that's a problem... but i haven't tried it with this router and it COULD be a problem )

- Did you check that part about the RX pin and the jumper ? (to which nebia88 linked directly)

(Last edited by vhrm on 3 Apr 2013, 23:35)

thank you people

now is ok
maybe problem solder or contacts

The discussion might have continued from here.