Add support for TP-Link TD-W9980 / TD-W9980B / TD-W8980 #167

Closed
Foliant wants to merge 7 commits from Foliant/firmware:master into master
5 changed files with 34 additions and 1 deletions

8
bsp/lantiq.bsp Normal file
View File

@ -0,0 +1,8 @@
chipset=lantiq
subtarget=xrx200
images=(
"openwrt-${chipset}-${subtarget}-tplink_tdw8980-squashfs-*"
)
# Die Hardware von TD-W8980 und TD-W9980B ist identisch.

14
bsp/lantiq/.config Normal file
View File

@ -0,0 +1,14 @@
# Generated using "./buildscript config openwrt".
# Do no edit manually
#
CONFIG_TARGET_lantiq=y
CONFIG_TARGET_lantiq_xrx200=y
CONFIG_TARGET_lantiq_xrx200_DEVICE_tplink_tdw8980=y
CONFIG_BUSYBOX_CUSTOM=y
# CONFIG_PACKAGE_dsl-vrx200-firmware-xdsl-a is not set
# CONFIG_PACKAGE_dsl-vrx200-firmware-xdsl-b-patch is not set
# CONFIG_PACKAGE_ltq-dsl-base is not set
# CONFIG_PACKAGE_ltq-vdsl-app is not set
# CONFIG_PACKAGE_ltq-vdsl-vr9-vectoring-fw-installer is not set
CONFIG_PACKAGE_bspatch=y
CONFIG_PACKAGE_libbz2=y

View File

@ -11,7 +11,8 @@ get_cpu_port() {
tplink,archer-c50-v4|\
tplink,tl-wr1043nd-v2|\
tplink,tl-wr1043nd-v3|\
tplink,tl-wr841n-v13)
tplink,tl-wr841n-v13|\
tplink,tdw8980)
CPUPORT="6t"
;;
netgear,r6220|\

View File

@ -42,6 +42,9 @@ get_port_order() {
tplink,tl-wr841-v8)
PORTORDER="2 3 4 1"
;;
tplink,tdw8980)
PORTORDER="5 0 2 4"
;;
esac
echo "$PORTORDER"

View File

@ -0,0 +1,7 @@
WANDEV=eth0
SWITCHDEV=eth0
CLIENT_PORTS="0 5 6t"
WAN_PORTS="4 6t"
BATMAN_PORTS="2 6t"
ROUTERMAC=$(cat /sys/class/net/eth0/address)