aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2018-02-15 18:42:45 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2018-02-22 18:53:22 +0100
commit907d67491068890e27f7611da5c5c4d44a672c3c (patch)
treea9100f85ece7060f88efc74d23295450bebd322b /target/linux/ar71xx/base-files
parent12c7b22e4edcb76fffc2c9c1318a041bf43c0d36 (diff)
downloadupstream-907d67491068890e27f7611da5c5c4d44a672c3c.tar.gz
upstream-907d67491068890e27f7611da5c5c4d44a672c3c.tar.bz2
upstream-907d67491068890e27f7611da5c5c4d44a672c3c.zip
ar71xx: rework GainStrong devices support
- combine support for Oolite/MiniBox V1.0 in single mach-*.c file - fix model/board names - include correct/full vendor name - drop redundant package and factory image Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh2
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh8
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
5 files changed, 7 insertions, 10 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 04673fbbab..42b40e35ff 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -28,7 +28,7 @@ ar71xx_setup_interfaces()
mc-mac1200r|\
minibox-v1|\
mynet-n600|\
- oolite|\
+ oolite-v1|\
qihoo-c301|\
r602n|\
rb-750|\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 3550f7dc65..38df0c15d1 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -197,7 +197,7 @@ get_status_led() {
status_led="$board:green:sig4"
;;
dragino2|\
- oolite)
+ oolite-v1)
status_led="$board:red:system"
;;
dw33d|\
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
index b0b0e9a4c5..4dd224b549 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
@@ -55,6 +55,9 @@ dr344)
gl-ar150)
migrate_leds "gl-ar150:wlan=gl-ar150:orange:wlan" "gl-ar150:lan=gl-ar150:green:lan" "gl-ar150:wan=gl-ar150:green:wan"
;;
+oolite-v1)
+ migrate_leds "oolite:=${board}"
+ ;;
wndap360|\
wndr3700|\
wnr2000|\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index fda135072c..96b3e650f1 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -290,12 +290,6 @@ tplink_board_detect() {
"360000"*)
model="TP-Link TL-WDR3600"
;;
- "3C0001"*)
- model="OOLITE"
- ;;
- "3C0002"*)
- model="MINIBOX_V1"
- ;;
"430000"*)
model="TP-Link TL-WDR4300"
;;
@@ -866,7 +860,7 @@ ar71xx_board_detect() {
name="onion-omega"
;;
*"Oolite V1.0")
- name="oolite"
+ name="oolite-v1"
;;
*"Packet Squirrel")
name="packet-squirrel"
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index adc325b34c..c73dbd49ec 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -398,7 +398,7 @@ platform_check_image() {
omy-g1|\
omy-x1|\
onion-omega|\
- oolite|\
+ oolite-v1|\
packet-squirrel|\
re355|\
re450|\