ar71xx: indicate upgrade using system LED
authorDavid Bauer <mail@david-bauer.net>
Sat, 14 Dec 2019 18:15:21 +0000 (19:15 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 15 Dec 2019 23:51:01 +0000 (00:51 +0100)
This enables the system LED to indicate a running firmware upgrade. This
pattern is used on most platforms provided by the generic base-files
package. ar71xx uses it's own implementation for the system-LED, where
the upgrade case is not yet implemented.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ar71xx/base-files/etc/diag.sh

index 8ff75627a538ff80bd45dd1706da18a3369c2613..c5fe5bdcc19f82b036b732660901e8187c388909 100644 (file)
@@ -575,6 +575,9 @@ set_state() {
        preinit_regular)
                status_led_blink_preinit_regular
                ;;
+       upgrade)
+               status_led_blink_preinit_regular
+               ;;
        done)
                status_led_on
                case $(board_name) in