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/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-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
7 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index cc426b74c6..f8e97875aa 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -55,6 +55,9 @@ get_status_led() {
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
;;
+ mpr-a1)
+ status_led="mpr-a1:red:power"
+ ;;
mpr-a2)
status_led="mpr-a2:red: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 b3ca002d09..9e9e09be3d 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
@@ -78,6 +78,7 @@ case "$FIRMWARE" in
freestation5 | \
hw550-3g | \
mofi3500-3gn | \
+ mpr-a1 | \
mpr-a2 | \
pwh2004 | \
nbg-419n | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 036d311d9b..7f69231da9 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -94,6 +94,9 @@ case $board in
mofi3500-3gn)
set_usb_led "mofi3500-3gn:green:usb"
;;
+ mpr-a1)
+ set_wifi_led "mpr-a1:blue:system"
+ ;;
mpr-a2)
set_wifi_led "mpr-a2:blue:system"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 2d833b31a6..6877588a45 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -173,6 +173,7 @@ ramips_setup_macs()
broadway | \
dir-620-d1 | \
f5d8235-v1 | \
+ mpr-a1 | \
mpr-a2 | \
mzk-w300nh2 | \
nw718 | \
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 6f153aac46..aacec25fe3 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
@@ -26,6 +26,7 @@ preinit_set_mac_address() {
dir-620-a1 |\
esr-9753 |\
freestation5 |\
+ mpr-a1 | \
mpr-a2 | \
nw718 |\
psr-680w |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index cb6c10f76f..b1ecc8dfb9 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -118,6 +118,9 @@ ramips_board_detect() {
*"MoFi Network MOFI3500-3GN")
name="mofi3500-3gn"
;;
+ *"HAME MPR-A1")
+ name="mpr-a1"
+ ;;
*"HAME MPR-A2")
name="mpr-a2"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index ef2aa99690..1d867a73f5 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -45,6 +45,7 @@ platform_check_image() {
hw550-3g | \
hg255d | \
mofi3500-3gn | \
+ mpr-a1 | \
mpr-a2 | \
mzk-w300nh2 | \
nbg-419n | \