| f08460dc | 12-Oct-2023 |
Govindraj Raja <govindraj.raja@arm.com> |
feat(partition): add interface to init gpt
Current interface 'partition_init' accepts parameter image_id and returns no value. But the entire partition driver is build only to parse and handle GPT p
feat(partition): add interface to init gpt
Current interface 'partition_init' accepts parameter image_id and returns no value. But the entire partition driver is build only to parse and handle GPT partitions, so add new interface gpt_partition_init which would return failure to platform code if it fails to parse the image.
Change-Id: Iaf574d2ad01a15d0723c1475290c31dc4a078835 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| ad2dd658 | 03-Oct-2023 |
Govindraj Raja <govindraj.raja@arm.com> |
feat(partition): add support to use backup GPT header
Currently we just use primary GPT header which is located in second entry after MBR header, but if this block is corrupted or CRC mismatch occur
feat(partition): add support to use backup GPT header
Currently we just use primary GPT header which is located in second entry after MBR header, but if this block is corrupted or CRC mismatch occurs we could try to use the backup GPT header located at LBAn and GPT entries following this from LBA-33.
Add suitable warning messages before returning any errors to identify the cause of issue.
Change-Id: I0018ae9eafbacb683a18784d2c8bd917c70f50e1 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| 3cb10655 | 10-Nov-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(partition): add a function to identify a partition by GUID
With the GPT partition scheme, a partition can be identified using it's UniquePartitionGUID, instead of it's name. Add a function to i
feat(partition): add a function to identify a partition by GUID
With the GPT partition scheme, a partition can be identified using it's UniquePartitionGUID, instead of it's name. Add a function to identify the partition based on this GUID value. This functionality is useful in identification of a partition whose UniquePartitionGUID value is known.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I543f794e1f7773f969968a6bce85ecca6f6a1659
show more ...
|
| 938e8a50 | 02-Jul-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(partition): make provision to store partition GUID value
The FWU multi bank feature supports multiple partitions or banks of firmware components, where a platform can support having an active a
feat(partition): make provision to store partition GUID value
The FWU multi bank feature supports multiple partitions or banks of firmware components, where a platform can support having an active and a backup partition(bank) of firmware images to boot from. This feature identifies the images in a given bank using image GUID's -- this GUID value corresponds to the UniquePartitionGUID value used to uniquely identify a GPT partition.
To support identification of images, add a member to the partition_entry structure to store the UniquePartitionGUID value of the GPT partition entry. This value is subsequently used to select the firmware image to boot in a multi partition setup.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I2d235467ce7a7f20ebc1cef4db09924a5282e714
show more ...
|
| 2029f930 | 07-Dec-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(partition): cleanup partition and gpt headers
The EFI_NAMELEN macro has been moved to efi.h header. Get the macro from efi.h. Use the struct efi_guid structure for declaring GUID members in gpt
feat(partition): cleanup partition and gpt headers
The EFI_NAMELEN macro has been moved to efi.h header. Get the macro from efi.h. Use the struct efi_guid structure for declaring GUID members in gpt.h
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I1c3a2605b9f857b9cf2dcfdaed4dc9d0a2cbf0f0
show more ...
|