From 9e1e4324690ecf3874acfab76566e856f133bf6f Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sat, 14 Dec 2019 19:15:21 +0100 Subject: [PATCH] ar71xx: indicate upgrade using system LED 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 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 8ff75627a538..c5fe5bdcc19f 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -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 -- 2.30.2