Skip to content

snagrecover: zynqmp: refuse to extract FSBL from signed boot image - #104

Merged
rgantois merged 1 commit into
bootlin:mainfrom
jacmet:feature/zynqmp-recovery-tweaks
Sep 6, 2026
Merged

rgantois merged 1 commit into
bootlin:mainfrom
jacmet:feature/zynqmp-recovery-tweaks

Conversation

@jacmet

@jacmet jacmet commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

The logic to extract the 1st stage FSBL image from the full boot image only works if the boot image is not signed (as otherwise the signature validation will fail on the edited image, leading to boot failures).

Detect this and warn the user to use a custom FSBL image instead.

The logic to extract the 1st stage FSBL image from the full boot image only
works if the boot image is not signed (as otherwise the signature validation
will fail on the edited image, leading to boot failures).

Detect this and warn the user to use a custom FSBL image instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
@jacmet
jacmet force-pushed the feature/zynqmp-recovery-tweaks branch from dfdf557 to d15ed1d Compare September 3, 2026 13:39
@rgantois

rgantois commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Neat, thanks!

@rgantois
rgantois merged commit 0d37892 into bootlin:main Sep 6, 2026
11 checks passed
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.

2 participants