tn3399_openwrt/target/linux/ramips
Robert Marko d0ef27594a ramips: add support for TP-Link TL-WR840N v5
TP-Link TL-WR840N v5 is simple N300 router with 5-port FE switch and
non-detachable antennas, based on MediaTek MT7628NN (aka MT7628N) WiSoC.

Specification:

- MT7628N/N (580 MHz)
- 64 MB of RAM (DDR2)
- 4 MB of FLASH
- 2T2R 2.4 GHz
- 5x 10/100 Mbps Ethernet
- 2x external, non-detachable antennas
- UART (J1) header on PCB (115200 8n1)
- 1x LED (GPIO-controlled), 1x button

* LED in TL-WR840N v5 is a dual-color, dual-leads type which isn't
  (fully) supported by gpio-leds driver. This type of LED requires both
  GPIOs state change at the same time to select color or turn it off.
  For now, we support/use only the green part of the LED.
  Orange LED is registered so you can later use it for your own purposes.

  Flash instruction:

  Unlike TL-WR840N v4 flashing through WEB UI works in v5.
  1. Download lede-ramips-mt76x8-tl-wr840n-v5-squashfs-sysupgrade.bin image.
  2. Go to 192.168.0.1
  3. Flash the sysupgrade image through Firmware upgrade section of WEB UI.
  4. Wait until green LED stops flashing and use the router.

Notes:
TFTP recovery is broken since TP-Link reused bootloader code for v4 and
that does not take into account only 4 MB of flash and bricks the device.
So do not use TFTP Recovery or you will have to rewrite SPI flash.
They fixed it in later GPL code,but it is unknown which version of
bootloader you have.

After manually compiling and flashing bootloader from GPL sources TFTP
recovery works properly.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2017-11-08 23:25:05 +01:00
..
base-files ramips: add support for TP-Link TL-WR840N v5 2017-11-08 23:25:05 +01:00
dts ramips: add support for TP-Link TL-WR840N v5 2017-11-08 23:25:05 +01:00
files-4.9/drivers/net/ethernet/mtk ramips: reduce napi_weight in the ethernet driver. 2017-09-28 09:22:02 +02:00
image ramips: add support for TP-Link TL-WR840N v5 2017-11-08 23:25:05 +01:00
mt76x8 ramips: merge mt7628/mt7688 into mt76x8 2017-08-30 17:05:10 +02:00
mt7620 kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
mt7621 ramips: drop stray kernel 4.4 configs 2017-07-27 09:17:25 +02:00
patches-4.9 ramips: add support for switching between 3-byte and 4-byte addressing on w25q256 flash 2017-11-02 15:58:45 +01:00
rt288x ramips: drop stray kernel 4.4 configs 2017-07-27 09:17:25 +02:00
rt305x kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
rt3883 kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
Makefile ramips: merge mt7628/mt7688 into mt76x8 2017-08-30 17:05:10 +02:00
modules.mk ramips: fix mt76x8 dependencies 2017-09-05 08:08:36 +02:00