[PATCH] commands: wd: add new -x option to inhibit all watchdogs

Sascha Hauer sha at pengutronix.de
Thu Jan 20 00:57:44 PST 2022


On Wed, Jan 19, 2022 at 03:08:16PM +0100, Ahmad Fatoum wrote:
> When booting after nv.autoboot=abort, barebox will drop to shell and
> try to inhibit all watchdogs: If they can be disabled, they will be and
> otherwise if autopoll support is compiled in, they will be periodically
> fed. This is useful for development. For this to work though, barebox
> needs an environment. Make watchdog_inhibit_all more accessible by
> making it directly invocable with wd -x.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> Cc: Michael Olbrich <mol at pengutronix.de>
> Cc: Yann Sionneau <ysionneau at kalray.eu>
> Cc: Jules Maselbas <jmaselbas at kalray.eu>
> ---
>  commands/wd.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list