From 3c38c8470e60cda83cd059b826d8a627725643fc Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Thu, 24 Oct 2019 08:03:42 +0200 Subject: doc: watchdog: add note about danger of autoping Signed-off-by: Oleksij Rempel Signed-off-by: Sascha Hauer --- Documentation/user/watchdog.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Documentation') diff --git a/Documentation/user/watchdog.rst b/Documentation/user/watchdog.rst index 26e347d5f6..02bd576a89 100644 --- a/Documentation/user/watchdog.rst +++ b/Documentation/user/watchdog.rst @@ -29,6 +29,12 @@ enabled by default. To start polling from command line run: wdog0.autoping=1 +**NOTE** Using this feature might have the effect that the watchdog is +effectively disabled. In case barebox is stuck in a loop that includes feeding +the watchdog, then the watchdog will never trigger. Only use this feature +during development or when a bad watchdog design (Short watchdog timeout +enabled as boot default) doesn't give you another choice. + The poller interval is not configurable, but fixed at 500ms and the watchdog timeout is configured by default to the maximum of the supported values by hardware. To change the timeout used by the poller, run: -- cgit v1.2.3