aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorSerg Studzinskii <serguzhg@gmail.com>2017-03-08 22:10:05 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-06-11 21:32:17 +0200
commitb7cc6616152a12b3f68c5f36e9ef052da5de889e (patch)
treea32a392b58844a8d0b38b4f24d2bb7595f324e75 /target/linux/ar71xx/base-files/etc/board.d/02_network
parent641af0c39d071c8fb33d90ac3b4d369d34c61dfb (diff)
downloadupstream-b7cc6616152a12b3f68c5f36e9ef052da5de889e.tar.gz
upstream-b7cc6616152a12b3f68c5f36e9ef052da5de889e.tar.bz2
upstream-b7cc6616152a12b3f68c5f36e9ef052da5de889e.zip
ar71xx: add support for TP-Link TL-WR942N v1
TP-Link TL-WR942N v1 is a 2.4 GHz single-band N450 router, based on Qualcomm/Atheros QCA9561. Specification: - 775/650/258 MHz (CPU/DDR/AHB) - 128 MB of RAM (DDR2) - 16 MB of FLASH (SPI NOR) - 3T3R 2.4 GHz - 5x 10/100 Mbps Ethernet - 2x USB 2.0 - 11x LED (most are controlled by 74HC595) - 2x button - UART header on PCB* * Serial console is disabled in OEM non-beta firmwares and corresponding GPIO pins 14 and 15 are assigned to control USB1 and USB2 LEDs by production (non-beta) U-Boot and firmware. Currently not working: 1. USB1 and USB2 LEDs if UART RX and TX pins are assigned to their GPIOs by some U-Boot versions. Flash instruction under vendor GUI: 1. Download "lede-ar71xx-generic-tl-wr942n-v1-squashfs-factory.bin". 2. Go to WEB interface and perform usual firmware upgrade. FLash instruction under U-Boot recovery mode (doesn't work in beta firmware): 1. Setup PC with static IP "192.168.0.66/24" and tftp server. 2. Change "*-factory" image filename to "WR942v1_recovery.bin" and make it available to download from your tftp server. 3. Press "reset" button and power up the router, wait till "WPS" LED turns on. Flash instruction under U-Boot, using UART (can be done only with preinstalled UART-enabled U-Boot version!): 1. Use "tpl" to stop autobooting and obtain U-Boot CLI access. 2. Setup ip addresses for U-Boot and your tftp server. 3. Issue below commands: tftp 0x81000000 lede-ar71xx-generic-tl-wr942n-v1-sysupgrade.bin erase 0x9f020000 +$filesize cp.b 0x81000000 0x9f020000 $filesize reset Signed-off-by: Serg Studzinskii <serguzhg@gmail.com> [minor code style fixes, extended commit message] Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 0dc8bf31a8..b805487977 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -411,7 +411,8 @@ ar71xx_setup_interfaces()
tl-mr3420-v2|\
tl-wr841n-v8|\
tl-wr842n-v2|\
- tl-wr941nd-v5)
+ tl-wr941nd-v5|\
+ tl-wr942n-v1)
ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
ucidef_add_switch "switch0" \
"0@eth1" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3"