openwrt/target/linux/ath79/image
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
..
lzma-loader ath79: lzma-loader: sync with ar71xx target 2018-06-06 22:25:53 +02:00
common-buffalo.mk ath79: add hwver parameter to buffalo-tag 2018-10-07 15:44:19 +02:00
common-netgear.mk ath79: add support for Netgear EX6400 and EX7300 2019-04-09 11:09:26 +02:00
common-tp-link.mk ath79: Utilize tplink-safeloader definition 2019-04-06 19:14:06 +02:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-26 17:28:37 +01:00
generic-tp-link.mk ath79: add SUPPORTED_DEVICES based on ar71xx for some devices 2020-05-04 21:25:38 +02:00
generic-ubnt.mk ath79: update WA/XC devices UBNT_VERSION to 8.5.3 2020-06-03 15:29:20 +02:00
generic.mk ath79: enable forceless sysupgrade from ar71xx on fritz300e 2020-02-21 14:12:30 +01:00
Makefile ath79: add support for Buffalo BHR-4GRV2 2018-08-09 18:44:57 +02:00
nand.mk ath79: disable building future NAND images for GL-AR300M/GL-AR750S 2019-11-07 19:06:57 +01:00
tiny-netgear.mk ath79: remove more duplicate image build variables 2019-04-09 11:09:26 +02:00
tiny-tp-link.mk ath79: add support for TP-Link TL-WR802N V1 and V2 2020-06-03 15:29:37 +02:00
tiny.mk ath79: modify mtd partitions for Buffalo BHR-4GRV2 2018-11-26 12:28:17 +01:00