openwrt/target/linux/ramips
Tomasz Maciej Nowak 0709bd87ba ramips: mt76x8: add support for TP-Link RE365 v1
TP-Link RE365 is a wireless range extender, hardware-wise resembles
RE305 with slight changes regarding buttons and LEDs.

Specification
SoC: MediaTek MT7628AN
RAM: 64 MiB DDR2
Flash: 8 MiB SPI NOR
WiFi: 2.4 GHz 2T2R integrated
      5 GHz 2T2R MediaTek MT7612EN conncted to PCIe lanes
Ethernet: 1x 10/100 Mbps integrated
LEDs: 6x GPIO controlled
Buttons: 4x GPIO controlled
UART: row of 4 holes marked on PCB as J1, starting count from white
      triangle
      1. VCC (3.3V), 2. GND, 3. RX, 4. TX
      baud: 57600, parity: none, flow control: none

Installation
1. Open web management interface.
2. Go to Settings > System Tools > Firmware upgrade.
3. Select "Browse" and select the OpenWrt image with factory.bin suffix.
4. After selecting "Upgrade" firmware writing process will start.
5. Wait till device reboots, power LED should stay solid when it's fully
   booted, then it's ready for configuration through LAN port.

Additional information
With how device manufacturer patrtitioned the flash memory, it's possible
that with default packages set, initial factory.bin image won't be
created. In such case, try to reduce packages amount or use older release
for initial conversion to OpenWrt. Later You can use sysupgrade.bin
image with full set of packages because OpenWrt uses unpartitioned flash
memory space unused by vendor firmware.

Reverting to vendor firmware involves converting firmware using
tplink-safeloader with -z option (can be found in ImageBuilder or SDK)
and forcibly applying converted firmware as sysupgrade.

Known issues
WARNING: after removing casing of the device one is exposed to high
voltage and is in a risk of being electrocuted.

Caution when interfacing whith bootloader, saving its environment either
by issuing "saveenv" or selecting option "1: Load system code to SDRAM
via TFTP." in boot menu, any of those will lead to overwriting part of
kernel. This will lead to need of firmware recovery. The cause of this
issue is bootloader having environment offset on flash at 0x40000,
while kernel starts from 0x20000.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
[Wrap long line in DTS]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2024-01-10 20:56:06 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: mt76x8: add support for TP-Link RE365 v1 2024-01-10 20:56:06 +01:00
files/drivers ramips: reset mt7620 ethernet phy via reset controller 2024-01-06 14:24:13 +01:00
image ramips: mt76x8: add support for TP-Link RE365 v1 2024-01-10 20:56:06 +01:00
mt76x8 ramips: mt76x8: add support for TP-Link RE365 v1 2024-01-10 20:56:06 +01:00
mt7620 ramips: add support for Sercomm CPJ routers 2023-11-25 01:11:18 +01:00
mt7621 ramips: update leds & buttons dts description 2024-01-07 01:41:22 +01:00
patches-5.15 ramips: refresh patches 2023-12-08 23:34:42 +00:00
rt288x ramips: add proper system clock and reset driver support for legacy SoCs 2023-07-30 13:09:23 +02:00
rt305x ramips: add proper system clock and reset driver support for legacy SoCs 2023-07-30 13:09:23 +02:00
rt3883 ramips: add proper system clock and reset driver support for legacy SoCs 2023-07-30 13:09:23 +02:00
Makefile ramips: Switch default kernel to 5.15 2023-02-17 16:31:53 +02:00
modules.mk kernel: modules: break-out WM8960 codec module 2023-12-11 18:01:43 +00:00