aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-02 12:42:48 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-02 12:42:48 +0000
commit27f53b6560d97128bdc6c7d25c2a72d80565401b (patch)
treece967ce6c524f41122d2fa9222a8330700c1966c /target/linux/ramips/base-files
parentcc728d09db52717eb1920c74c9736ea09a6f194a (diff)
downloadupstream-27f53b6560d97128bdc6c7d25c2a72d80565401b.tar.gz
upstream-27f53b6560d97128bdc6c7d25c2a72d80565401b.tar.bz2
upstream-27f53b6560d97128bdc6c7d25c2a72d80565401b.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40907 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 | \