openwrt/target/linux
Lech Perczak e752fc1ff9 ath79: add support for TP-Link TL-WR802N V1 and V2
Specification:
- SoC: Qualcomm Atheros QCA9533 (560 MHz, MIPS 24Kc)
- RAM: 32 MiB
- Storage: 4 MiB of Flash on board
- Wireless: Built into QCA9533 (Honey Bee), PHY modes b/g/n
- Ethernet: 1x100M (port0)

Installation through OEM Web Interface:
- Connect to TL-WR802N by Ethernet or Wi-Fi
- Go to web interface:
  [V1] http://192.168.0.1
  [V2] http://192.168.0.254
  Default user is "admin" & password is "admin".
  On V2, there is no DHCP server running by default, so remember to set
  IP manually.
- Go to "System Tools -> Firmware Upgrade"
- Browse for firmware:
  [V1] "*.factory.bin"
  [V2] "*.factory-us.bin" or  "*.factory-eu.bin" for eu model
  Web interface may complain if filename is too long. In such case,
  rename .bin to something shorter.
- Click upgrade

Installation through tftp:
Note: T_OUT, T_IN and GND on the board must be connected to USB TTL
      Serial Configuration 115200 8n1

- Boot the TL-WR802N
- When "Autobooting in 1 seconds" appears type "tpl" followed by enter
- Connect to the board Ethernet port
    (IPADDR: 192.168.1.1, ServerIP: 192.168.1.10)
- tftpboot 0x80000000 <Firmware Image Name>
- Record the result of "printenv bootcmd"
- Enter "erase <Result of 'printenv bootcmd'> +0x3c0000"
    (e.g erase 0x9f020000 +0x3c0000)
- Enter "cp.b 0x80000000 <Result of 'printenv bootcmd'> 0x3c0000"
    (e.g cp.b 0x80000000 0x9f020000 0x3c0000)
- Enter "bootm <Result of 'printenv bootcmd'>"
    (e.g bootm 0x9f020000)

Notes:

When porting from ar71xx target to ath79, I found out that on V2,
reset button is on GPIO12 and active low, instead of GPIO11 and
active high. By cross-flashing V1 firmware to V2, I confirmed
the same is true for V1.
Also according to manual of V1, this one also has green
LED instead of blue - both of those issues were fixed accordingly.

The MAC address assignment has been checked with OEM firmware.

Installation manual based on ar71xx support by Thomas Roberts

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
[slightly adjust commit message, add MAC address comment]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 7e513136c6)
2020-06-03 15:29:37 +02:00
..
apm821xx kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:52 +02:00
ar71xx ar71xx: fix reset key for TP-Link TL-WR802N V1/V2 2020-06-01 16:58:06 +02:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
at91 at91: disable legacy PTYs and virtual terminals 2019-12-17 11:27:20 +02:00
ath25 kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
ath79 ath79: add support for TP-Link TL-WR802N V1 and V2 2020-06-03 15:29:37 +02:00
bcm53xx bcm53xx: add support for Luxul FullMAC WiFi devices 2020-04-07 15:51:11 +02:00
brcm47xx brcm47xx: disable Netgear WNR2000 v2 by default 2020-05-24 14:42:33 +02:00
brcm63xx bcm63xx: mask interrupts on init 2020-05-18 09:51:18 +02:00
brcm2708 kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
cns3xxx kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
gemini kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
generic generic: fix flow table hw offload 2020-06-01 11:42:12 +02:00
imx6 treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
ipq40xx kernel: bump 4.14 to 4.14.172 2020-03-09 20:44:27 +01:00
ipq806x ipq806x: EA8500 fix boot partition detection 2020-06-03 15:29:03 +02:00
kirkwood kirkwood: fix HDD LED labels for Zyxel NSA325 in 01_leds 2020-01-21 13:55:03 +01:00
lantiq kernel: bump 4.14 to 4.14.159 2019-12-24 15:29:32 +01:00
layerscape kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
malta malta: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:30 +02:00
mediatek kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:52 +02:00
mpc85xx kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
mvebu mvebu: cortexa9: correct cpu subtype 2020-04-18 00:18:13 +02:00
mxs kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
octeon treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
octeontx kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:52 +02:00
omap treewide: use new procd sysupgrade $UPGRADE_BACKUP variable 2019-09-12 13:27:29 +02:00
oxnas kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
pistachio kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
ramips ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default 2020-05-26 10:07:05 +01:00
rb532 kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 2019-05-11 17:15:41 +02:00
sunxi kernel: bump 4.14 to 4.14.169 2020-02-04 18:11:26 +01:00
tegra tegra: correct cpu subtype 2020-04-18 00:18:13 +02:00
uml uml: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:16 +02:00
x86 x86: fix missing led variable warning during boot 2020-01-06 08:40:06 +01:00
zynq zynq: make title consistent for all devices 2019-05-17 21:41:43 +02:00
Makefile