diff options
author | Thibaut VARENE <hacks@slashdirt.org> | 2017-02-07 12:06:33 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-15 11:28:57 +0100 |
commit | c59fa94eeecf16c79254ab4bc78f5b31c7387039 (patch) | |
tree | a659eeca6219f7c7f252da490866739ff22b0c83 /target/linux/ar71xx/base-files/lib | |
parent | d1a75c5161bbd1cdc148a8d8a5b0b71936dce08d (diff) | |
download | upstream-c59fa94eeecf16c79254ab4bc78f5b31c7387039.tar.gz upstream-c59fa94eeecf16c79254ab4bc78f5b31c7387039.tar.bz2 upstream-c59fa94eeecf16c79254ab4bc78f5b31c7387039.zip |
ar71xx: add support for RB mAP L-2nD
This patch adds support for the MikroTik RouterBOARD mAP lite
https://routerboard.com/RBmAPL-2nD
Specifications:
- SoC: Qualcomm QCA9533 (650MHz)
- RAM: 64MB
- Storage: 16MB NOR SPI flash
- Wireless: builtin QCA9533, 2x2:2
- Ethernet: 1x100M
This is another 16M SPI NOR mikrotik device. The machine file is named
mach-rbspi.c because I plan to add support for several of the other spi-based
RouterBOARD devices in subsequent patches: they share most of the hardware
and thus the same codebase.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index d51260df7b..066f8eb17f 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -883,6 +883,9 @@ ar71xx_board_detect() { *"RouterBOARD 2011UiAS-2HnD") name="rb-2011uias-2hnd" ;; + *"RouterBOARD mAP L-2nD") + name="rb-mapl-2nd" + ;; *"RouterBOARD SXT Lite2") name="rb-sxt2n" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index f227bf8d18..43515fe93a 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-mapl-2nd|\ routerstation-pro|\ routerstation|\ wp543|\ @@ -615,7 +616,8 @@ platform_pre_upgrade() { local board=$(ar71xx_board_name) case "$board" in - rb-941-2nd) + rb-941-2nd|\ + rb-mapl-2nd) ;; rb*|\ c-60|\ @@ -651,7 +653,8 @@ platform_do_upgrade() { local board=$(ar71xx_board_name) case "$board" in - rb-941-2nd) + rb-941-2nd|\ + rb-mapl-2nd) PLATFORM_DO_UPGRADE_COMBINED_SEPARATE_MTD=1 platform_do_upgrade_combined "$ARGV" ;; |