aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-16 09:26:48 +0000
committerJohn Crispin <john@openwrt.org>2016-03-16 09:26:48 +0000
commit99414dbcf1901a8f362e62febe562dacd4595c8e (patch)
tree1927d20fe846d8453e5501087f3a6643b7d438aa /target/linux/ramips/base-files
parent553c1b793f6de84e8ed545535f1ee54c4c4c0581 (diff)
downloadupstream-99414dbcf1901a8f362e62febe562dacd4595c8e.tar.gz
upstream-99414dbcf1901a8f362e62febe562dacd4595c8e.tar.bz2
upstream-99414dbcf1901a8f362e62febe562dacd4595c8e.zip
ramips: Add support for Xiaomi MiWiFi Nano
Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> v3 includes changes suggested by L. D. Pinney & Karl Palsson- Eliminate en25q64 (4MB) flash chip Alphabetization Remove hyphen in model Rename profile from miwifinano.mk to xiaomi.mk Add gpios that are attached to leds SVN-Revision: 49024
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index dc9b5b2b94..4b65d36b98 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -68,6 +68,7 @@ ramips_setup_interfaces()
firewrt|\
hlk-rm04|\
miwifi-mini|\
+ miwifi-nano|\
mt7621|\
mt7628|\
mzk-750dhp|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 815765a75e..5f1df7b83f 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -250,6 +250,9 @@ ramips_board_detect() {
*"MiWiFi Mini")
name="miwifi-mini"
;;
+ *"MiWiFi Nano")
+ name="miwifi-nano"
+ ;;
*"MLW221")
name="mlw221"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index b1d23471d9..c329dce4f7 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -78,6 +78,7 @@ platform_check_image() {
miniembplug|\
miniembwifi|\
miwifi-mini|\
+ miwifi-nano|\
mlw221|\
mlwg2|\
mofi3500-3gn|\