boot: Add support for VBE for the OS
When booting an OS it is useful to be able to read devicetrees provided by the OEM, from a separate FIT to the OS. Add a new method which supports this, along with the usual A/B/recovery flows, using a state file on the boot device. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
12
boot/Kconfig
12
boot/Kconfig
@@ -818,6 +818,18 @@ config BOOTMETH_VBE_ABREC
|
||||
verification step, a recovery image is booted. This method will
|
||||
eventually provide rollback protection as well.
|
||||
|
||||
config BOOTMETH_VBE_ABREC_OS
|
||||
bool "Bootdev support for VBE 'a/b/recovery' method for the OS"
|
||||
imply SPL_CRC8
|
||||
imply VPL_CRC8
|
||||
help
|
||||
Enables support for VBE 'abrec' boot. This allows updating one of an
|
||||
A or B Operating System in boot media such as MMC. The new OS is
|
||||
tried and if it boots, it is copied to the other image, so that both
|
||||
A and B have the same version. If neither firmware image passes the
|
||||
verification step, a recovery image is booted. This method will
|
||||
eventually provide rollback protection as well.
|
||||
|
||||
if BOOTMETH_VBE_SIMPLE
|
||||
|
||||
config BOOTMETH_VBE_SIMPLE_OS
|
||||
|
||||
Reference in New Issue
Block a user