diff --git a/target/linux/lantiq/base-files/etc/diag.sh b/target/linux/lantiq/base-files/etc/diag.sh index 4fb47bd2731..06cf7e2714c 100644 --- a/target/linux/lantiq/base-files/etc/diag.sh +++ b/target/linux/lantiq/base-files/etc/diag.sh @@ -6,6 +6,7 @@ boot="$(get_dt_led boot)" failsafe="$(get_dt_led failsafe)" running="$(get_dt_led running)" +upgrade="$(get_dt_led upgrade)" set_state() { status_led="$boot" @@ -26,6 +27,14 @@ set_state() { preinit_regular) status_led_blink_preinit_regular ;; + upgrade) + [ -n "$running" ] && { + status_led="$running" + status_led_off + } + status_led="$upgrade" + status_led_blink_preinit_regular + ;; done) status_led_off [ -n "$running" ] && { diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts index 0d128e03853..a157104dbf2 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts @@ -13,6 +13,7 @@ led-boot = &power; led-failsafe = &power; led-running = &power; + led-upgrade = &power; led-dsl = &dsl; led-internet = &online_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4510PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4510PW.dts index 0d0b70c68aa..6598a60f58f 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4510PW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4510PW.dts @@ -16,6 +16,7 @@ led-boot = &power; led-failsafe = &power2; led-running = &power; + led-upgrade = &power; led-dsl = &adsl; led-internet = &internet; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi index e95c4036829..f29c416c06f 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi @@ -11,6 +11,7 @@ led-boot = &power; led-failsafe = &power; led-running = &power; + led-upgrade = &power; led-dsl = &dsl; led-internet = &online; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts index 690c12f4229..05e9da2297c 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts @@ -16,6 +16,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; led-internet = &internet_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts index 68d6dc3e7e6..cd76bf57996 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts @@ -16,6 +16,7 @@ led-boot = &power_blue; led-failsafe = &power_red; led-running = &power_blue; + led-upgrade = &power_blue; led-dsl = &dsl; led-internet = &internet_blue; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts index 3854ac2dbee..203a30df5cd 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts @@ -16,6 +16,7 @@ led-boot = &power_blue; led-failsafe = &power_red; led-running = &power_blue; + led-upgrade = &power_blue; led-dsl = &dsl_blue; led-usb = &led_usb; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7506PW11.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7506PW11.dts index 0c251c61ff1..8fe22e9a44e 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7506PW11.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7506PW11.dts @@ -16,6 +16,7 @@ led-boot = &power; led-failsafe = &power_red; led-running = &power; + led-upgrade = &power; led-dsl = &dsl; led-internet = &internet; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts index 2c52ec62b73..92d01b4dcc3 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts @@ -16,6 +16,7 @@ led-boot = &power; led-failsafe = &power; led-running = &power; + led-upgrade = &power; led-dsl = &internet; led-usb = &umts; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts index a033b0de7d9..72f3a686b5f 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts @@ -16,6 +16,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; led-internet = &online_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519PW.dts index 39dcf456196..bcb3b502af4 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519PW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519PW.dts @@ -16,6 +16,7 @@ led-boot = &power; led-failsafe = &power2; led-running = &power; + led-upgrade = &power; led-dsl = &dsl; led-internet = &online; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts index 2d557f47342..baa9adcc9cb 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts @@ -17,6 +17,7 @@ led-boot = &power_green; led-failsafe = &power_green; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &internet_green; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7525PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7525PW.dts index 42522263318..a395d4ff45a 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7525PW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7525PW.dts @@ -16,6 +16,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &power_green; led-internet = &online; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts index 911e71a2cdc..5f877723f6d 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts @@ -16,6 +16,7 @@ led-boot = &power_red; led-failsafe = &power_blue; led-running = &power_red; + led-upgrade = &power_red; led-dsl = &internet_red; led-usb = &umts; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts index 88d9d7fdc3a..1d4d662ab3e 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts @@ -16,6 +16,7 @@ led-boot = &power_red; led-failsafe = &power_blue; led-running = &power_red; + led-upgrade = &power_red; led-dsl = &internet_red; led-usb = &umts; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts index 7b201ff8d3c..1e55d81590a 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts @@ -16,6 +16,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl_green; led-internet = &online_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts index 9a78822be30..aea3de41c61 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts @@ -17,6 +17,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV2B.dts index 105dae408de..e126065ea68 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV2B.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV2B.dts @@ -16,6 +16,7 @@ led-boot = &power_orange; led-failsafe = &power_red; led-running = &power_blue; + led-upgrade = &power_blue; led-dsl = &broadband_blue; led-wifi = &wireless_blue; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts index d3e2bf761c5..b854ac0a996 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts @@ -16,6 +16,7 @@ led-boot = &power_orange; led-failsafe = &power_red; led-running = &power_blue; + led-upgrade = &power_blue; led-dsl = &broadband_blue; led-wifi = &wireless_blue; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts index 90228667fd7..c251fc3fc7a 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts @@ -17,6 +17,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_blue; + led-upgrade = &power_blue; led-dsl = &broadband_blue; led-wifi = &wireless_blue; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN1000B.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN1000B.dts index 8982c27befe..8c61e1b743b 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN1000B.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN1000B.dts @@ -16,6 +16,7 @@ led-boot = &power; led-failsafe = &power; led-running = &power; + led-upgrade = &power; led-dsl = &dsl; led-internet = &online_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN3500.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN3500.dtsi index 614845f09d9..b0facb41071 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN3500.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN3500.dtsi @@ -11,6 +11,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; led-internet = &internet; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts index 8302336bd40..8cf3456ee2b 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts @@ -17,6 +17,7 @@ led-boot = &power_green; led-failsafe = &power_amber; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl_green; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi index b7cfc03a1e8..781cdfdb5b8 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi @@ -14,6 +14,7 @@ led-boot = &power; led-failsafe = &power; led-running = &power; + led-upgrade = &power; led-usb = &led_usb1; led-usb2 = &led_usb2; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi index 815c01f89cb..a7e0c719158 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi @@ -15,6 +15,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; led-internet = &info_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts index eca127ab4cb..c14695413e8 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts @@ -16,6 +16,7 @@ led-boot = &power; led-failsafe = &power; led-running = &power; + led-upgrade = &power; led-internet = &info_green; led-dsl = &power; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts index eed4ae316a4..45a59c012de 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts @@ -16,6 +16,7 @@ led-boot = &power; led-failsafe = &power; led-running = &power; + led-upgrade = &power; led-internet = &info_green; led-dsl = &power; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7360SL.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7360SL.dts index a0f5d8ee059..91520c8137f 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7360SL.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7360SL.dts @@ -17,6 +17,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &info_green; led-wifi = &wifi; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts index 90f74bb3849..46cae21a58b 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts @@ -16,6 +16,7 @@ led-boot = &power_green; led-failsafe = &power_green; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; led-internet = &online; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts index 444dc563b31..6e01068ed8c 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts @@ -16,6 +16,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; led-internet = &online; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi index 579e562c385..65424e3effc 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi @@ -14,6 +14,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl_green; led-internet = &internet_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VG3503J.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VG3503J.dts index bb001cb219c..9735b2e011d 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VG3503J.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VG3503J.dts @@ -17,6 +17,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi index ab558372ee0..811f39d08b9 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi @@ -14,6 +14,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; led-internet = &internet_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi index b9276025bd2..8ffa9146d93 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi @@ -14,6 +14,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &broadband_green; led-internet = &internet_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts index 02c11823050..9759b311b7c 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts @@ -16,6 +16,7 @@ led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; + led-upgrade = &power_green; led-dsl = &dsl; led-internet = &online_green; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts index df7bc9fce11..5dcf13912e4 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts @@ -17,6 +17,7 @@ led-boot = &power_g; led-failsafe = &diag_r; led-running = &power_g; + led-upgrade = &power_g; led-dsl = &dsl; led-internet = &router_g;