aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-02 12:42:48 +0000
committerJohn Crispin <john@openwrt.org>2014-06-02 12:42:48 +0000
commitefd09832febde11e9d4bc6fca6e471f94933867f (patch)
treef3c9c1dfeba243c408b707cb0efd64d7fa0eb6dd /target/linux/ramips/base-files
parent44e2de03a4a96a01a732b33bf14c059da1924304 (diff)
downloadupstream-efd09832febde11e9d4bc6fca6e471f94933867f.tar.gz
upstream-efd09832febde11e9d4bc6fca6e471f94933867f.tar.bz2
upstream-efd09832febde11e9d4bc6fca6e471f94933867f.zip
ramips: Support for Teltonika RUT5XX
Hi Hartmut, Thanks for your feedback, I have reformated the patch accordingly. Added support for Teltonika RUT5XX hardware. Signed-off-by: Steffen Weinreich <steve@weinreich.org> SVN-Revision: 40907
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 075562af02..66a0aaae47 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -104,6 +104,9 @@ get_status_led() {
rt-n56u | wl-330n | wl-330n3g)
status_led="asus:blue:power"
;;
+ rut5xx)
+ status_led="rut5xx:green:status"
+ ;;
sl-r7205)
status_led="sl-r7205:green:status"
;;
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 341fd5f4d1..1a39bb6035 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
@@ -97,6 +97,7 @@ case "$FIRMWARE" in
px4885 | \
rt-n15 | \
rt-n56u | \
+ rut5xx | \
sl-r7205 | \
v11st-fe | \
v22rw-2x2 | \
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 7f221f807d..4619befb29 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -211,6 +211,9 @@ ramips_board_detect() {
*"RT-N56U")
name="rt-n56u"
;;
+ *"RUT5XX")
+ name="rut5xx"
+ ;;
*"Skyline SL-R7205"*)
name="sl-r7205"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index d8098b2a66..c85ee0f703 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -69,6 +69,7 @@ platform_check_image() {
rt-n14u | \
rt-n15 | \
rt-n56u | \
+ rut5xx | \
sl-r7205 | \
tew-691gr | \
tew-692gr | \