Compare commits

...

4 Commits

Author SHA1 Message Date
Foliant e501c91dfc Korrekter CPUPORT für TDW8890
Signed-off-by: Foliant <foliant@noreply.git.freifunk-franken.de>
2021-09-02 19:13:59 +02:00
Foliant 4b65cb8152 Portzuordnung und MAC auslesen
Die sehr seltsame Portzuordnung des TP-Link TD-W9980 (Baugleich auch TD-W9980 und TD-W8980)
Außerdem Pfad ROUTERMAC

Signed-off-by: Foliant <foliant@noreply.git.freifunk-franken.de>
2021-08-31 17:05:58 +02:00
Foliant f37ea7d853 Sparsame config ohne DSL-Modem
TP-Link TD-W9980 (Baugleich auch TD-W9980 und TD-W8980) hat ein integriertes DSL-Modem, dieses ist in der vorliegenden config deaktiviert, es macht aber selbst in der Systemauslastung kaum einen Unterschied falls es doch im Build ist.

Signed-off-by: Foliant <foliant@noreply.git.freifunk-franken.de>
2021-08-31 16:57:16 +02:00
Foliant afb75f5674 Lantiq hinzugefügt
TP-Link TD-W9980 (Baugleich auch TD-W9980 und TD-W8980) verwendet Lantiq SoC
2021-08-31 16:54:14 +02:00
4 changed files with 31 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

@ -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)