From 537d89f68d54cb1f72477d11e25e6fe4cac8e99d Mon Sep 17 00:00:00 2001 From: Christian Eggers Date: Tue, 4 Feb 2020 14:50:42 +0100 Subject: doc: bootchooser: Fix barebox-state example - Fix prefix - attemps --> attempts - add missing equal sign - Add 2 examples Signed-off-by: Christian Eggers Signed-off-by: Sascha Hauer --- Documentation/user/bootchooser.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/user/bootchooser.rst b/Documentation/user/bootchooser.rst index 1680ea78ed..8456e11823 100644 --- a/Documentation/user/bootchooser.rst +++ b/Documentation/user/bootchooser.rst @@ -112,7 +112,9 @@ In case only the booted system itself knows when it is in a good state, it can report this to the bootchooser from Linux userspace using the *barebox-state* tool from the dt-utils_ package.:: - barebox-state -s bootstate..remaining_attemps + barebox-state [-n ] -s [.].remaining_attempts= + barebox-state -n system_state -s bootstate.system1.remaining_attempts=3 + barebox-state -s system1.remaining_attempts=3 If instead the bootchooser can detect a failed boot itself using the :ref:`reset reason ` (WDG), one can mark the boot successful -- cgit v1.2.3