OpenWrt Forum Archive

Topic: TP-Link WDR3500 no LAN connection

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

Hi,

i had DD-WRT on my WDR3500v1 and it was bricked and i had no LAN connection and no loadb.
So i found a Python script to upload BB 14.07 through serial without loadb.
I'm out of the loop and it seems everything went well cause "f" brings me to the
failsafe mode and shows me the cocktail recipe.

But i still have only cable unplugged on my laptop or workstation (tried different cables).
I'm missing something? Something else i need to do (new to OpenWrt).

Here is the output after booting:

U-Boot 1.1.4 (Sep 16 2014 - 18:06:33)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
 wasp  reset mask:c03300
WASP ----> S27 PHY
: cfg1 0x5 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
s27 reg init
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
WASP ----> S27 PHY
: 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 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 14:00:51 CEST 2014
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=TL-WDR3500 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126052k/131072k available (2369k kernel code, 5020k reserved, 621k data, 272k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.080000] MIPS: machine is TP-LINK TL-WDR3500
[    0.090000] registering PCI controller with io_map_base unset
[    0.510000] bio: create slab <bio-0> at 0
[    0.510000] PCI host bridge to bus 0000:00
[    0.520000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.520000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.530000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.530000] pci 0000:00:00.0: invalid calibration data
[    0.540000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    0.540000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    0.550000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.550000] Switching to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.560000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.560000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.570000] TCP: reno registered
[    0.570000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.580000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] NET: Registered protocol family 1
[    0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.610000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.620000] msgmni has been set to 246
[    0.630000] io scheduler noop registered
[    0.630000] io scheduler deadline registered (default)
[    0.640000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.670000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.670000] console [ttyS0] enabled, bootconsole disabled
[    0.670000] console [ttyS0] enabled, bootconsole disabled
[    0.690000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.700000] m25p80 spi0.0: found en25q64, expected m25p80
[    0.700000] m25p80 spi0.0: en25q64 (8192 Kbytes)
[    0.710000] 5 tp-link partitions found on MTD device spi0.0
[    0.710000] Creating 5 MTD partitions on "spi0.0":
[    0.720000] 0x000000000000-0x000000020000 : "u-boot"
[    0.720000] 0x000000020000-0x00000012e6a8 : "kernel"
[    0.730000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.740000] 0x00000012e6a8-0x0000007f0000 : "rootfs"
[    0.750000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.760000] mtd: device 2 (rootfs) set to be root filesystem
[    0.770000] 1 squashfs-split partitions found on MTD device rootfs
[    0.770000] 0x000000350000-0x0000007f0000 : "rootfs_data"
[    0.780000] 0x0000007f0000-0x000000800000 : "art"
[    0.790000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.810000] libphy: ag71xx_mdio: probed
[    1.360000] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.400000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.950000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    2.960000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.970000] TCP: cubic registered
[    2.980000] NET: Registered protocol family 17
[    2.980000] Bridge firewalling registered
[    2.980000] 8021q: 802.1Q VLAN Support v1.8
[    3.000000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.000000] Freeing unused kernel memory: 272K (8034c000 - 80390000)
procd: Console is alive
procd: - watchdog -
[    5.170000] usbcore: registered new interface driver usbfs
[    5.180000] usbcore: registered new interface driver hub
[    5.180000] usbcore: registered new device driver usb
[    5.190000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.200000] ehci-platform: EHCI generic platform driver
[    5.210000] ehci-platform ehci-platform: EHCI Host Controller
[    5.210000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    5.220000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    5.250000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    5.250000] hub 1-0:1.0: USB hub found
[    5.260000] hub 1-0:1.0: 1 port detected
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
jffs2 is ready
jffs2 is ready
[    9.920000] jffs2: notice: (336) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 16 of xref (0 dead, 2 orphan) found.
switching to overlay
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   11.290000] NET: Registered protocol family 10
[   11.310000] nf_conntrack version 0.5.0 (1973 buckets, 7892 max)
[   11.320000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.330000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   11.340000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   11.350000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.390000] xt_time: kernel timezone is -0000
[   11.420000] cfg80211: Calling CRDA to update world regulatory domain
[   11.420000] cfg80211: World regulatory domain updated:
[   11.430000] cfg80211:  DFS Master region: unset
[   11.430000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.440000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.450000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.460000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   11.470000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[   11.470000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   11.480000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   11.490000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   11.500000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   11.540000] PPP generic driver version 2.4.2
[   11.560000] NET: Registered protocol family 24
[   11.650000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[   11.680000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   11.700000] cfg80211: Calling CRDA for country: US
[   11.710000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[   11.730000] cfg80211: Regulatory domain changed to country: US
[   11.730000] cfg80211:  DFS Master region: FCC
[   11.740000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.750000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   11.750000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   11.760000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   11.770000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   11.780000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
procd: - init complete -
[   21.170000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   21.170000] device eth0 entered promiscuous mode
[   21.180000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   21.190000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready

EDIT
Ok after playing around with enabling and disabling my Workstation NIC there is something funny.
If i disable the NIC i get:

eth0: link up (1000Mbps/Full duplex)
br-lan: port 1(eth0) entered forwarding state

If i enable my NIC i get:

eth0: link down
br-lan: port 1(eth0) entered disabled state

So its the wrong way round?????

And it only works on my Workstation in Win8.
On my Thinkpad in XP or Win10 nothing happens by enabling or disabling the NIC.

EDIT #2
Connected now to another router and port 1 is all the time switching between link up and link down.
The moment i try to access via browser i get link down.

(Last edited by MrGlasspoole on 23 Nov 2015, 01:02)

Nobody :-(

The discussion might have continued from here.