diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-24 16:49:08 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-20 20:11:33 +0200 |
commit | 24cfd961d9aca454c80e3e1f0e2a10303dfbb654 (patch) | |
tree | e180591185cc61e3fc8ace4832007e1789c456f1 /target/linux/ath79/base-files/etc/board.d | |
parent | 7de43d66ffd834adb9ae7b3b67604e693f5c959b (diff) | |
download | upstream-24cfd961d9aca454c80e3e1f0e2a10303dfbb654.tar.gz upstream-24cfd961d9aca454c80e3e1f0e2a10303dfbb654.tar.bz2 upstream-24cfd961d9aca454c80e3e1f0e2a10303dfbb654.zip |
ath79: add support for TP9343-based TP-Link TL-WR94x devices
This adds support for several TP-Link devices based on TP9343
("a QCA9561 without PCIe and USB"):
- TL-WR940N v3
- TL-WR940N v4
- TL-WR941ND v6
The devices are only different concerning LEDs and MAC address
assignment.
All TL-WR940 are with non-detachable antennas (N), all
TL-WR941 devices are with detachable antennas (ND).
Specification:
- 750 MHz CPU
- 32 MB of RAM
- 4 MB of FLASH
- 2.4 GHz WiFi
- 4x 10/100 Mbps Ethernet
Flash instruction (WebUI):
Download *-factory.bin image and upload it via the firmwary upgrade
function of the stock firmware WebUI.
Flash instruction (TFTP):
1. Set PC to fixed ip address 192.168.0.66
2. Download *-factory.bin image and rename it to * (see below)
3. Start a tftp server with the image file in its root directory
4. Turn off the router
5. Press and hold Reset button
6. Turn on router with the reset button pressed and wait ~15 seconds
7. Release the reset button and after a short time
the firmware should be transferred from the tftp server
8. Wait ~30 second to complete recovery.
* TFTP image names:
940 v3: wr941ndv6_tp_recovery.bin
940 v4: wr940nv4_tp_recovery.bin
941 v6: wr941ndv6_tp_recovery.bin
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(backported picked from commit c02b9818a51ab189be11218e626e9cad2c21ec94)
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/01_leds | 9 | ||||
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index e89152ab7e..9894adfb7a 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -210,6 +210,15 @@ tplink,tl-wr842n-v2) ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10" ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02" ;; +tplink,tl-wr940n-v3|\ +tplink,tl-wr940n-v4|\ +tplink,tl-wr941nd-v6) + ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10" + ucidef_set_led_switch "lan2" "LAN2" "tp-link:blue:lan2" "switch0" "0x08" + ucidef_set_led_switch "lan3" "LAN3" "tp-link:blue:lan3" "switch0" "0x04" + ucidef_set_led_switch "lan4" "LAN4" "tp-link:blue:lan4" "switch0" "0x02" + ;; ubnt,bullet-m|\ ubnt,bullet-m-xw|\ ubnt,nanostation-loco-m|\ diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 1b0e76b159..2c1f2a90d7 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -89,6 +89,9 @@ ath79_setup_interfaces() tplink,tl-wr841-v12|\ tplink,tl-wr842n-v1|\ tplink,tl-wr842n-v3|\ + tplink,tl-wr940n-v3|\ + tplink,tl-wr940n-v4|\ + tplink,tl-wr941nd-v6|\ ubnt,airrouter) ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ |