You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/tools
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>
4 years ago
..
autoconf treewide: clean up download hashes 7 years ago
automake tools/automake: Revert "Do not use $(V) - force AM_V=1" 5 years ago
b43-tools tools/b43-tools/b43-fwsquash: convert to Python 3 with 2-to-3 5 years ago
bc Revert "bc: update to 1.07.1" 5 years ago
bison tools/bison: Update to 3.4.1 5 years ago
cbootimage tools: add cbootimage for tegra 5 years ago
cbootimage-configs tools: add cbootimage-configs for tegra 5 years ago
ccache ccache: update to 3.7.6 4 years ago
cmake tools/cmake: Update to 3.15.1 5 years ago
coreutils tools/coreutils: install "touch" 5 years ago
dosfstools add PKG_CPE_ID ids to package and tools 7 years ago
e2fsprogs tools/e2fsprogs: Update to version 1.45.4 5 years ago
elftosb treewide: clean up download hashes 7 years ago
expat tools/expat: change package source to GitHub 4 years ago
findutils tools: findutils: fix compilation with glibc 2.28 6 years ago
firmware-utils ramips: add support for TP-Link RE200 v1 4 years ago
flex flex: Add a lex symlink 6 years ago
flock tools: flock: add NFSv4 compatibility 8 years ago
genext2fs treewide: clean up download hashes 7 years ago
gengetopt tools/gengetopt: Update to 2.23 5 years ago
gmp tools: gmp: Update to 6.1.2 7 years ago
include tools: Update endian definitions for Mac OSX 5 years ago
isl tools/isl: update to 0.20 5 years ago
kernel2minor tools: kernel2minor: update to latest version 6 years ago
libelf tools: libelf: fix headers to trigger -Wundef warnings 5 years ago
libressl tools: libressl: fix compilation for non-glibc clib (FS#2400) 5 years ago
libtool add PKG_CPE_ID ids to package and tools 7 years ago
lzma treewide: clean up download hashes 7 years ago
lzma-old tools/zlib: move zlib build to tools 6 years ago
m4 tools: m4: fix compilation with glibc 2.28 6 years ago
make-ext4fs make-ext4fs: update to HEAD of 2017-05-29 - eebda1 5 years ago
missing-macros tools: remove a bunch of unused automake macros 9 years ago
mkimage tools/mkimage: Update U-Boot to version 2019.07 5 years ago
mklibs tools/mklibs: update to 0.1.44 and convert to Python 3 5 years ago
mm-macros tools/mm-macros: Update to 0.9.12 6 years ago
mpc tools/mpc: Update to 1.1.0 6 years ago
mpfr tools/mpfr: Update to 4.0.2 5 years ago
mtd-utils tools/mtd-utils: update to 2.1.1 5 years ago
mtools tools/mtools: Update to 4.0.23 5 years ago
padjffs2 tools: padjffs2: add option to output padding data to stdout 8 years ago
patch tools/patch: apply upstream patch for cve-2019-13638 5 years ago
patch-image tools: patch-image: fix file descriptor leak. 7 years ago
patchelf treewide: clean up download hashes 7 years ago
pkg-config tools/pkg-config: Handle variable substitution of 'bindir' to redirect to STAGING_DIR/bin 6 years ago
qemu tools: qemu: Add patches to support adapter_type and monolithicFlat 4 years ago
quilt tools/quilt: update to 0.66 4 years ago
sdimage tools/sdimage: Fix build with host Linux headers < 3.18 5 years ago
sed tools/sed: Update to 4.7 5 years ago
sparse sparse: updated to version 0.5.2 6 years ago
squashfs add PKG_CPE_ID ids to package and tools 7 years ago
squashfskit4 tools/squashfskit: fix version detection on non-linux system 5 years ago
sstrip tools/sstrip: Fix compile under standard linux. 6 years ago
tar tools: tar: update to version 1.32 5 years ago
upslug2 upslug2: Update to git repository 5 years ago
wrt350nv2-builder tools: remove static linking support 9 years ago
xz tools/xz: Compile with PIC to fix linking errors 5 years ago
zip tools: zip: add option for reproducible archives 5 years ago
zlib tools: zlib: do not hardcode the install prefix in zlib.pc 6 years ago
Makefile rules.mk: remove "$(STAGING_DIR)/include" 5 years ago