Skip to contentSkip to conversation

imx8mm_evk: Broken defconfig for SPI boot?

DISCUSSION Alexander Koch 1 participant 1 message Mar 25

lore
Share & tools
lore
#0 lore raw

Hi all,

I am currently porting a working i.MX8M Mini based board from U-Boot v2024.01 to v2026.01 as I cannot seem to get HABv4 Secure Boot working with the old version.

After rebasing our commits onto v2026.01 I ran into compilation errors so I decided to take a step back and build the i.MX8MM EVK Defconfig as a starting point for the port (our board is very similar to said EVK).

Taking the exact steps from 'doc/board/nxp/imx8mm_evk.rst'

    $ export CROSS_COMPILE=aarch64-linux-gnu-
    $ make imx8mm_evk_fspi_defconfig
    $ make

the build fails, complaining about a missing image for the FSPI config header:

      COPY    spl/u-boot-spl.bin
      CFGS    spl/u-boot-spl.cfgout
      BINMAN  .binman_stamp

Image 'image' is missing external blobs and is non-functional:
fspi_conf_block

/binman/section/fspi_conf_block (fspi_header.bin):
Missing blob

Image 'image' has faked external blobs and is non-functional:
fspi_header.bin

Strangely, 'fspi_header.bin' is present (and non-empty) and if I repeat the build it gets through without an error message.

Unfortunately the resulting 'flash.bin' does not boot.

So I'm wondering: did I do something wrong or is the EVK SPI defconfig broken?

Best regards,

Alex