aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-08-17 05:58:15 +0000
committerJohn Crispin <john@openwrt.org>2015-08-17 05:58:15 +0000
commita0b8c601341bfc8684f962e27715dd18a4d667a8 (patch)
tree374adc8a17b69b8177ed1988f4affec4f860696b /target/linux/ramips/base-files
parent5a6690a7a64b36f7f3fef4d1a331f5c2a3c5387f (diff)
downloadupstream-a0b8c601341bfc8684f962e27715dd18a4d667a8.tar.gz
upstream-a0b8c601341bfc8684f962e27715dd18a4d667a8.tar.bz2
upstream-a0b8c601341bfc8684f962e27715dd18a4d667a8.zip
ramips: fix Xiaomi MiWiFi Mini board, image and profile names
The following patch: * changes board name from "xiaomi-miwifi-mini" to "miwifi-mini" * changes filenames of dts and profile * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Xiaomi MiWiFi Mini device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46617
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh2
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
5 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index bb990c97ed..7bd52e19bb 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -256,8 +256,8 @@ case $board in
wt3020)
ucidef_set_led_default "power" "power" "nexx:blue:power" "0"
;;
- xiaomi-miwifi-mini)
- ucidef_set_led_default "power" "power" "xiaomi:red:status" "1"
+ miwifi-mini)
+ ucidef_set_led_default "power" "power" "miwifi-mini:red:status" "1"
;;
y1 |\
y1s)
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 42447d4d14..44aebcf6e7 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -144,7 +144,7 @@ ramips_setup_interfaces()
wsr-600 | \
wsr-1166 | \
wt1520 | \
- xiaomi-miwifi-mini |\
+ miwifi-mini |\
y1)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 019bbbb2a8..cb3d851941 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -233,8 +233,8 @@ get_status_led() {
xdxrn502j)
status_led="xdxrn502j:green:power"
;;
- xiaomi-mini)
- status_led="xiaomi:red:status"
+ miwifi-mini)
+ status_led="miwifi-mini:red:status"
;;
f7c027)
status_led="belkin:orange:status"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 436ed092e5..fa90243193 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -395,7 +395,7 @@ ramips_board_detect() {
name="ncs601w"
;;
*"Xiaomi MiWiFi Mini")
- name="xiaomi-miwifi-mini"
+ name="miwifi-mini"
;;
*"Sercomm NA930")
name="na930"
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 1021123693..f46155ff43 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -123,7 +123,7 @@ platform_check_image() {
wt3020 |\
x5 |\
x8 |\
- xiaomi-miwifi-mini |\
+ miwifi-mini |\
y1 |\
y1s |\
zte-q7 |\