Skip to contentSkip to conversation

doc: bootchooser: Fix barebox-state example

PATCH Applied Christian Eggers 2 participants 2 messages Feb 4, 2020 – Feb 10, 2020 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: bootchooser: Fix barebox-state example

- Fix prefix
- attemps --> attempts
- add missing equal sign
- Add 2 examples

---
 Documentation/user/bootchooser.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/user/bootchooser.rst +3 -1
index 1680ea78ed..8456e11823 100644
@@ -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.<target>.remaining_attemps <reset-value>
+  barebox-state [-n <state variable set>] -s [<prefix>.]<target>.remaining_attempts=<reset-value>
+  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 <reset_reason>` (WDG), one can mark the boot successful
Signature · 14 lines
Christian Eggers
Embedded software developer

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: HRA 57918
Persoenlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: HRB 54477
Geschaeftsfuehrer: Dr. Michael Neuhaeuser; Stephan Schenk; Walter Trauninger; Markus Zeiler


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 9 lines · Christian Eggers

- Fix prefix
- attemps --> attempts
- add missing equal sign
- Add 2 examples

---
 Documentation/user/bootchooser.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

Signature · 9 lines
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 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox