Support metadata-driven A/B boot for STM32MP2#13
Open
passgat wants to merge 2 commits intoSTMicroelectronics:v2.10-stm32mpfrom
Open
Support metadata-driven A/B boot for STM32MP2#13passgat wants to merge 2 commits intoSTMicroelectronics:v2.10-stm32mpfrom
passgat wants to merge 2 commits intoSTMicroelectronics:v2.10-stm32mpfrom
Conversation
Add GUID definitions for Linux Filesystem Data and XBOOTLDR partitions to the EFI partition driver. These definitions are required to identify and filter these partition types during the boot process, specifically to support FWU multi-bank A/B update scenarios. Signed-off-by: Dario Binacchi <[email protected]>
Define IO policies and block specifications for BootFS and RootFS partitions to support A/B redundancy systems on STM32MP2. The patch registers FWU_BOOTFS_ID and FWU_ROOTFS_ID, mapping them to their respective GUIDs (XBOOTLDR and Linux FS). This allows the platform to correctly identify and access the required partitions for each bank in A/B boot scenarios. The MAX_NUMBER_IDS is increased to accommodate these new entries in the platform storage pool. Signed-off-by: Dario Binacchi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This series introduces support for the metadata-driven A/B update flow
in ARM Trusted Firmware, specifically targeting STM32MP2 platforms.
These changes are designed to be backward compatible while providing
the necessary infrastructure for the A/B scheme described in the
meta-st-{openstlinux,stm32mp} PRs [1] and [2].
Please refer to them for the full technical rationale and implementation
details of the fw-update-ab feature.
The specific patch to enable A/B support with multiple FWU images is not
included in this series. Since U-Boot strictly verifies that the number
of images defined in the metadata matches NR_OF_IMAGES_IN_FW_BANK, this
non-backward-compatible change has been moved to the meta-st-stm32mp layer [3].
It will be applied only when the A/B feature is explicitly enabled,
ensuring the system remains functional for standard configurations.
[1] STMicroelectronics/meta-st-openstlinux#16
[2] STMicroelectronics/meta-st-stm32mp#110
[3] 0004-feat-stm32mp2-enable-A-B-redundancy-support.patch