OpenWrt Forum Archive

Topic: TP-LINK TD-W8980 support ( atheros based )

The content of this topic has been archived between 28 Apr 2018 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Thanks for your reply. What is HW difference between 8980B and 8980? Mainboard is the same, I think only difference is FW?

Inovator wrote:

Thanks for your reply. What is HW difference between 8980B and 8980? Mainboard is the same, I think only difference is FW?

Just the firmware. The hardware is identical.

Inovator wrote:

Thanks for your reply. What is HW difference between 8980B and 8980? Mainboard is the same, I think only difference is FW?

Yes, the Mainboard is the same, but the soldered components differ. For example, next to the DSL Port you will find the line transformer. The partnumber of that line transformer is MNC EP-833SG for the Annex B and MNC EP-832SG for the Annex A version. Next to the line transformer you will find either a 10 Ohm (Annex B) or a 25 Ohm (Annex A) resistor. And so on...

You can find high res pictures of the (my) 8980 board in the wiki. Feel free to do a compare by yourself.

zhadoom wrote:

Just the firmware. The hardware is identical.

Am I right, that you never tried the combination of ADSL + 8980 board + 8980B stock firmware or the other way round (same applies to openwrt + using the Annex A xdsl firmware with an Annex B board or the other way round)? Using that combination, you will get the error message "Wrong combination of DSL PHY Firmware and hybrid type used! Please change one of it".

Among others, there are a few pull-up/down resistors which locks the xDSL Chip to a particular ADSL Annex and you will never get a sync.

As written before, this doesn't apply to VDSL. VDSL does work with the Annex A as well as the Annex B boards.

(Last edited by mkresin on 7 Jan 2016, 00:18)

mkresin wrote:

Yes, the Mainboard is the same, but the soldered components differ. For example, next to the DSL Port you will find the line transformer. The partnumber of that line transformer is MNC EP-833SG for the Annex B and MNC EP-832SG for the Annex A version. Next to the line transformer you will find either a 10 Ohm (Annex B) or a 25 Ohm (Annex A) resistor. And so on...

You can find high res pictures of the (my) 8980 board in the wiki. Feel free to do a compare by yourself.

Yes, you're right. I did'nt look carefuly at all SMD components...

I'm unable to send you a PM, so feel free to contact me thru inovator[at]gmail.com for info about shipping costs.

I'm trying to come up to speed on this device (I purchased it after finding that my DNDR3700 DSL was not going to be supported, people on the forum pointed me at this)

looking at https://github.com/xdarklight/mktplinkfw3 it seems as if there is a way to flash openwrt onto this without having to break out a serial cable, can anyone more familiar with this tell me if I'm understanding things correctly?

Is there a nightly build for this?

If this router is still not really supported, can anyone point me at a DSL router that is supported?

Yeah would be really nice if someone who already flashed his/her device could give some more information. I think install via webinterface won't work. But do I need UART Bootmode? And do I need this patched U-Boot? Isn't it possible to just use the normal U-Boot and boot via TFTP and patch it from there?

EDIT: Also what about the DSL-Modem? Where do I get the firmware and everything. I think we can really improve that wiki article!

(Last edited by hpfmn on 3 Mar 2016, 09:03)

Apologies for cross-posting. I've just submitted a new topic, https://forum.openwrt.org/viewtopic.php?id=63145

I'm trying to get VDSL setup working on this router. To summarise:

- I'm using custom build from master (as of a few days ago)
- I believe VDSL modem is syncing
- I can setup PPPoE from this box via external modem
- I CANNOT seem to get PPPoE to go via internal modem (ptm0).

Any ideas?

Adam

Today i have manage to physically compare both versions (annex A, annex B).

There is also different PCB layout in XDSL area and components are following:

TD-89xxB - annex B

EP-833SG
R198 - 10R
diodes D10,D20,D9 unreadable

89xx - annex A

EP-832SG
R198 - 24R9 2
diodes D9,D10 - unreadable
D20 is missing from layout

Tried to run 89xx (ANNEX A) version on ANNEX B - not sync at all. Make sense. VDSL2 ANNEX A modem works on ANNEX B with Openwrt, just needed to use firmware mentioned in TPLink8970 OpenWRT wiki. 5 GHz wifi card has non-propietar driver and I dont expect that this will ever work. Its hardly work with genuine TPLINK fw.
My personal option for 8980 hw will be to crossflash to 9980 (same HW), where you can easily change xDSL mode (ADSL->VDSL and back). ADSL annex A/B is also possible, but dont work as expected.

According install of Openwrt, there are 2 basic approaches:

1) using USB to TTL convertor + 3 wires. No soldering is required, as 8980 has wholes, just put wires according wiki and you are go. You can completely follow 8970 guidline, hw is identical
2) using raspberry pi + POMONA 5250 EEPROM clip-on. I have written article about procedure, please check
http://www.skfree.sk/2015/08/26/tp-link … ebricking/
3) ask somebody to have for you box programmed

(Last edited by skfree on 4 Mar 2016, 21:16)

Has anyone successfully gotten the UART boot method to work on the 8980? If so, how? Shorting the right-side of R225 to ground, as described in the wiki, did not work for me.

Any tips appreciated, as I've now got an inoperative u-boot image flashed... :-(

@Scotch's Yes!!! That got it! Thanks for the suggestion!!!! I'll modify the 8980 wiki if I have the required permissions...

Thank you very much again!!!!

Lantiq is Now Intel

Lantiq is now the Intel Connected Home Division. We provide the global communications industry with solutions for ultrafast broadband access and secure, effortless connected home experiences. 

The Connected Home Division portfolio includes cable, DSL and fiber access technologies, home and business gateway SoCs, and key components for voice and data communications. Our products are used by service providers and equipment manufacturers to deliver content and computing services that make people’s homes smarter and more connected than ever before.

http://www.intel.com/content/www/us/en/ … tions.html

So it's time to rename Lantiq to Intel in trunk ?

(Last edited by Snakus on 24 Apr 2016, 08:43)

BTW this issue of Annex A board not working on Annex B line and vice versa only affects the new chips that support VDSL. Apparently there is no issue with this hardware https://wiki.openwrt.org/toh/bt/homehub_v2b if correct firmware is used. This is a first hand experience I am/was operating it in both Annex A country (UK) as well as Annex B one (Slovakia).

Hi

  I purchased a brand new TP-link w8980 in Australia, with following versions

Firmware version:  0.6.0 1.8 v000e.0 Build 150514 Rel.40138n
Hardware version: TD-W8980 v1 00000000

  I build a custom openwrt firmware, can I do a direct upload through the gui interface?
 
https://wiki.openwrt.org/toh/tp-link/td-w8980 throws a warning about the firmware version, when checked the tplink official page for firmware, it dosent list firmware before "12.10.2013 ". 

Any help regarding this is highly regarded.

Thanks,

datla wrote:

Hi
Firmware version:  0.6.0 1.8 v000e.0 Build 150514 Rel.40138n
Hardware version: TD-W8980 v1 00000000

  I build a custom openwrt firmware, can I do a direct upload through the gui interface?

It's unlikely that the firmware will be accepted. But give it a try! The worst that can happen is that the gui refuses to accept the firmware and doesn't start the upgrade.

Hi Mkresin, I will try that and post the output, meanwhile i got an older TPLink w8980, could not connect to Internet via ADSL, neither via WAN/LAN port of the switch.

If anyone could do that can you please share the configuration ?

Thanks,
Datla

Below is my configuration
Please share your views..

root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fdb0:40f6:f803::/48'

config atm-bridge 'atm'
    option encaps 'llc'
    option payload 'bridged'
    option vci '35'
    option vpi '8'

config dsl 'dsl'
    option annex 'a'
    option tone 'av'
    option xfer_mode 'ptm'

config interface 'lan'
    option type 'bridge'
    option ifname 'eth0.1'
    option proto 'static'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option ipaddr '192.168.112.1'

config device 'lan_dev'
    option name 'eth0.1'
    option macaddr 'c4:e9:84:2a:f8:28'

config interface 'wan'
    option _orig_ifname 'ptm0'
    option _orig_bridge 'false'
    option ifname 'eth0.2'
    option proto 'dhcp'

config device 'wan_dev'
    option name 'ptm0'
    option macaddr 'c4:e9:84:2a:f8:29'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option vid '1'
    option ports '0 2 4 6t'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option vid '2'
    option ports '5'

config interface 'wan_pppoe'
    option proto 'pppoe'
    option ifname 'ptm0'
    option username 'sdfsdfsdf'
    option password 'sdfsdfsdf'
    option ipv6 'auto'


Thanks,
Datla

Your config option

config dsl 'dsl'
    option annex 'a'
    option tone 'av'
    option xfer_mode 'ptm'

is wrong

xfer_mode ptm is for VDSL.

Try to use:

config vdsl 'dsl'
    option annex 'a'
    option firmware '/lib/firmware/vdsl.bin'
    option tone 'av'
    option xfer_mode 'atm'

also login via ssh and run

# cd /etc/init.d
# ./dsl_control status

output should be like:

root@OpenWrt:/etc/init.d# ./dsl_control status
Chipset:                Lantiq-VRx Unknown
Line State:             UP [0x801: showtime_tc_sync]
Data Rate:              84.000 Mb/s / 8.400 Mb/s
Line Attenuation:       8.5dB / 0.0dB
Noise Margin:           10.1dB / 24.6dB
Line Uptime:            54d 15h 28m 38s

also share your network/ADSL operator country and name and we can advise

(Last edited by skfree on 1 Jun 2016, 09:48)

Hi Skfree,

  Thanks for pointing to this, but it still dosent resolve my issue.

  1. I did not find the file vdsl.bin any where in the box and in openwrt codebase. Am I missing something ?

  2.  cd /etc/init.d/
root@OpenWrt:/etc/init.d# ./dsl_control status
ATU-C Vendor ID:                          Infineon 113.185
ATU-C System Vendor ID:                   00,00,30,30,30,30,00,00
Chipset:                                  Lantiq-VRX200 Unknown
Firmware Version:                         5.7.1.8.0.1
API Version:                              4.16.6.3
XTSE Capabilities:                        0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0
Annex:                                    A
Line Mode:                                G.992.5 (ADSL2+)
Profile:                                 
Line State:                               UP [0x801: showtime_tc_sync]
Forward Error Correction Seconds (FECS):  Near: 0 / Far: 0
Errored seconds (ES):                     Near: 0 / Far: 0
Severely Errored Seconds (SES):           Near: 0 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 0 / Far: 2
Unavailable Seconds (UAS):                Near: 55 / Far: 55
Header Error Code Errors (HEC):           Near: 0 / Far: 7
Non Pre-emtive CRC errors (CRC_P):        Near: 0 / Far: 0
Pre-emtive CRC errors (CRCP_P):           Near: 0 / Far: 0
Power Management Mode:                    L0 - Synchronized
Latency / Interleave Delay:               Down: Interleave (10.75 ms) / Up: Interleave (1.25 ms)
Data Rate:                                Down: 12.052 Mb/s / Up: 1.020 Mb/s
Line Attenuation (LATN):                  Down: 34.7dB / Up: 15.7dB
Signal Attenuation (SATN):                Down: 33.0dB / Up: 16.1dB
Noise Margin (SNR):                       Down: 6.8dB / Up: 9.2dB
Aggregate Transmit Power (ACTATP):        Down: 20.4dB / Up: 11.9dB
Max. Attainable Data Rate (ATTNDR):       Down: 12.480 Mb/s / Up: 1.112 Mb/s
Line Uptime Seconds:                      232
Line Uptime:                              3m 52s

  3. Output of log read is :
Sun Apr 17 18:34:40 2016 daemon.warn pppd[5356]: Timeout waiting for PADO packets
Sun Apr 17 18:34:40 2016 daemon.err pppd[5356]: Unable to complete PPPoE Discovery
Sun Apr 17 18:34:40 2016 daemon.info pppd[5356]: Exit.
Sun Apr 17 18:34:40 2016 daemon.notice netifd: Interface 'wan_pppoe' is now down
Sun Apr 17 18:34:40 2016 daemon.notice netifd: Interface 'wan_pppoe' is disabled
Sun Apr 17 18:34:40 2016 daemon.notice netifd: Interface 'wan_pppoe' is enabled
Sun Apr 17 18:34:40 2016 daemon.notice netifd: Interface 'wan_pppoe' is setting up now
Sun Apr 17 18:34:40 2016 daemon.info pppd[5544]: Plugin rp-pppoe.so loaded.
Sun Apr 17 18:34:40 2016 daemon.info pppd[5544]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Sun Apr 17 18:34:40 2016 daemon.notice pppd[5544]: pppd 2.4.7 started by root, uid 0

4. I'm using this device from sydney, its TPG network.

Thanks,
Datla

Hi Datla,

1. very good question. In case you want to use ADSL, you dont need VDSL firmware (which is supporting ADSL also), but it may be reason why you have problems. What is good, that dsl_control show live ADSL line, so you probably dont have problem with firmware at all, but on ATM/PPPoE setup!!!

All is documented on TPLINK 8970 wiki page, as TPLINK 8970 and 8980 are identical, only difference is 5ghz radio, which is NOT WORKING with OPENWRT on TPLINK 8980. 5ghz wifi works only with stock firmware!!!

https://wiki.openwrt.org/toh/tp-link/td-w8970 - > check VDSL.BIN section!

vdsl.bin located in /lib/firmware is obtained using script /sbin/vdsl_fw_install.sh. First check, if you have this file.
If yes, try to run it, it will download file from DE telekom with original firmware. I suppose file is already lost, so workaround is to download bin file manually using browser and put it into /tmp and have name

/tmp/Firmware_Speedport_W921V_1.21.000.bin

then rerun /sbin/vdsl_fw_install.sh and it will do its job with installing firmware file into /lib/firmware.

All firmware is here

https://xdarklight.github.io/lantiq-xdsl-firmware-info/

but here is link for firmware i am still using:

https://mega.nz/#!xpQ0QCTL!Iw2ZD5Of-4yt … 8xqaas6mko

2. this shows, that your ADSL line is ALIVE! Line is UP, you are in sync, so-far so good! Checked your provider settins, your setup looks good as this:

https://www.tpg.com.au/helpdesk/pppoe/D … _PPPoE.pdf

I assume to try this:

1. login via web interface Network->Interfaces and check ATM Bridges setting. Set it and apply. In advanced mode, set Bridged and apply!
2. in Interfaces - WAN set protocol to PPPoE (also you can try PPPoA) and have proper PAP/CHAP credentials and password

this is basically a problem

pppd[5356]: Timeout waiting for PADO packets

if above not help, you can try to use this ADSL setup->
change in /etc/config/network and enter proper data
then reboot

# file /etc/config/network
# after saving this modem need to be restarted. IP will be 192.168.1.1
config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd12:faa3:0000::/48'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config atm-bridge 'atm'
    option vpi '8'
    option vci '35'
    option encaps 'llc'
    option payload 'bridged'

config vdsl 'dsl'
    option annex 'a'
    option firmware '/lib/firmware/vdsl.bin'
    option tone 'av'
    option xfer_mode 'atm'

config interface 'wifi'
    option _orig_ifname 'wlan0'
    option _orig_bridge 'true'
    option proto 'static'
    option ipaddr '10.10.1.1'
    option netmask '255.255.255.0'
    option broadcast '10.10.1.255'
    option gateway '192.168.1.1'
    option dns '8.8.8.8'

config route

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option vid '100'
    option ports '5 6t'

config switch_vlan
    option device 'switch0'
    option vlan '3'
    option vid '200'
    option ports '0 6t'

config switch_vlan
    option device 'switch0'
    option vlan '4'
    option vid '300'
    option ports '2 6t'

config switch_vlan
    option device 'switch0'
    option vlan '5'
    option vid '400'
    option ports '4 6t'

config interface 'WAN'
    option proto 'dhcp'
    option ifname 'eth0.400'

config interface 'LAN1'
    option proto 'static'
    option ifname 'eth0.100'
    option ipaddr '192.168.1.1'
    option netmask '255.255.255.0'

config interface 'LAN2'
    option proto 'static'
    option ifname 'eth0.200'
    option ipaddr '192.168.2.1'
    option netmask '255.255.255.0'

config interface 'LAN3'
    option proto 'static'
    option ifname 'eth0.300'
    option ipaddr '192.168.3.1'
    option netmask '255.255.255.0'

(Last edited by skfree on 1 Jun 2016, 16:38)

massimo.sanna wrote:

Hi all,
i've compiled succesfully an image and flashed my TD-W8980 with ADSL and Wifi (2.4GHz only) working.

I've noticed that the rootfs's size is only 4MB. After installing a pair of packets i've no space left on device.

Flash is 8MB large, but seems to be used only 4MB. Some bug assembling flash image?

Regards

Max

Hi max,
I've seen your username Massimo.sanna sounds very Italian! Also I'm Italian, I'm experiencing a lot of problem installing open wrt on my W8980! I would be very happy if you wanted to help me installing it! My email is zeno.dalla@libero.it contact me there please!
Best regards,
Zeno

(Last edited by zenodallavalle on 15 Aug 2016, 13:27)

Hi,

I compiled openwrt from source, and Wlan and DSL work fine. You are doing a really good job. Thanks.
I still have one problem though, my ethernet connection (the internal one) dies after some time, and the only possible solutions is either to replug the cabels or restart the router. I still can access the router and i-net via wlan.
Here is my /etc/config/network (in case it helps):

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fdcd:dad7:3e1c::/48'

config atm-bridge 'atm'
        option vpi '1'
        option vci '32'
        option encaps 'llc'
        option payload 'bridged'

config dsl 'dsl'
        option line_mode 'vdsl'
        option annex 'b'
        option xfer_mode 'ptm'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.178.1'

config device 'lan_dev'
        option name 'eth0.1'
        option macaddr '14:cc:20:62:b7:5d'

config interface 'wan'
        option proto 'pppoe'
        option ipv6 'auto'
        option username '#########'
        option password '#########'
        option _orig_ifname 'ptm0'
        option _orig_bridge 'false'
        option mtu '1492'
        option ifname 'ptm0.7'

config device 'wan_dev'
        option name 'ptm0'
        option macaddr '14:cc:20:62:b7:5e'

config interface 'wan6'
        option _orig_ifname 'pppoe-wan'
        option _orig_bridge 'false'
        option proto 'dhcpv6'
        option type 'bridge'
        option ifname 'ptm0'
        option reqaddress 'try'
        option reqprefix 'auto'

config switch
        option name 'switch0'
        option reset '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 2 4 5 6t'
        option vid '1'

Any ideas??

Thank you,
          devseb

skfree wrote:

Today i have manage to physically compare both versions (annex A, annex B).

There is also different PCB layout in XDSL area and components are following:

TD-89xxB - annex B

EP-833SG
R198 - 10R
diodes D10,D20,D9 unreadable

89xx - annex A

EP-832SG
R198 - 24R9 2
diodes D9,D10 - unreadable
D20 is missing from layout

Hi skfree!
Are You able to provide some hi-res photos of xDSL PCB section of 89xx and 89xxB?
Maybe it would be possible (with some soldering) to switch between annex A and B.

Thanks,
BizonGod

No wifi, no usb in current trunk (Bleeding Edge, 50104)

I have read "wiki.openwrt.org/toh/tp-link/td-w9980" and installed latest trunk according to the instructions there. After successfully installing i was shocked to find no wifi and no usb support. A web search resulted in finding "forum.openwrt.org/viewtopic.php?id=67536" which explains how to make usb operational by installing "kmod-usb-dwc2" but i failed to find anything on wifi. The image posted by olewales (forum.openwrt.org/viewtopic.php?pid=283807#p283807) worked for wifi but there were no packages for this image. Finally i was able to make wifi operational on current trunk (50104) by installing "kmod-ath9k". 
Really, i found no mention of this anywhere including the greatest information source i found: this thread. This might be as simple as 2+2=4 for experts like you but i have searched for 2 days and even recompiled openwrt for this. So i decided to write this post to make it easier for newbies like myself.

justcurious wrote:

No wifi, no usb in current trunk (Bleeding Edge, 50104)

I have read "wiki.openwrt.org/toh/tp-link/td-w9980" and installed latest trunk according to the instructions there. After successfully installing i was shocked to find no wifi and no usb support. A web search resulted in finding "forum.openwrt.org/viewtopic.php?id=67536" which explains how to make usb operational by installing "kmod-usb-dwc2" but i failed to find anything on wifi. The image posted by olewales (forum.openwrt.org/viewtopic.php?pid=283807#p283807) worked for wifi but there were no packages for this image. Finally i was able to make wifi operational on current trunk (50104) by installing "kmod-ath9k". 
Really, i found no mention of this anywhere including the greatest information source i found: this thread. This might be as simple as 2+2=4 for experts like you but i have searched for 2 days and even recompiled openwrt for this. So i decided to write this post to make it easier for newbies like myself.

Thank you for your valuable information.
How about LEDE?

I'll get this amazing little router next week.