aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network2
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
6 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 78c9e945b3..95e504f1da 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -60,6 +60,9 @@ get_status_led() {
omni-emb)
status_led="emb:green:status"
;;
+ psr-680w)
+ status_led="psr-680w:red:wan"
+ ;;
pwh2004)
status_led="pwh2004:green:power"
;;
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index d93e60a9a6..c5d0d6978b 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -60,6 +60,7 @@ case "$FIRMWARE" in
nbg-419n | \
nw718 | \
omni-emb | \
+ psr-680w | \
rt-n15 | \
rt-n56u | \
sl-r7205 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 43d5726921..bbf0334437 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -24,6 +24,7 @@ ramips_setup_interfaces()
argus-atp52b | \
b2c | \
nw718 | \
+ psr-680w | \
sl-r7205 | \
w502u | \
wr6202)
@@ -93,6 +94,7 @@ ramips_setup_macs()
b2c | \
f5d8235-v1 | \
nw718 | \
+ psr-680w | \
rt-n15 | \
sl-r7205 | \
wl-351)
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index b02dfab813..69d1b8cb20 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -12,6 +12,7 @@ preinit_set_mac_address() {
esr-9753 |\
freestation5 |\
nw718 |\
+ psr-680w |\
rt-n56u |\
sl-r7205)
mac=$(ramips_get_mac_binary factory 4)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 486d137298..a5a173436e 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -101,6 +101,9 @@ ramips_board_name() {
*"Omnima MiniEMBWiFi")
name="omni-emb"
;;
+ *"Petatel PSR-680W"*)
+ name="psr-680w"
+ ;;
*"PWH2004")
name="pwh2004"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 229cbe5435..1292b83e79 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -27,6 +27,7 @@ platform_check_image() {
nbg-419n | \
nw718 | \
omni-emb | \
+ psr-680w | \
rt-g32-b1 | \
rt-n10-plus | \
rt-n15 | \