aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-11 21:16:53 +0000
committerJohn Crispin <john@openwrt.org>2013-07-11 21:16:53 +0000
commit39531131a9186a7810b9f67e2694ccd6b65d14bd (patch)
tree88cd47e730aed042767b6e2c0522cedb2acccee6 /target/linux/ar71xx/base-files/lib
parent182866ecdcd9468a04be19be9b5a10399496ba11 (diff)
downloadupstream-39531131a9186a7810b9f67e2694ccd6b65d14bd.tar.gz
upstream-39531131a9186a7810b9f67e2694ccd6b65d14bd.tar.bz2
upstream-39531131a9186a7810b9f67e2694ccd6b65d14bd.zip
ar71xx: add carambola2 support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37260
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, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 05e1093737..19f19e7ae7 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -525,6 +525,9 @@ ar71xx_board_detect() {
*EmbWir-Dorin-Router)
name="ew-dorin-router"
;;
+ "8devices Carambola2"*)
+ name="carambola2"
+ ;;
esac
case "$machine" in
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 26b855f0a3..9542295476 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -133,7 +133,8 @@ platform_check_image() {
wlae-ag300n | \
nbg460n_550n_550nh | \
unifi | \
- unifi-outdoor )
+ unifi-outdoor | \
+ carambola2 )
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1