Skip to content

Instantly share code, notes, and snippets.

@ottk3
Created January 14, 2017 11:20
Show Gist options
  • Select an option

  • Save ottk3/a5681ec12070b30262fae1e7de1c568f to your computer and use it in GitHub Desktop.

Select an option

Save ottk3/a5681ec12070b30262fae1e7de1c568f to your computer and use it in GitHub Desktop.
TD-W9980 - Ethernet connection not working
ROM VER: 1.1.4
CFG 05
DDR autotuning Rev 1.0
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...
U-Boot 2010.06-svn11047-LANTIQ-v-2.3.08 (May 07 2015 - 10:54:12)
CLOCK CPU 500M RAM 250M
DRAM: 64 MiB
Using default environment
In: serial
Out: serial
Err: serial
Net: Internal phy(GE) firmware version: 0x8434
vr9 Switch8192 KiB EN25Q64 at 0:3 is now current device
MAC: 00-00-00-00-00-00
run "flash_flash" to bring up the kernel
Hit any key to stop autoboot: 0
8192 KiB EN25Q64 at 0:3 is now current device
8192 KiB EN25Q64 at 0:3 is now current device
Uncompressing ...
Starting kernel ...
[ 0.000000] Linux version 4.4.14 (buildbot@debian-amd64) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50078) ) #1 SMP Fri Jan 13 05:08:51 UTC 2017
[ 0.000000] SoC: xRX200 rev 1.2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is TDW8980 - TP-LINK TD-W8980
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Detected 1 available secondary CPU(s)
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] PERCPU: Embedded 9 pages/cpu @8108b000 s8160 r8192 d20512 u36864
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000804
[ 0.000000] Readback ErrCtl register=00000804
[ 0.000000] Memory: 57680K/65536K available (4208K kernel code, 179K rwdata, 1280K rodata, 1228K init, 223K bss, 7856K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] Setting up vectored interrupts
[ 0.000000] Setting up IPI vectored interrupts
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[ 0.000012] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[ 0.007878] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.042391] pid_max: default: 32768 minimum: 301
[ 0.047266] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.053804] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.065130] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.065147] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.065373] CPU1 revision is: 00019556 (MIPS 34Kc)
[ 0.124692] Synchronize counters for CPU 1: done.
[ 0.129601] Brought up 2 CPUs
[ 0.136881] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.146709] pinctrl core: initialized pinctrl subsystem
[ 0.153154] NET: Registered protocol family 16
[ 0.163997] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.170029] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 0.283735] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.302855] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[ 0.308560] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.313786] IO 0x000000001ae00000..0x000000001affffff
[ 0.444634] ath9k,eeprom ath9k_eep: failed to load eeprom address
[ 0.475455] usbcore: registered new interface driver usbfs
[ 0.481183] usbcore: registered new interface driver hub
[ 0.486585] usbcore: registered new device driver usb
[ 0.492329] PCI host bridge to bus 0000:00
[ 0.496358] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 0.503271] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 0.510209] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.517068] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.525756] pci 0000:00:0e.0: BAR 1: assigned [mem 0x18000000-0x187fffff pref]
[ 0.532917] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18800000-0x18800fff pref]
[ 0.540408] PCI host bridge to bus 0000:01
[ 0.544437] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[ 0.551341] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff]
[ 0.558271] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 0.565140] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.573238] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 0.591446] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring
[ 0.600648] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
[ 0.607377] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c00ffff 64bit]
[ 0.614755] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 0.619770] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c0fffff]
[ 0.626711] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 0.633287] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 0.639639] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 0.646288] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 0.654487] clocksource: Switched to clocksource MIPS
[ 0.662480] NET: Registered protocol family 2
[ 0.667934] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.674829] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.681250] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.687763] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.693612] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.700276] NET: Registered protocol family 1
[ 0.705170] gptu: totally 6 16-bit timers/counters
[ 0.710032] gptu: misc_register on minor 63
[ 0.714199] gptu: succeeded to request irq 126
[ 0.718682] gptu: succeeded to request irq 127
[ 0.723214] gptu: succeeded to request irq 128
[ 0.727743] gptu: succeeded to request irq 129
[ 0.732243] gptu: succeeded to request irq 130
[ 0.736756] gptu: succeeded to request irq 131
[ 0.742970] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin
[ 0.750330] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 3A00000
[ 0.756695] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 3A00000
[ 0.866530] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.893435] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.899232] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.912258] io scheduler noop registered
[ 0.916128] io scheduler deadline registered (default)
[ 0.922943] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 0.931857] console [ttyLTQ0] enabled
[ 0.931857] console [ttyLTQ0] enabled
[ 0.939190] bootconsole [early0] disabled
[ 0.939190] bootconsole [early0] disabled
[ 0.952217] m25p80 spi0.4: en25q64 (8192 Kbytes)
[ 0.955521] 4 ofpart partitions found on MTD device spi0.4
[ 0.960959] Creating 4 MTD partitions on "spi0.4":
[ 0.965725] 0x000000000000-0x000000020000 : "u-boot"
[ 0.972957] 0x000000020000-0x0000007c0000 : "firmware"
[ 1.116826] random: nonblocking pool is initialized
[ 1.186131] 2 tplink-fw partitions found on MTD device firmware
[ 1.190656] 0x000000020000-0x0000001e62c8 : "kernel"
[ 1.197697] 0x0000001e62c8-0x0000007c0000 : "rootfs"
[ 1.203781] mtd: device 3 (rootfs) set to be root filesystem
[ 1.208247] 1 squashfs-split partitions found on MTD device rootfs
[ 1.214281] 0x0000003f0000-0x0000007c0000 : "rootfs_data"
[ 1.221788] 0x0000007c0000-0x0000007d0000 : "config"
[ 1.227613] 0x0000007d0000-0x000000800000 : "boardconfig"
[ 1.233865] spi-lantiq 1e100800.spi: Lantiq SPI controller (TXFS 8, RXFS 8, DMA 32)
[ 1.347241] libphy: lantiq,xrx200-mdio: probed
[ 1.419195] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1)
[ 1.487173] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1)
[ 1.555159] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 1.623158] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 1.631922] wdt 1f8803f0.watchdog: Init done
[ 1.640394] NET: Registered protocol family 10
[ 1.645252] NET: Registered protocol family 17
[ 1.648518] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.660985] Bridge firewalling registered
[ 1.664943] 8021q: 802.1Q VLAN Support v1.8
[ 1.670856] ath9k,eeprom ath9k_eep: pci slot: 0
[ 1.673937] pci 0000:02:00.0: fixup device configuration
[ 1.679321] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 1.685045] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[ 1.692420] pci 0000:02:00.0: fixup info: [168c:002e] revision 01 class 0x028000
[ 1.698495] ath9k,eeprom ath9k_eep: using led pin 0.
[ 1.703371] ath9k,eeprom ath9k_eep: inverted LED polarity
[ 1.708788] ath9k,eeprom ath9k_eep: disabled 5 GHz band
[ 1.714007] ath9k,eeprom ath9k_eep: loaded ath9k eeprom
[ 1.731453] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.741452] Freeing unused kernel memory: 1228K (8058d000 - 806c0000)
[ 3.109765] init: Console is alive
[ 3.112099] init: - watchdog -
[ 3.689264] eth0: port 4 got link
[ 3.796026] init: - 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
[ 7.621472] jffs2: notice: (417) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.653756] mount_root: switching to jffs2 overlay
[ 7.742242] procd: - early -
[ 7.743917] procd: - watchdog -
[ 8.485947] procd: - ubus -
[ 8.542370] procd: - init -
Please press Enter to activate this console.
[ 8.690565] eth0: port 4 lost link
[ 9.916258] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 9.928961] NET: Registered protocol family 8
[ 9.931939] NET: Registered protocol family 20
[ 9.942857] PPP generic driver version 2.4.2
[ 9.952412] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.976496] Lantiq (VRX) DSL CPE MEI driver, version 1.4.8.5, (c) 2013 Lantiq Deutschland GmbH
Lantiq CPE API Driver version: DSL CPE API V4.16.6.3
[ 9.998320]
[ 9.998320] Predefined debug level: 3
[ 10.014727] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[ 10.020962] Backport generated by backports.git backports-20160216-0-ge3c56e4
[ 10.031098] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.041889] Infineon Technologies DEU driver version 2.0.0
[ 10.047731] IFX DEU DES initialized (multiblock).
[ 10.052455] IFX DEU AES initialized (multiblock).
[ 10.056368] IFX DEU ARC4 initialized (multiblock).
[ 10.060910] IFX DEU SHA1 initialized.
[ 10.064515] IFX DEU MD5 initialized.
[ 10.068135] IFX DEU SHA1_HMAC initialized.
[ 10.072181] IFX DEU MD5_HMAC initialized.
[ 10.083844] nf_conntrack version 0.5.0 (920 buckets, 3680 max)
[ 10.141367] NET: Registered protocol family 24
[ 10.171101] xt_time: kernel timezone is -0000
[ 10.995282] usbcore: registered new interface driver ath9k_htc
[ 11.079816] PCI: Enabling device 0000:02:00.0 (0140 -> 0142)
[ 11.089421] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 11.116337] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xbc000000, irq=144
[ 16.937155] PTM 1.0.27 PTM (E1) firmware version 0.30
[ 16.941097] ifxmips_ptm: PTM init succeed
[ 20.902988] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 20.922885] device eth0.1 entered promiscuous mode
[ 20.926233] device eth0 entered promiscuous mode
[ 20.933745] eth0: port 4 got link
[ 20.936158] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.958133] br-lan: port 1(eth0.1) entered forwarding state
[ 20.962481] br-lan: port 1(eth0.1) entered forwarding state
[ 21.071286] IPv6: ADDRCONF(NETDEV_UP): ptm0: link is not ready
[ 22.962514] br-lan: port 1(eth0.1) entered forwarding state
[ 23.268053] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 23.283167] device wlan0 entered promiscuous mode
[ 23.942731] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 23.948068] br-lan: port 2(wlan0) entered forwarding state
[ 23.953328] br-lan: port 2(wlan0) entered forwarding state
[ 25.954461] br-lan: port 2(wlan0) entered forwarding state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment