Hi! On Fri, Dec 8, 2023 at 3:53 PM Fabio Estevam <feste...@gmail.com> wrote: > > Hi Lisandro, > > On Fri, Dec 8, 2023 at 3:43 PM Lisandro Pérez Meyer <lpme...@ics.com> wrote: > > > > Hi! > > > > I am currently not subscribed (already filled the form waiting for > > confirmation), so please CC me for the moment. > > > > I am trying to enable Secure Boot/HAB on u-boot 2022.07. In a previous > > Please try the top of tree U-Boot instead. > > On the mx7dsabresd_defconfig, for example, both CONFIG_IMX_HAB=y and > CONFIG_CMD_FUSE=y are selected > and this target builds fine.
Sure thing! For the sake of completeness: gcc: gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz as per https://developer-archives.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code#tab-4-imx-6 ``` $ export ARCH=arm $ export DTC_FLAGS="-@" $ export PATH=~/gcc-linaro/bin/:$PATH $ export CROSS_COMPILE=arm-none-linux-gnueabihf- ``` I added IMX_HAB: ``` $ echo "CONFIG_IMX_HAB=y" >> configs/apalis_imx6_defconfig ``` And built: ``` $ make apalis_imx6_defconfig $ make -j16 [...] LD spl/u-boot-spl arm-none-linux-gnueabihf-ld.bfd: arch/arm/mach-imx/hab.o: in function `imx_hab_is_enabled': /tmp/tmp.iSzdlFQa34/u-boot/arch/arm/mach-imx/hab.c:879: undefined reference to `fuse_read' make[1]: *** [scripts/Makefile.spl:527: spl/u-boot-spl] Error 1 ``` Same error :-/ -- Lisandro Pérez Meyer Embedded Platform Engineer