8000 Secureboot: Could I only veriry the boot.img, not the u-boot? · Issue #134 · radxa/u-boot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Secureboot: Could I only veriry the boot.img, not the u-boot? #134
Open
@gxcuit

Description

@gxcuit

Hi, I'm trying to compile the u-boot with the secure boot support.

If I enable both CONFIG_SPL_FIT_SIGNATURE=y and CONFIG_FIT_SIGNATURE=y, everything works fine.

However, If I only set CONFIG_FIT_SIGNATURE=y, I got the following error:

/home/rk/sdk/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld.bfd: common/built-in.o: in function `fit_image_verify_with_data':
/home/rk/sdk/u-boot/common/image-fit.c:1370: undefined reference to `fit_image_verify_required_sigs'
/home/rk/sdk/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld.bfd: /home/rk/sdk/u-boot/common/image-fit.c:1394: undefined reference to `fit_image_check_sig'
make[1]: *** [scripts/Makefile.spl:359: spl/u-boot-spl] Error 1

Could I just verify the boot.img, and the spl does not verify the u-boot?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0