Compare commits

...

7 Commits

Author SHA1 Message Date
Foliant 65741ba1b2 Merge pull request 'Korrekter CPUPORT für TDW8890' (#1) from foliant-patch-1 into master
Reviewed-on: Foliant/firmware#1
2021-09-02 19:18:31 +02:00
Foliant 66fa7a41f8 Merge pull request 'Portorder 1-4 (4=WAN) entspricht nun Geräteaufdruck' (#2) from foliant-patch-2 into master
Reviewed-on: Foliant/firmware#2
2021-09-02 19:17:41 +02:00
Foliant 69b8f67142 Portorder 1-4 (4=WAN) entspricht nun Geräteaufdruck
Signed-off-by: Foliant <foliant@noreply.git.freifunk-franken.de>
2021-09-02 19:17:09 +02:00
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
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)