Commit Graph

8 Commits (746c590882b96d5ed4d4115e4bdab4c838af7806)

Author SHA1 Message Date
Piotr Dymacz 5cc96c0953 ar7: diag.sh: use common status_led_* functions
Switch to the common LED related status_led_blink_* functions in
set_state() as it's done in most of other targets.

Also, use "status_led_on" instead of "status_led_set_heartbeat"
and incorrect "status_led_set_on" in the "done" state.

Moreover, remove outdated comment from the script.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years ago
John Crispin 019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43715
10 years ago
Florian Fainelli 15b66e0cbe ar7: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35659
12 years ago
Florian Fainelli 99598d2473 use the second available LED to encore mode boot states
Patch from Daniel Gimpelevich.

SVN-Revision: 33749
12 years ago
Daniel Dickinson 0d8b0e937d base-files: diag.sh: added failsafe led definition
SVN-Revision: 27502
13 years ago
Felix Fietkau eeebde136d Minor patch to the AR7 diag.sh to make the status LED a bit more useful. From the patch:
This setup gives us 3.5 distinguishable states:

- Solid OFF:  Bootloader running, or kernel hung (timer task stalled)
- Solid ON:   Kernel hung (timer task stalled)
- 5Hz blink:  preinit
- Heartbeat:  normal operation

Signed-off-by: oliver@opencloud.com

SVN-Revision: 9666
17 years ago
Eugene Konev 76fdf7d7b0 we are using leds-gpio now
SVN-Revision: 9252
17 years ago
Gabor Juhos 438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
17 years ago