8679405241
The FWU Multi Bank Update feature supports updating firmware images to one of multiple sets(also called banks) of images. The firmware images are clubbed together in banks, with the system booting images from the active bank. Information on the images such as which bank they belong to is stored as part of the metadata structure, which is stored on the same storage media as the firmware images on a dedicated partition. At the time of update, the metadata is read to identify the bank to which the images need to be flashed(update bank). On a successful update, the metadata is modified to set the updated bank as active bank to subsequently boot from. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
config FWU_MULTI_BANK_UPDATE
|
|
bool "Enable FWU Multi Bank Update Feature"
|
|
depends on EFI_CAPSULE_ON_DISK
|
|
select PARTITION_TYPE_GUID
|
|
select EFI_SETUP_EARLY
|
|
imply EFI_CAPSULE_ON_DISK_EARLY
|
|
select EVENT
|
|
help
|
|
Feature for updating firmware images on platforms having
|
|
multiple banks(copies) of the firmware images. One of the
|
|
bank is selected for updating all the firmware components
|
|
|
|
config FWU_NUM_BANKS
|
|
int "Number of Banks defined by the platform"
|
|
depends on FWU_MULTI_BANK_UPDATE
|
|
help
|
|
Define the number of banks of firmware images on a platform
|
|
|
|
config FWU_NUM_IMAGES_PER_BANK
|
|
int "Number of firmware images per bank"
|
|
depends on FWU_MULTI_BANK_UPDATE
|
|
help
|
|
Define the number of firmware images per bank. This value
|
|
should be the same for all the banks.
|
|
|
|
config FWU_TRIAL_STATE_CNT
|
|
int "Number of times system boots in Trial State"
|
|
depends on FWU_MULTI_BANK_UPDATE
|
|
default 3
|
|
help
|
|
With FWU Multi Bank Update feature enabled, number of times
|
|
the platform is allowed to boot in Trial State after an
|
|
update.
|