From fd51d78b85dc241a6d59c803136973c80108ed36 Mon Sep 17 00:00:00 2001 From: Enrico Jorns Date: Fri, 15 Feb 2019 13:53:47 +0100 Subject: doc: bootchooser: add details about bootchooser.reset_attempts handling For understanding and correctly using the algorith it is useful to know when the values are evaluated. Signed-off-by: Enrico Jorns Signed-off-by: Sascha Hauer --- Documentation/user/bootchooser.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Documentation') diff --git a/Documentation/user/bootchooser.rst b/Documentation/user/bootchooser.rst index 00ce896e37..ad809751dd 100644 --- a/Documentation/user/bootchooser.rst +++ b/Documentation/user/bootchooser.rst @@ -88,11 +88,13 @@ controlled by the ``global.bootchooser.reset_attempts`` variable. It holds a list of space-separated flags. Possible values are: - empty: counters will never be reset -- ``power-on``: The ``remaining_attempts`` counters of all enabled boot targets are reset - after a ``power-on`` reset (``$global.system.reset="POR"``). This means after a power - cycle all boot targets will be tried again for the configured number of retries. -- ``all-zero``: The ``remaining_attempts`` counters of all enabled boot targets are - reset when none of them has any ``remaining_attempts`` left. +- ``power-on``: When the bootchooser starts and a power-on reset + (``$global.system.reset="POR"``) is detected, the ``remaining_attempts`` + counters of all enabled targets are reset to their defaults. + This means after a power cycle all boot targets will be tried again for the configured number of retries. +- ``all-zero``: When the bootchooser starts and the ``remaining_attempts`` + counters of all enabled targets are zero, the ``remaining_attempts`` + counters of all enabled targets are reset to their defaults. Marking a Boot as Successful ############################ -- cgit v1.2.3