public inbox for yocto@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
To: Vyacheslav Yurkov <uvv.mail@gmail.com>, yocto@lists.yoctoproject.org
Cc: michael.opdenacker@rootcommit.com
Subject: Re: FIT image verification not working on imx8mm
Date: Sun, 22 Feb 2026 16:07:21 +0000 (UTC)	[thread overview]
Message-ID: <7779efc5-639f-4fc1-8b6e-ff167471b728@rootcommit.com> (raw)
In-Reply-To: <2c7cc712-18e6-4b8d-825c-35dec015166f@gmail.com>

Hi Slava,

Thanks a lot for having a look at this issue!

On 2/22/26 2:50 PM, Vyacheslav Yurkov wrote:
> Hi Michael,
> I believe the message is correct:
>
> > Verifying Hash Integrity ... sha256+ OK
>
> The "+" sign means the signature verification succeeded. The "-" would 
> mean otherwise.
>
> I've just tried again to boot a fit image built without 
> UBOOT_SIGN_ENABLE and got:
>
> > No 'signature' subnode found for '<NULL>' hash node in 'conf-my-dtb' 
> config node

I don't think that's the case, because if I replace my "fitImage" file 
by an unsigned one, it is still gladly accepted by U-Boot:

Verdin iMX8MM # load mmc 0:2 40000000 boot/fitImage
8426099 bytes read in 50 ms (160.7 MiB/s)
Verdin iMX8MM # bootm 40000000
## Loading kernel from FIT Image at 40000000 ...
    Using 'conf-imx8mm-syk-ccu.dtb' configuration
    Verifying Hash Integrity ... OK
    Trying 'kernel-1' kernel subimage
      Description:  Linux kernel
      Type:         Kernel Image
      Compression:  gzip compressed
      Data Start:   0x400000e8
      Data Size:    8347434 Bytes = 8 MiB
      Architecture: AArch64
      OS:           Linux
      Load Address: 0x48200000
      Entry Point:  0x48200000
      Hash algo:    sha256
      Hash value: 
  2dc1e494faaefa209b46b1b7aed7dbbbdb61de81b2770705e6cb9ef36c886435
    Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 40000000 ...
    Using 'conf-imx8mm-syk-ccu.dtb' configuration
    Verifying Hash Integrity ... OK
    Trying 'fdt-imx8mm-syk-ccu.dtb' fdt subimage
      Description:  Flattened Device Tree blob
      Type:         Flat Device Tree
      Compression:  uncompressed
      Data Start:   0x407f6128
      Data Size:    76717 Bytes = 74.9 KiB
      Architecture: AArch64
      Load Address: 0x50200000
      Hash algo:    sha256
      Hash value: 
  3378b4f94a993a9bba8c60c50dd58acb57df6833926be34bfbcedd789687a436
    Verifying Hash Integrity ... sha256+ OK
    Loading fdt from 0x407f6128 to 0x50200000
    Booting using the fdt blob at 0x50200000
Working FDT set to 50200000
    Uncompressing Kernel Image to 48200000
    Loading Device Tree to 00000000bced4000, end 00000000bcee9bac ... OK
Working FDT set to bced4000

Starting kernel ...

>
> Do you use the u-boot as SPL by any chance?

Yes, U-Boot SPL runs right before U-Boot.
Cheers
Michael.

-- 
Root Commit
Embedded Linux Training and Consulting
https://rootcommit.com



  reply	other threads:[~2026-02-22 16:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-21 10:39 FIT image verification not working on imx8mm Michael Opdenacker
2026-02-22  8:30 ` [yocto] " Marco Cavallini
2026-02-22 13:50 ` Vyacheslav Yurkov
2026-02-22 16:07   ` Michael Opdenacker [this message]
2026-02-27 12:03     ` [yocto] " Quentin Schulz
2026-02-22 22:33 ` Francesco Valla
2026-02-24 18:06   ` Michael Opdenacker
2026-03-01 10:01     ` Michael Opdenacker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7779efc5-639f-4fc1-8b6e-ff167471b728@rootcommit.com \
    --to=michael.opdenacker@rootcommit.com \
    --cc=uvv.mail@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox