openwrt/target/linux
Andreas Böhler a3010a7f8d ramips: add support for TP-Link RE200 v1
TP-Link RE200 v1 is a wireless range extender with Ethernet and 2.4G and 5G
WiFi with internal antennas. It's based on MediaTek MT7620A+MT7610EN.

Specifications
--------------

- MediaTek MT7620A (580 Mhz)
- 64 MB of RAM
- 8 MB of FLASH
- 2T2R 2.4 GHz and 1T1R 5 GHz
- 1x 10/100 Mbps Ethernet
- UART header on PCB (57600 8n1)
- 8x LED (GPIO-controlled; only 6 supported), 2x button

There are 2.4G and 5G LEDs in red and green which are controlled
separately. The 5G LED is currently not supported, since the GPIOs couldn't
be determined.

Installation
------------

Web Interface
-------------

It is possible to upgrade to OpenWrt via the web interface. However, the
OEM firmware upgrade file is required and a tool to fix the MD5 sum of
the header. This procedure overwrites U-Boot and there is not failsafe /
recovery mode present! To prepare an image, you need to take the header
and U-Boot (i.e. 0x200 + 0x20000 bytes) from an OEM firmware file and
attach the factory image to it. Then fix the header MD5Sum1.

Serial console
--------------

Opening the case is quite hard, since it is welded together. Rename the
OpenWrt factory image to "test.bin", then plug in the device and quickly
press "2" to enter flash mode (no line feed). Follow the prompts until
OpenWrt is installed.

Unfortunately, this devices does not offer a recovery mode or a tftp
installation method. If the web interface upgrade fails, you have to open
your device and attach serial console. Since the web upgrade overwrites
the boot loader, you might also brick your device.

Additional notes
----------------

MAC address assignment is based on stock-firmware. For me, the device
assigns the MAC on the label to Ethernet and the 2.4G WiFi, while the 5G
WiFi has a separate MAC with +2.

*:88    Ethernet/2.4G    label, uboot 0x1fc00, userconfig 0x0158
*:89    unused           userconfig 0x0160
*:8A    5G               not present in flash

This seems to be the first ramips device with a TP-Link v1 header. The
original firmware has the string "EU" embedded, there might be some region-
checking going on during the firmware upgrade process. The original
firmware also contains U-Boot and thus overwrites the boot loader during
upgrade.
In order to flash back to stock, the first header and U-Boot need to be
stripped from the original firmware.

Signed-off-by: Andreas Böhler <dev@aboehler.at>
2019-12-31 13:23:55 +01:00
..
apm821xx apm821xx: mbl_gen_hdd_img.sh: switch to /bin/sh 2019-12-31 01:28:08 +01:00
ar7 kernel: bump 4.9 to 4.9.207 2019-12-24 18:04:32 +01:00
ar71xx kernel: bump 4.14 to 4.14.159 2019-12-24 01:22:45 +01:00
arc770 arc770: gen_axs10x_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:27:32 +01:00
archs38 archs38: gen_axs10x_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:26:35 +01:00
armvirt treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
at91 at91: gen_at91_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:25:44 +01:00
ath25 ath25: split up DEVICE_TITLE 2019-10-19 13:16:57 +02:00
ath79 ath79: generate firmware image for aircube-isp 2019-12-31 01:42:13 +01:00
bcm53xx bcm53xx: sysupgrade: support Luxul NAND devices 2019-10-15 20:23:04 +02:00
brcm47xx brcm47xx: add switch configuration for WNR3500L 2019-12-08 00:21:36 +01:00
brcm63xx kernel: bump 4.19 to 4.19.85 2019-11-22 16:56:46 +01:00
brcm2708 brcm2708: gen_rpi_sdcard_img.sh: use /bin/sh 2019-12-31 01:24:31 +01:00
cns3xxx kernel: bump 4.19 to 4.19.86 2019-11-29 09:59:49 +01:00
gemini gemini: dns313_gen_hdd_img.sh: switch to /bin/sh 2019-12-31 01:23:24 +01:00
generic Revert "kernel: fix kmemleak warnings introduced in 305-mips_module_reloc.patch" 2019-12-27 19:47:41 +01:00
imx6 kernel: Deactivate CONFIG_SFP in generic config 2019-12-23 15:25:36 +01:00
ipq40xx ipq40xx: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:15 +01:00
ipq806x ipq806x: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:32 +01:00
ixp4xx kernel: bump 4.9 to 4.9.207 2019-12-24 18:04:32 +01:00
kirkwood kirkwood: remove CONFIG_LEGACY_PTY from kernel config 2019-12-09 20:14:20 +01:00
lantiq kernel: bump 4.19 to 4.19.90 2019-12-24 15:34:43 +01:00
layerscape layerscape: gen_sdcard_head_img.sh: switch to /bin/sh 2019-12-31 01:22:01 +01:00
malta treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
mediatek mediatek: gen_mt7623_emmc_img.sh: use /bin/sh 2019-12-31 01:20:59 +01:00
mpc85xx mpc85xx: add support for Enterasys WS-AP3710i 2019-12-13 22:40:19 +01:00
mvebu mvebu: split interface configuration for clearfog pro and base 2019-12-31 02:30:08 +01:00
mxs mxs: gen_sdcard_ext4_ext4.sh: use /bin/sh 2019-12-31 01:19:48 +01:00
octeon octeon: fix sysupgrade 2019-11-30 20:19:12 +02:00
octeontx kernel: bump 4.14 to 4.14.160 2019-12-24 17:45:54 +01:00
omap omap: gen_omap_sdcard_img.sh: use /bin/sh 2019-12-31 01:17:09 +01:00
orion orion: replace backticks by $(...) 2019-09-29 00:46:13 +02:00
oxnas kernel: bump 4.14 to 4.14.158 2019-12-10 09:50:42 +01:00
pistachio pistachio: split up DEVICE_TITLE 2019-10-12 23:37:00 +02:00
ramips ramips: add support for TP-Link RE200 v1 2019-12-31 13:23:55 +01:00
rb532 rb532: gen_image.sh: use /bin/sh 2019-12-31 01:16:17 +01:00
samsung samsung: split up DEVICE_TITLE 2019-09-11 15:17:09 +02:00
sunxi sunxi: gen_sunxi_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:15:25 +01:00
tegra x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 2019-11-11 16:37:13 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 kernel: bump 4.19 to 4.19.90 2019-12-24 15:34:43 +01:00
zynq zynq: gen_zynq_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:14:48 +01:00
Makefile