aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-02-07 19:10:04 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-15 11:28:58 +0100
commit8cbb2ac6332ba3be707ea6e4129c22b9320b72c1 (patch)
treede32f5efdb7ebb3d220aea027be6504bd1272216 /target/linux/ar71xx/base-files/lib
parentb18bae37a4f26949f71f1345caa2b6934f6a4663 (diff)
downloadupstream-8cbb2ac6332ba3be707ea6e4129c22b9320b72c1.tar.gz
upstream-8cbb2ac6332ba3be707ea6e4129c22b9320b72c1.tar.bz2
upstream-8cbb2ac6332ba3be707ea6e4129c22b9320b72c1.zip
ar71xx: add support for RB951Ui-2nD
This patch adds support for the MikroTik RouterBOARD hAP https://routerboard.com/RB951Ui-2nD Specifications: - SoC: Qualcomm QCA9531 (650MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Wireless: builtin QCA9531, 2x2:2 - Ethernet: 5x100M (1 PoE in, 1 PoE out) - USB: Type A Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
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.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 066f8eb17f..a79839864c 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -868,6 +868,9 @@ ar71xx_board_detect() {
*"RouterBOARD 951Ui-2HnD")
name="rb-951ui-2hnd"
;;
+ *"951Ui-2nD")
+ name="rb-951ui-2nd"
+ ;;
*"RouterBOARD 2011L")
name="rb-2011l"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 43515fe93a..b18e87eec7 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -344,6 +344,7 @@ platform_check_image() {
pb42|\
pb44|\
rb-941-2nd|\
+ rb-951ui-2nd|\
rb-mapl-2nd|\
routerstation-pro|\
routerstation|\
@@ -617,6 +618,7 @@ platform_pre_upgrade() {
case "$board" in
rb-941-2nd|\
+ rb-951ui-2nd|\
rb-mapl-2nd)
;;
rb*|\
@@ -654,6 +656,7 @@ platform_do_upgrade() {
case "$board" in
rb-941-2nd|\
+ rb-951ui-2nd|\
rb-mapl-2nd)
PLATFORM_DO_UPGRADE_COMBINED_SEPARATE_MTD=1
platform_do_upgrade_combined "$ARGV"