summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib/ar71xx.sh
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
commit02f2e90d5f9071ff3641a8dccfd54ab1354a0c13 (patch)
tree410deaccfe4b157c4f6391300e17330a6317c130 /target/linux/ar71xx/base-files/lib/ar71xx.sh
parent5256bbdc56f4829106e9c11271a273ef7f704870 (diff)
downloadmtk-20170518-02f2e90d5f9071ff3641a8dccfd54ab1354a0c13.zip
mtk-20170518-02f2e90d5f9071ff3641a8dccfd54ab1354a0c13.tar.gz
mtk-20170518-02f2e90d5f9071ff3641a8dccfd54ab1354a0c13.tar.bz2
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> SVN-Revision: 40033
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/ar71xx.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
1 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 06f128b..a20e1d5 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"
;;