Skip to content

Commit

Permalink
Merge pull request rauc#771 from LeSpocky/doc
Browse files Browse the repository at this point in the history
docs/reference: Fix U-Boot variable
  • Loading branch information
ejoerns authored Sep 16, 2021
2 parents 84c2806 + 087b720 commit ec67c18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1241,18 +1241,18 @@ U-Boot
~~~~~~

The U-Boot implementation assumes to have variables `BOOT_ORDER` and
`BOOT_x_ATTEMPTS` handled by the bootloader scripting.
`BOOT_x_LEFT` handled by the bootloader scripting.

:state bad:
Sets the `BOOT_x_ATTEMPTS` variable of the slot to `0` and removes it from
Sets the `BOOT_x_LEFT` variable of the slot to `0` and removes it from
the `BOOT_ORDER` list

:state good:
Sets the `BOOT_x_ATTEMPTS` variable back to its default value (`3`).
Sets the `BOOT_x_LEFT` variable back to its default value (`3`).

:primary:
Moves the slot from its current position in the list in `BOOT_ORDER` to the
first place and sets `BOOT_x_ATTEMPTS` to its initial value (`3`).
first place and sets `BOOT_x_LEFT` to its initial value (`3`).
If BOOT_ORDER was unset before, it generates a new list of all slots known to
RAUC with the one to activate at the first position.

Expand Down

0 comments on commit ec67c18

Please sign in to comment.