Dear NXP community,
I have a Apalis board with an imx6 processor and I am trying to enable a secure boot to this board.
Prerequisite to this, CONFIG_SECURE_BOOT configuration is enabled at configs/apalis_imx6_defconfig.
If this I am trying to give a MAKE and ended in the following error.
Error: arch/arm/imx-common/built-in.o: In finction 'is_hab_enabled' :
u-boot-toradex/arch/arm/imx-common/hab.c:267: undefined reference to 'fuse_read'
Please refer to attachment for more details.
If a give a MAKE with enabling the CONFIG_SECURE_BOOT configuration, build is complete with binary outputs.
Please help us to break this issue.
Thanks in advance.
you can check your bsp hab.c, this is nxp bsp source code:
hab.c\mach-imx\arm\arch - uboot-imx - i.MX U-Boot
you can try to command bitbake uboot-imx, if you already set CONFIG_SECURE_BOOT configuration,
you also can refer to the AN, chapter 3.4.Configureand buildU-boot to support secureboot,