From: Andreas Reichel <[email protected]> * Update UPDATE.md * Add new RECOVERY.md to explain recovery mode
Signed-off-by: Andreas Reichel <[email protected]> --- docs/RECOVERY.md | 9 +++++++++ docs/UPDATE.md | 5 ++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 docs/RECOVERY.md diff --git a/docs/RECOVERY.md b/docs/RECOVERY.md new file mode 100644 index 0000000..98e118f --- /dev/null +++ b/docs/RECOVERY.md @@ -0,0 +1,9 @@ +# Recovery Mode # + +If more than the expected number of environments is detected during boot, the +system stops booting. This can be a problem if the user wants to boot the +system with a memory stick to update a broken installation. + +In order to allow external boot devices with other environment configurations, +the Recovery Mode was introduced. If any environment is found on the boot +device, the boot loader will only use environments from this device. diff --git a/docs/UPDATE.md b/docs/UPDATE.md index 19c2f39..419a006 100644 --- a/docs/UPDATE.md +++ b/docs/UPDATE.md @@ -11,7 +11,7 @@ The structure of the environment data is as follows: struct _BG_ENVDATA { uint16_t kernelfile[ENV_STRING_LENGTH]; uint16_t kernelparams[ENV_STRING_LENGTH]; - uint8_t padding; + uint8_t in_progress; uint8_t ustate; uint16_t watchdog_timeout_sec; uint32_t revision; @@ -23,8 +23,7 @@ struct _BG_ENVDATA { The fields have the following meaning: * `kernelfile`: Path to the kernel image, utf-16 encoded * `kernelparams`: Arguments to the kernel, utf-16 encoded -* `padding`: Padding byte to stay compatible with the offsets of the previous - version. +* `in_progress`: This stores if an update is in progress. * `ustate`: Update status (`0` OK, `1` INSTALLED, `2` TESTING, `3`: FAILED) * `watchdog_timeout_sec`: Number of seconds, the watchdog times out after * `revision`: The revision number explained above -- 2.18.0 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20180903140934.13454-6-andreas.reichel.ext%40siemens.com. For more options, visit https://groups.google.com/d/optout.
