ramips: Add support for TP-Link Archer MR200 v6
authorDamien Zammit <damien@zamaudio.com>
Sun, 26 May 2024 06:40:51 +0000 (16:40 +1000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 Jan 2025 21:21:21 +0000 (22:21 +0100)
commit9c8ac97e70fdad528387d203571176b9328f94ef
tree59433b918d34565f077b93055036c002cc42c55f
parent17b0d1379a3cd4a2e2dbefa7d0f9bc281269f97e
ramips: Add support for TP-Link Archer MR200 v6

This adds a new port for the above device.
Currently, there is no easy installation method except
opening the device up and soldering a UART header on and
getting u-boot shell access.  You boot the initramfs version
first using tftpboot, then once booted, you sysupgrade.

Shell access to root on vendor firmware:
admin:1234

To get U-Boot console, spam '4' into the serial console at boot.

with LEDs on the left, serial pinout is:

o - tx
o - rx
o - gnd
x - 3v3

server ip for tftpboot
192.168.0.225

The initramfs-kernel version boots without touching onboard flash with:

MT7628# tftpboot 0x80000000 openwrt-ramips-mt76x8-tplink_archer-mr200-v6-initramfs-kernel.bin
MT7628# bootm 0x80000000

Then when it boots off RAM, you copy
openwrt-ramips-mt76x8-tplink_archer-mr200-v6-squashfs-sysupgrade.bin
to /tmp/sysupgrade.bin of the device and run:

root@OpenWrt:/tmp# sysupgrade -n sysupgrade.bin

- [x] LEDs working
- [x] Buttons working
- [x] wlan detected
- [x] wwan detected
- [x] initramfs image working
- [x] sysupgrade working

Signed-off-by: Damien Zammit <damien@zamaudio.com>
Link: https://github.com/openwrt/openwrt/pull/15610
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v6.dts [new file with mode: 0644]
target/linux/ramips/image/mt76x8.mk
target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network