diff options
author | John Crispin <john@openwrt.org> | 2015-01-22 09:35:22 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-01-22 09:35:22 +0000 |
commit | 36d19e46dfbf0a6baa4f741e8182fbd72dd6575e (patch) | |
tree | c13d6f4cda1dd5c11a8fddcb6a7e7d1b868be74b /target/linux/ramips/base-files | |
parent | deb66a555e8856d253a5feb6620ae4d50f404e69 (diff) | |
download | upstream-36d19e46dfbf0a6baa4f741e8182fbd72dd6575e.tar.gz upstream-36d19e46dfbf0a6baa4f741e8182fbd72dd6575e.tar.bz2 upstream-36d19e46dfbf0a6baa4f741e8182fbd72dd6575e.zip |
ramips: add support for Tenda 3G150B
Add suport for Tenda 3G150B:
- cpu: Ralink RT5350F
- flash: 4MB
- ram: 32MB
- 1x USB 2.0
- 1x RJ45
- one reset button
- battery powered (BP-4L, 3.7V 1450mAh)
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 44073
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 8695cdeb65..af3dddcc58 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -24,6 +24,7 @@ case $board in 3g-6200nl) set_wifi_led "edimax:green:wlan" ;; + 3g150b |\ 3g300m) set_usb_led "tenda:blue:3g" ;; diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index a8ed0b4e09..7724c3e40a 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -43,6 +43,7 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch0" "1" "0 6t" ;; + 3g150b | \ 3g300m | \ w150m | \ all0256n | \ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 1693e9d4fe..808177bc0d 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -9,7 +9,7 @@ get_status_led() { 3g-6200n) status_led="edimax:green:power" ;; - 3g300m | w150m) + 3g150b | 3g300m | w150m) status_led="tenda:blue:ap" ;; ai-br100) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index bb815dabdb..f43725ef9d 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -316,6 +316,9 @@ ramips_board_detect() { *"Tenda 3G300M") name="3g300m" ;; + *"Tenda 3G150B") + name="3g150b" + ;; *"Tenda W306R V2.0") name="w306r-v20" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index ff7126a96f..0dfdf9de86 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -16,6 +16,7 @@ platform_check_image() { case "$board" in 3g-6200n | \ 3g-6200nl | \ + 3g150b | \ 3g300m | \ a5-v11 | \ air3gii | \ |