From 27f53b6560d97128bdc6c7d25c2a72d80565401b Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 2 Jun 2014 12:42:48 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40907 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/diag.sh | 3 +++ target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 4 files changed, 8 insertions(+) (limited to 'target/linux/ramips/base-files') 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 | \ -- cgit v1.2.3