From f683385e73f09c13fd08c3d352f3f1739c1944c4 Mon Sep 17 00:00:00 2001 From: Alex Maclean Date: Sun, 23 Jul 2017 20:06:44 +0100 Subject: ramips: add support for TP-Link RE350 The TP-Link RE350 is a wall-wart AC1200 range extender/access point with a single gigabit ethernet port and two non-detachable antennas, based on the MT7621A SoC with MT7603E and MT7612E radios. Firmware wise it is very similar to the QCA based RE450. SoC: MediaTek MT7621A (880MHz) Flash: 8MiB (Winbond W25Q64) RAM: 64MiB (DDR2) Ethernet: 1x 1Gbit Wireless: 2T2R 2.4Ghz (MT7603E) and 5GHz (MT7612E) LEDs: Power, 2.4G, 5G (blue), WPS (red and blue), ethernet link/act (green) Buttons: On/off, LED, reset, WPS Serial header at J1, 57600 8n1: Pin 1 TX Pin 2 RX Pin 3 GND Pin 4 3.3V Factory image can be uploaded directly through the stock UI. Signed-off-by: Alex Maclean --- target/linux/ramips/base-files/lib/upgrade/platform.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/ramips/base-files/lib/upgrade') diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 36469ca704..830e129115 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -253,6 +253,13 @@ platform_check_image() { # these boards use metadata images return 0 ;; + re350-v1) + [ "$magic" != "01000000" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; ubnt-erx|\ ubnt-erx-sfp) nand_do_platform_check "$board" "$1" -- cgit v1.2.3