aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorRyan Mounce <ryan@mounce.com.au>2017-03-17 14:30:33 +1030
committerPiotr Dymacz <pepe2k@gmail.com>2017-03-23 09:35:14 +0100
commit978998628fe98f8cfc81910b851e5a3dfd316bac (patch)
treea40bf92395cecfe94658cdef6a33d1eda6846e3d /target/linux/ar71xx/base-files/lib
parent540edf704501db3ec8dcb278a7f1df52de222ae0 (diff)
downloadupstream-978998628fe98f8cfc81910b851e5a3dfd316bac.tar.gz
upstream-978998628fe98f8cfc81910b851e5a3dfd316bac.tar.bz2
upstream-978998628fe98f8cfc81910b851e5a3dfd316bac.zip
ar71xx: add support for MikroTik hAP ac
This patch adds initial support for the MikroTik RouterBOARD hAP ac (RB962UiGS-5HacT2HnT). All functions are supported except: -SFP cage (eth1) is not working -WLAN LEDs are not working Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 63c09871d4..32f3bfbbeb 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -908,6 +908,9 @@ ar71xx_board_detect() {
*"RouterBOARD 952Ui-5ac2nD")
name="rb-952ui-5ac2nd"
;;
+ *"RouterBOARD 962UiGS-5HacT2HnT")
+ name="rb-962uigs-5hact2hnt"
+ ;;
*"RouterBOARD LHG 5nD")
name="rb-lhg-5nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index f5f37f044d..7a0bbb63b4 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -639,6 +639,7 @@ platform_check_image() {
rb-941-2nd|\
rb-951ui-2nd|\
rb-952ui-5ac2nd|\
+ rb-962uigs-5hact2hnt|\
rb-lhg-5nd|\
rb-mapl-2nd)
return 0
@@ -692,6 +693,7 @@ platform_pre_upgrade() {
rb-941-2nd|\
rb-951ui-2nd|\
rb-952ui-5ac2nd|\
+ rb-962uigs-5hact2hnt|\
rb-lhg-5nd|\
rb-mapl-2nd)
# erase firmware if booted from initramfs