aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-24 09:08:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-24 09:08:47 +0000
commit896d3e3e135e58636fcabcebf48f2eebf77623e4 (patch)
treea699200f9f2d39dfcac545919e86478f526af1eb /target/linux/ar71xx/base-files
parente828d32153af982ec5e8c5d5e680ce3817a677df (diff)
downloadupstream-896d3e3e135e58636fcabcebf48f2eebf77623e4.tar.gz
upstream-896d3e3e135e58636fcabcebf48f2eebf77623e4.tar.bz2
upstream-896d3e3e135e58636fcabcebf48f2eebf77623e4.zip
ar71xx: Add WeIO Board Support
Add support for WeIO board (http://we-io.net). This board is based on Carambola2 board form 8Devices. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [some cleanups] SVN-Revision: 47036
Diffstat (limited to 'target/linux/ar71xx/base-files')
-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 efb3d1639a..ad98cfbae6 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -850,6 +850,9 @@ ar71xx_board_detect() {
*"UniFi AP Pro")
name="uap-pro"
;;
+ *"WeIO")
+ name="weio"
+ ;;
*WHR-G301N)
name="whr-g301n"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index cad8b4333a..c947b78981 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -252,7 +252,8 @@ platform_check_image() {
nbg460n_550n_550nh | \
unifi | \
unifi-outdoor | \
- carambola2 )
+ carambola2 | \
+ weio )
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1