aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-14 20:51:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-14 20:51:26 +0000
commit0c38d36488943095722376ad16a63b4ded86f5de (patch)
treecef1bc98888d8c9e67be41d4c9f7226399bb60c5 /target/linux/ramips/base-files/lib
parent7076d74b21d73b7a18d00041f7e161d05f729bfd (diff)
downloadupstream-0c38d36488943095722376ad16a63b4ded86f5de.tar.gz
upstream-0c38d36488943095722376ad16a63b4ded86f5de.tar.bz2
upstream-0c38d36488943095722376ad16a63b4ded86f5de.zip
ramips: add support for Omnima MiniEMBWiFi board
This patch adds support for the Omnima MiniEMBWiFi Ralink RT3050F based board. Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk> SVN-Revision: 29533
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index 4261a6c92b..0518b7be94 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -20,7 +20,8 @@ preinit_set_mac_address() {
ifconfig eth0 hw ether $mac 2>/dev/null
;;
hw550-3g |\
- nbg-419n)
+ nbg-419n |\
+ omni-emb)
mac=$(ramips_get_mac_binary factory 40)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index b41a153ca9..7d45bde096 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -80,6 +80,9 @@ ramips_board_name() {
*"NW718")
name="nw718"
;;
+ *"Omnima MiniEMBWiFi")
+ name="omni-emb"
+ ;;
*"PWH2004")
name="pwh2004"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 4cb4c50fe8..03a1e7b100 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -23,6 +23,7 @@ platform_check_image() {
mofi3500-3gn | \
nbg-419n | \
nw718 | \
+ omni-emb | \
rt-g32-b1 | \
rt-n15 | \
v22rw-2x2 | \