aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network10
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh12
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
5 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index d5063dead5..687cddf419 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -65,6 +65,10 @@ get_status_led() {
eap7660d)
status_led="eap7660d:green:ds4"
;;
+ el-mini | \
+ el-m150)
+ status_led="EasyLink:green:system"
+ ;;
hiwifi-hc6361)
status_led="hiwifi:blue:system"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index a2b27625d1..99c0268581 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -152,6 +152,16 @@ ap113)
ucidef_add_switch_vlan "switch0" "2" "0t 2"
;;
+el-m150)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 3"
+ ;;
+
+el-mini)
+ ucidef_set_interface_lan "eth0"
+ ;;
+
tl-wdr4300|\
tl-wr1041n-v2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
index 093fbc16ab..31ce548cdf 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
@@ -81,6 +81,7 @@ ew-dorin-router)
migrate_switch_name "eth0" "switch0"
;;
+el-m150|\
rb-450)
migrate_switch_name "eth1" "switch0"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 6dd5e62175..4656ac279e 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -91,6 +91,12 @@ tplink_board_detect() {
hwver="v${hwver#0}"
case "$hwid" in
+ "015000"*)
+ model="EasyLink EL-M150"
+ ;;
+ "015300"*)
+ model="EasyLink EL-MINI"
+ ;;
"3C0001"*)
model="OOLITE"
;;
@@ -307,6 +313,12 @@ ar71xx_board_detect() {
*EAP7660D)
name="eap7660d"
;;
+ *EL-M150)
+ name="el-m150"
+ ;;
+ *EL-MINI)
+ name="el-mini"
+ ;;
*JA76PF)
name="ja76pf"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index c98737436b..8af9580a21 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -224,6 +224,8 @@ platform_check_image() {
;;
archer-c7 | \
+ el-m150 | \
+ el-mini | \
oolite | \
tl-mr10u | \
tl-mr11u | \