openwrtv4/target/linux
Serg Studzinskii b7cc661615 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>
2017-06-11 21:32:17 +02:00
..
adm5120 adm5120: mark the rb1xx subtarget as broken 2017-01-16 20:40:12 +01:00
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
ar7 ar7: diag.sh: use common status_led_* functions 2017-03-15 23:14:54 +01:00
ar71xx ar71xx: add support for TP-Link TL-WR942N v1 2017-06-11 21:32:17 +02:00
arc770 kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
archs38 kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
armvirt armvirt: 64: enable usb support 2017-05-03 23:20:12 +08:00
at91 kernel: remove ubifs xz decompression support 2017-01-09 14:07:06 +01:00
ath25 ath25: add missed HAVE_IRQ_EXIT_ON_IRQ_STACK 2017-06-07 18:31:10 +02:00
au1000 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
bcm53xx bcm53xx: include wpad-mini only on devices with (supported) wireless 2017-06-08 22:25:00 +02:00
brcm47xx brcm47xx: remove target specific network preinit config 2017-05-27 12:17:40 +02:00
brcm63xx brcm63xx: probe SPI connected switches through DT 2017-06-10 12:40:38 +02:00
brcm2708 kernel: update kernel 4.9 to 4.9.31 2017-06-08 01:03:39 +02:00
cns3xxx kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
gemini gemini: rename config-default to config-4.4 2016-08-24 01:44:05 +03:00
generic linux/swconfig_get_attr: fix leak of msg in case of error 2017-06-11 14:22:44 +02:00
imx6 kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
ipq806x kernel: update kernel 4.9 to 4.9.31 2017-06-08 01:03:39 +02:00
ixp4xx kernel: update kernel 4.4 to 4.4.53 2017-03-12 15:46:02 +01:00
kirkwood kirkwood: set sata/usb led trigger for NSA3xx 2017-05-14 21:45:50 +02:00
lantiq kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
layerscape kernel: update kernel 4.4 to 4.4.52 2017-03-03 18:17:47 +01:00
malta malta: restore "be" subtarget from being source-only 2017-03-05 16:34:17 +01:00
mcs814x kernel: remove kmod packages for bridge, stp, llc and 8021q 2017-02-09 14:49:34 +01:00
mediatek kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
mpc85xx kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
mvebu kernel: update kernel 4.9 to 4.9.31 2017-06-08 01:03:39 +02:00
mxs mxs: enable nvmem support 2017-02-10 11:05:57 +01:00
octeon kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
omap omap: rework image generation and profiles 2017-04-24 18:03:31 +02:00
omap24xx kernel: clean up usb gadget support 2016-09-15 13:11:21 +02:00
orion kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders 2017-01-27 11:18:27 +01:00
oxnas kernel: update kernel 4.4 to version 4.4.69 2017-05-21 21:48:16 +02:00
pistachio kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
ppc40x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ppc44x ppc44x: mark as broken 2017-01-10 12:49:34 +01:00
ramips kernel: update kernel 4.9 to 4.9.31 2017-06-08 01:03:39 +02:00
rb532 rb532: enable high-res timers, refresh kernel config 2017-06-07 18:31:10 +02:00
sunxi sunxi: sysupgrade: sync with x86 2017-05-29 23:50:35 +02:00
uml uml: Fix sample command line 2017-05-26 15:43:26 -07:00
x86 kernel: disable CONFIG_SG_POOL by default 2017-06-07 18:31:10 +02:00
xburst xburst: enable high-res timers, refresh kernel config 2017-06-07 18:31:10 +02:00
zynq kernel: remove out of tree direct-io disable hack 2017-04-26 10:27:45 +02:00
Makefile