summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-01 13:38:30 +0000
committerJohn Crispin <john@openwrt.org>2014-07-01 13:38:30 +0000
commit3519322e6238913eeae717a598c9760ddf40436c (patch)
tree1936a16c7bb1076cb791e128bd2712033cd63718 /target/linux/ar71xx/base-files
parent5f31f01853b558742bed17bbdde5373e6fcc1c26 (diff)
downloadmtk-20170518-3519322e6238913eeae717a598c9760ddf40436c.zip
mtk-20170518-3519322e6238913eeae717a598c9760ddf40436c.tar.gz
mtk-20170518-3519322e6238913eeae717a598c9760ddf40436c.tar.bz2
ar71xx: Add support for MikroTik RouterBOARD SXT Lite
This patch adds support for the MikroTik RouterBOARD SXT Lite. The new RB911L series is also supported as a result. v2 of this patch fixes the wmac offset to match what is on the sticker. v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41450
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network2
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
3 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 687cddf..ef172b4 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -135,6 +135,10 @@ get_status_led() {
rb-951ui-2hnd)
status_led="rb:green:act"
;;
+ rb-sxt2n|\
+ rb-sxt5n)
+ status_led="rb:green:power"
+ ;;
routerstation | routerstation-pro)
status_led="ubnt:green:rf"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 99c0268..646425c 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -259,6 +259,8 @@ eap7660d |\
mr600 |\
mr600v2 |\
rb-411 |\
+rb-sxt2n |\
+rb-sxt5n |\
tl-mr10u |\
tl-mr11u |\
tl-mr13u |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 4656ac2..bd277ab 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -466,6 +466,12 @@ ar71xx_board_detect() {
*"RouterBOARD 2011UAS-2HnD")
name="rb-2011uas-2hnd"
;;
+ *"RouterBOARD SXT Lite2")
+ name="rb-sxt2n"
+ ;;
+ *"RouterBOARD SXT Lite5")
+ name="rb-sxt5n"
+ ;;
*"Rocket M")
name="rocket-m"
;;