Skip to content

bsp: bootimg-sota-efi: allow dynamic bootable partition#1061

Merged
ricardosalveti merged 1 commit intofoundriesio:mainfrom
ricardosalveti:esp
Mar 8, 2023
Merged

bsp: bootimg-sota-efi: allow dynamic bootable partition#1061
ricardosalveti merged 1 commit intofoundriesio:mainfrom
ricardosalveti:esp

Conversation

@ricardosalveti
Copy link
Copy Markdown
Member

Remove the hardcoded bootable flag on the first partition and instead search for active partitions when defining the bootable one.

This allows the ESP partition to be created as second or third partition (for cases where the boot firmware partition needs to be defined first).

Remove the hardcoded bootable flag on the first partition and instead
search for active partitions when defining the bootable one.

This allows the ESP partition to be created as second or third partition
(for cases where the boot firmware partition needs to be defined first).

Signed-off-by: Ricardo Salveti <[email protected]>
@ricardosalveti ricardosalveti requested a review from a team March 6, 2023 22:41
Copy link
Copy Markdown
Contributor

@MrCry0 MrCry0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ricardosalveti ricardosalveti merged commit e7b7ad8 into foundriesio:main Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants