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.
Christoph Krapp ba0f4f0cfd ramips: add support for TP-Link RE500 v1
This device uses the same hardware as RE650 v1 which got supported in
8c51dde.

Hardware specification:

- SoC 880 MHz - MediaTek MT7621AT
- 128 MB of DDR3 RAM
- 16 MB - Winbond 25Q128FVSG
- 4T4R 2.4 GHz - MediaTek MT7615E
- 4T4R 5 GHz - MediaTek MT7615E
- 1x 1 Gbps Ethernet - MT7621AT integrated
- 7x LEDs (Power, 2G, 5G, WPS(x2), Lan(x2))
- 4x buttons (Reset, Power, WPS, LED)
- UART header (J1) - 2:GND, 3:RX, 4:TX
  Serial console @ 57600,8n1

Flash instructions:

Upload
openwrt-ramips-mt7621-tplink_re500-v1-squashfs-factory.bin
from the RE500 web interface.

TFTP recovery to stock firmware:

Unfortunately, I can't find an easy way to recover the RE
without opening the device and using modified binaries. The
TFTP upload will only work if selected from u-boot, which
means you have to open the device and attach to the serial
console. The TFTP update procedure does *not* accept the
published vendor firmware binaries. However, it allows to
flash kernel + rootfs binaries, and this works if you have
a backup of the original contents of the flash. It's probably
possible to create special image out of the vendor binaries
and use that as recovery image.

Signed-off-by: Christoph Krapp <achterin@googlemail.com>
[remove dts-v1 in DTSI, do not touch WiFi LEDs for RE650, keep
state_default in DTS files, fix label-mac-device, use lower case
for WiFi LEDs]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
4 years ago
..
add_header.c firmware-utils: when using open with O_CREAT and O_WRONLY, also use O_TRUNC to ensure that overwritten files have the right size (fixes #3505) 16 years ago
addpattern.c firmware-utils: honor env SOURCE_DATE_EPOCH 7 years ago
asustrx.c tools: firmware-utils: fix compiler warnings 9 years ago
bcm_tag.h firmware-utils: move bcm_tag.h here 12 years ago
bcmalgo.c tools: add Broadcom cable modem firmware image creator 11 years ago
bcmalgo.h tools: add Broadcom cable modem firmware image creator 11 years ago
buffalo-enc.c firmware-utils: improve tools for Buffalo DHP series 7 years ago
buffalo-lib.c firmware-utils/buffalo-enc: explicitly use signed char for checksum function 9 years ago
buffalo-lib.h firmware-utils: improve tools for Buffalo DHP series 7 years ago
buffalo-tag.c firmware-utils: improve tools for Buffalo DHP series 7 years ago
buffalo-tftp.c firmware-utils: fix compilation warnings. 10 years ago
csysimg.h adds support for Edimax BR-6524N 12 years ago
cyg_crc.h firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>) 15 years ago
cyg_crc16.c firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>) 15 years ago
cyg_crc32.c firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>) 15 years ago
dgfirmware.c firmware-utils/dgfirmare: fix possible resource leak 4 years ago
dgn3500sum.c firmware-utils: fix dgn3500sum compiler warnings 7 years ago
dns313-header.c firmware-utils: fix possible memory leak and resource leak 4 years ago
edimax_fw_header.c tools: edimax_fw_header: fix suspicious memset usage 10 years ago
encode_crc.c remove 'svn:executable' property 14 years ago
fix-u-media-header.c firmware-utils: new tool for fixing U-Media firmware headers 12 years ago
fw.h firmware-utils: mkfwimage: fix more errors reported by gcc-6/7/9 5 years ago
hcsmakeimage.c firmware-utils: honor env SOURCE_DATE_EPOCH 7 years ago
imagetag.c firmware-utils: honor env SOURCE_DATE_EPOCH 7 years ago
imagetag.ggo brcm63xx: do not align squashfs rootfs start 9 years ago
imagetag_cmdline.c brcm63xx: do not align squashfs rootfs start 9 years ago
imagetag_cmdline.h brcm63xx: do not align squashfs rootfs start 9 years ago
jcgimage.c firmware-utils: jcgimage: add support for 4MiB+ images 5 years ago
lxlfw.c firmware-utils: add lxlfw tool for generating Luxul firmwares 4 years ago
lzma2eva.c firmware-utils: fix various compiler warnings 9 years ago
makeamitbin.c Add makeamitbin to generate images for other RDC-based devices, thanks sn9 ! 16 years ago
md5.c firmware-utils: replace md5 code with Alexander Peslyak's implementation 8 years ago
md5.h firmware-utils: replace md5 code with Alexander Peslyak's implementation 8 years ago
mkbrncmdline.c Support booting the Speedport W502V using BRN-BOOT. 12 years ago
mkbrnimg.c tools: firmware-utils: fix compiler warnings 9 years ago
mkbuffaloimg.c ar71xx: add support for Buffalo BHR-4GRV2 8 years ago
mkcameofw.c firmware-utils/mkcameofw: allow to use combined kernel image 11 years ago
mkcasfw.c tools: firmware-utils: fix compiler warnings 9 years ago
mkchkimg.c mkchkimg: use higher version code 4 years ago
mkcsysimg.c tools: firmware-utils: fix compiler warnings 9 years ago
mkdapimg.c tools/firmware-utils: fix sysupgrade typo in mkdapimg 5 years ago
mkdapimg2.c tools/firmware-utils: fix sysupgrade typo in mkdapimg2 5 years ago
mkdhpimg.c firmware-utils: improve tools for Buffalo DHP series 7 years ago
mkdlinkfw-lib.c firmware-utils: mkdlinkfw: fix error handling 5 years ago
mkdlinkfw-lib.h firmware-utils: mkdlinkfw: cleanup code 5 years ago
mkdlinkfw.c firmware-utils: mkdlinkfw: add kernel image offset 5 years ago
mkdniimg.c tools: firmware-utils: fix compiler warnings 9 years ago
mkedimaximg.c firmware-utils: mkedimaximg: add "big-endianness mode" option 6 years ago
mkfwimage.c firmware-utils: mkfwimage: add support for Ubiquiti XC devices 4 years ago
mkfwimage2.c firmware-utils/mkfwimage: fix possible memory and resource leak 4 years ago
mkheader_gemtek.c firmware-utils: add Gemtek header tool 10 years ago
mkhilinkfw.c firmware-utils: fix various compiler warnings 9 years ago
mkmerakifw-old.c tools/firmware-utils: fix portability issue in mkmerakifw-old 8 years ago
mkmerakifw.c firmware-utils: Fix build failure in mkmerakifw.c FS#298 8 years ago
mkmylofw.c ar71xx: Revert "added board support for compex wpj558" 9 years ago
mkplanexfw.c tools: firmware-utils: fix compiler warnings 9 years ago
mkporayfw.c ramips: generate factory images for Nexx devices 10 years ago
mkrasimage.c mkrasimage: fix segmentation fault 4 years ago
mkrtn56uimg.c firmware-utils: honor env SOURCE_DATE_EPOCH 7 years ago
mksenaofw.c firmware-utils/mksenaofw: fix possible memory leak 4 years ago
mksercommfw.c firmware-utils: mksercommfw: overhaul image creation 5 years ago
mktitanimg.c firmware-utils/mktitanimg: fix possible resource leak 4 years ago
mktitanimg.h add mktitanimg to create Titan (AR7-based) images (#6632) 14 years ago
mktplinkfw-lib.c firmware-utils: mktplinkfw: fix JFFS2 EOF markers 7 years ago
mktplinkfw-lib.h tools/firmware-utils: mktplinkfw move build_fw() to lib 7 years ago
mktplinkfw.c ramips: add support for TP-Link RE200 v1 4 years ago
mktplinkfw2.c tools/firmware-utils: mktplinkfw2: add Qualcomm layouts 5 years ago
mkwrggimg.c firmware-utils: fix compilation on MacOS X 8 years ago
mkwrgimg.c firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function 13 years ago
mkzcfw.c tools: firmware-utils: fix compiler warnings 9 years ago
mkzynfw.c tools: firmware-utils: fix compiler warnings 9 years ago
motorola-bin.c get rid of $Id$ - it has never helped us and it has broken too many patches ;) 15 years ago
myloader.h ar71xx: Revert "added board support for compex wpj558" 9 years ago
nand_ecc.c treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
nec-enc.c firmware-utils: add nec-enc 5 years ago
osbridge-crc.c tools: firmware-utils: fix compiler warnings 9 years ago
oseama.c firmware-utils: oseama: support extracting entity 8 years ago
otrx.c firmware-utils: add otrx tool for handling TRX images 7 years ago
pc1crypt.c tools: firmware-utils: fix compiler warnings 9 years ago
ptgen.c firmware-utils: ptgen: add GPT support 4 years ago
seama.c tools: firmware-utils: fix compiler warnings 9 years ago
seama.h tools/firmware-utils: add seama tool 12 years ago
sha1.c firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device 16 years ago
sha1.h firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device 16 years ago
spw303v.c firmware-utils: honor env SOURCE_DATE_EPOCH 7 years ago
srec2bin.c firmware-utils: fix various compiler warnings 9 years ago
tplink-safeloader.c ramips: add support for TP-Link RE500 v1 4 years ago
trx.c firmware-utils: improve tools for Buffalo DHP series 7 years ago
trx2edips.c firmware-utils: fix build on big endian systems 13 years ago
trx2usr.c move target/utils to tools/firmware-utils 18 years ago
uimage_padhdr.c firmware-utils: uimage_padhdr: fix Coverity issue 5 years ago
wrt400n.c Revert "tools: wrt400n: fix making factory images with kernel bigger than 1MB" 7 years ago
xorimage.c firmware-utils: add hex pattern mode for xorimage 6 years ago
zyimage.c firmware-utils: add tool to create zyxel images 8 years ago
zynos.h firmware-utils/mkzynfw: add support for the NBG460N board 14 years ago
zyxbcm.c firmware-utils: honor env SOURCE_DATE_EPOCH 7 years ago