aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-04-09 10:32:37 +0000
committerJohn Crispin <john@openwrt.org>2015-04-09 10:32:37 +0000
commitb7f19a5b261966a6fc2a587ea43c1dd6aa189a55 (patch)
tree5cb8af5935dbe6b65a824b978bc21966139ce97d /target/linux/ramips/base-files
parentb757a9971a811749930eb6734f9ab2bbb8113c25 (diff)
downloadupstream-b7f19a5b261966a6fc2a587ea43c1dd6aa189a55.tar.gz
upstream-b7f19a5b261966a6fc2a587ea43c1dd6aa189a55.tar.bz2
upstream-b7f19a5b261966a6fc2a587ea43c1dd6aa189a55.zip
ramips: Add support for Microduino MicroWRT
MicroWRT is an wireless router with 2 USB,1 ethernet port. It has a 16M flash and 64M DDR2 RAM. You can use most interface, such as i2c, SPI, i2s and PCIe. Besides that there are three expansion borad to combine with the core board. The detailed information, please refer to https://www.microduino.cc/wiki/index.php?title=Main_Page This patch adds support for it. Because there is only one port,so disabled VLAN and use eth0 as lan port. and only a power LED control by power pin. Signed-off-by: 盛凯 <shengkai81@gmail.com> SVN-Revision: 45331
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 d4ec19d6cd..24e1ba8502 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -45,6 +45,7 @@ ramips_setup_interfaces()
3g150b | \
3g300m | \
+ microwrt | \
w150m | \
zte-q7 | \
all0256n | \
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index fc6eb37692..616f4a1a26 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -202,6 +202,9 @@ ramips_board_detect() {
*"Planex MZK-750DHP")
name="mzk-750dhp"
;;
+ *"Microduino MicroWRT")
+ name="microwrt"
+ ;;
*"NBG-419N")
name="nbg-419n"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index a5773b5e4d..17b456ba19 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -60,6 +60,7 @@ platform_check_image() {
m2m | \
m3 | \
m4 | \
+ microwrt | \
mlw221 | \
mlwg2 | \
mofi3500-3gn | \