From aab7d8aca9dba0a72020a074f3f122f46e3c1e26 Mon Sep 17 00:00:00 2001 From: Dark4MD Date: Tue, 29 Jun 2021 11:04:11 +0200 Subject: [PATCH] ramips-mt76x8: add Xiaomi Mi Router 4C Specifications: - CPU: MediaTek MT7628AN (580MHz) - Flash: 16MB - RAM: 64MB DDR2 - 2.4 GHz: IEEE 802.11b/g/n with Integrated LNA and PA - Antennas: 4x external single band antennas - WAN: 1x 10/100M - LAN: 2x 10/100M - LEDs: 2x yellow/blue. Programmable (labelled as power on case) - Non-programmable (shows WAN activity) - Button: Reset How to install: 1- Use OpenWRTInvasion to gain telnet and ftp access. 2- Push openwrt firmware to /tmp/ using ftp. 3- Connect to router using telnet. (IP: 192.168.31.1 - Username: root - No password) 4- Use command "mtd -r write /tmp/firmware.bin OS1" to flash into the router.. 5- It takes around 2 minutes. After that router will restart itself to OpenWrt. --- docs/user/supported_devices.rst | 1 + targets/ramips-mt76x8 | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index b99014d9..32d85cfb 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -233,6 +233,7 @@ ramips-mt76x8 * Xiaomi - Xiaomi Mi Router 4A (100M Edition) + - Xiaomi Mi Router 4C ramips-rt305x [#deprecated]_ [#device-class-tiny]_ --------------------------------------------------- diff --git a/targets/ramips-mt76x8 b/targets/ramips-mt76x8 index 4a0bf711..0adcfaa4 100644 --- a/targets/ramips-mt76x8 +++ b/targets/ramips-mt76x8 @@ -81,3 +81,7 @@ device('vocore2', 'vocore_vocore2', { device('xiaomi-mi-router-4a-100m-edition', 'xiaomi_mi-router-4a-100m', { factory = false, }) + +device('xiaomi-mi-router-4c', 'xiaomi_mi-router-4c', { + factory = false, +})