fidl_fuchsia_paver

Constant MAX_PENDING_BOOT_ATTEMPTS

Source
pub const MAX_PENDING_BOOT_ATTEMPTS: u8 = 7;
Expand description

The maximum number of times the firmware will attempt to boot into a PENDING configuration.

If the boot attempts are all exhausted without the configuration being updated to HEALTHY, the configuration will switch to UNBOOTABLE which will cause the next boot to fall back to the next usable slot.

HEALTHY and UNBOOTABLE configurations do not count boot attempts; it is assumed that once a device is in these states it will remain so until the configuration is manually modified.