aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-03-27 06:36:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-03-27 06:36:47 +0000
commit9b98b7991b8765bf9ba5dd3360bec5edf62446ca (patch)
tree6cf85b0c7a3234d60d578e18ef15b8e1c8258862 /target/linux/ar71xx/base-files/lib
parent497c57c44abae5ae00d4879c35bcef1479a1ba43 (diff)
downloadupstream-9b98b7991b8765bf9ba5dd3360bec5edf62446ca.tar.gz
upstream-9b98b7991b8765bf9ba5dd3360bec5edf62446ca.tar.bz2
upstream-9b98b7991b8765bf9ba5dd3360bec5edf62446ca.zip
ar71xx: add user space support for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk> Patchwork: http://patchwork.openwrt.org/patch/4922/ [juhosg: use correct board name in uci-defaults/02_network] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40033 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 06f128bb0f..a20e1d52bb 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -91,6 +91,9 @@ tplink_board_detect() {
hwver="v${hwver#0}"
case "$hwid" in
+ "3C0001"*)
+ model="OOLITE"
+ ;;
"070300"*)
model="TP-Link TL-WR703N"
;;
@@ -204,6 +207,9 @@ ar71xx_board_detect() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"Oolite V1.0")
+ name="oolite"
+ ;;
*"AirRouter")
name="airrouter"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 0028e8a584..d08799e44b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -220,6 +220,7 @@ platform_check_image() {
;;
archer-c7 | \
+ oolite | \
tl-mr10u | \
tl-mr11u | \
tl-mr13u | \