aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-29 16:03:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-29 16:03:04 +0000
commite9c4d3d1f2dd990ebd9474ceda1c77b45678c6bd (patch)
tree1c8f859fa4472105030accbb677d1e617b286e51 /target/linux/ramips/base-files
parentde0527a354426c4da678866cc3c1ab5d3f940a0c (diff)
downloadupstream-e9c4d3d1f2dd990ebd9474ceda1c77b45678c6bd.tar.gz
upstream-e9c4d3d1f2dd990ebd9474ceda1c77b45678c6bd.tar.bz2
upstream-e9c4d3d1f2dd990ebd9474ceda1c77b45678c6bd.zip
ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation
SVN-Revision: 31144
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network3
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 7bd58d5fac..62788cde48 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -53,6 +53,7 @@ case "$FIRMWARE" in
bc2 | \
esr-9753 | \
fonera20n | \
+ freestation5 | \
hw550-3g | \
mofi3500-3gn | \
pwh2004 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index a17fad8e98..dc2221f1e7 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -54,8 +54,9 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "4 8t"
;;
+ freestation5 | \
wcr-150gn)
- ucidef_set_interface_lan_wan "eth0.2" "eth0.1"
+ ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
;;
wli-tx4-ag300n)
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 90c327a2ed..f523d690d4 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
@@ -10,6 +10,7 @@ preinit_set_mac_address() {
case $(ramips_board_name) in
bc2 |\
esr-9753 |\
+ freestation5 |\
nw718 |\
rt-n56u |\
sl-r7205)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 6e1da23040..1298ebda93 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -50,6 +50,9 @@ ramips_board_name() {
*"Allnet ALL0256N")
name="all0256n"
;;
+ *"ARC FreeStation5")
+ name="freestation5"
+ ;;
*"Argus ATP-52B")
name="argus-atp52b"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 4d0bb19c77..7f500d9796 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -21,6 +21,7 @@ platform_check_image() {
dir-600-b2 | \
esr-9753 | \
fonera20n | \
+ freestation5 | \
hw550-3g | \
mofi3500-3gn | \
nbg-419n | \