Open
Description
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
Labels
No labels