openwrt/target/linux
Lech Perczak 7e513136c6 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>
2020-05-31 15:44:05 +02:00
..
apm821xx kernel: bump 5.4 to 5.4.36 2020-04-30 00:52:04 +02:00
ar71xx ar71xx: fix reset key for TP-Link TL-WR802N V1/V2 2020-05-31 15:44:05 +02:00
arc770 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
archs38 archs38: remove support for kernel 4.14 2020-05-25 12:03:02 +02:00
armvirt kernel: remove non-existant symbols 2020-04-13 22:40:19 +02:00
at91 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath25 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath79 ath79: add support for TP-Link TL-WR802N V1 and V2 2020-05-31 15:44:05 +02:00
bcm27xx bcm27xx: update to latest patches from RPi foundation 2020-05-28 19:12:43 +02:00
bcm47xx bcm47xx: remove support for kernel 4.14 2020-05-30 11:30:06 +02:00
bcm53xx bcm53xx: remove support for kernel 4.14 2020-05-30 11:30:06 +02:00
bcm63xx bcm63xx: ar-5315u: expose LEDs through controller 2020-05-24 20:19:21 +02:00
cns3xxx cns3xx: remove support for kernel 4.14 2020-04-12 13:43:52 +02:00
gemini samba36: Remove 2020-05-08 03:32:52 +03:00
generic generic: routerboot sysfs: soft_config support for ath79 cpufreq 2020-05-28 11:09:10 +02:00
imx6 imx6: add back perf monitor related config symbol 2020-04-25 13:22:28 +02:00
ipq40xx ipq40xx: replace "ok" with "okay" for status in DTS files 2020-05-12 19:16:41 +02:00
ipq806x ipq806x: EA8500 fix boot partition detection 2020-05-31 15:44:05 +02:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood kirkwood: disable image for Linksys EA3500 (Audi) 2020-04-29 18:04:16 +02:00
lantiq lantiq: fritz 7360 v2: remove additional supported devices 2020-05-18 11:59:22 +02:00
layerscape layerscape: remove support for kernel 4.14 2020-05-25 11:48:54 +02:00
malta malta: Remove kernel 4.14 support 2020-03-12 09:28:23 +01:00
mediatek kernel: bump 5.4 to 5.4.39 2020-05-07 12:53:06 +02:00
mpc85xx mpc85xx: restructure image receipts 2020-05-18 21:11:39 +02:00
mvebu linux: mvebu: backport mvneta XDP support fixes 2020-05-28 11:43:13 +02:00
mxs kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
octeon octeon: set 5.4 as default kernel 2020-05-25 12:04:55 +02:00
octeontx octeontx: remove support for kernel 4.14 2020-05-25 12:03:17 +02:00
omap omap: remove support for kernel 4.14 2020-04-28 01:10:48 +02:00
oxnas oxnas: move service file to correct place 2020-04-26 21:05:15 +02:00
pistachio treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ramips ramips: fix LED DT label for Zyxel Keenetic Start 2020-05-27 18:31:46 +02:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
rockchip rockchip: add support for Pine64 RockPro64 2020-04-20 16:37:56 +02:00
samsung treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
sunxi sunxi: remove unneeded shebang for preinit files 2020-05-05 13:09:19 +02:00
tegra tegra: correct cpu subtype 2020-03-28 22:58:36 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 x86: fix generic kernel 5.4 config 2020-05-20 15:26:22 +02:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile