Skip to content

bsp: u-boot-fio: lmp-base: disable signature verification#948

Merged
ricardosalveti merged 1 commit intofoundriesio:mainfrom
igoropaniuk:imx8qm-mek-base-fit
Nov 26, 2022
Merged

bsp: u-boot-fio: lmp-base: disable signature verification#948
ricardosalveti merged 1 commit intofoundriesio:mainfrom
igoropaniuk:imx8qm-mek-base-fit

Conversation

@igoropaniuk
Copy link
Copy Markdown
Contributor

In case CONFIG_SPL_FIT_SIGNATURE/CONFIG_FIT_SIGNATURE is enabled, but FIT itself is not signed, it leads to incorrect parsing of FIT image by U-Boot:

Checking hash(es) for Image ubootfdt ... sha256+ OK Can't get 'entry' property from FIT 0x8010a640, node: offset 897480, name (FDT_ERR_BADOFFSET)
cannot find property 'loadables': -4
cannot find property 'loadables': -4

Signed-off-by: Igor Opaniuk [email protected]

In case CONFIG_SPL_FIT_SIGNATURE/CONFIG_FIT_SIGNATURE is enabled,
but FIT itself is not signed, it leads to incorrect parsing of
FIT image by U-Boot:

Checking hash(es) for Image ubootfdt ... sha256+ OK
Can't get 'entry' property from FIT 0x8010a640, node: offset 897480,
name  (FDT_ERR_BADOFFSET)
cannot find property 'loadables': -4
cannot find property 'loadables': -4

Signed-off-by: Igor Opaniuk <[email protected]>
Copy link
Copy Markdown
Member

@ricardosalveti ricardosalveti 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 b48c5dc into foundriesio:main Nov 26, 2022
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