Getting HABv4 spl offset from boot image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting HABv4 spl offset from boot image

345 Views
sajjadahmed
Contributor II

Hi Guys,

I'm enabling HABv4 secure-boot on imx8mm. As usual, need an SPL hab block to create the CSF descriptor file e.g

 

Blocks = 0x7e0fd0 0x1a000 0x2e600 "flash.bin"

 

It works totally fine when we do all the signing steps manually. But to automate the signing process with Yocto there is an issue. It is possible that the build gets complete from caches, without generating build logs.

So, is there any way to get this spl hab block offset value directly from the boot image? or similar, like we can print fit block values?

 

$ make SOC=<SoC Name> print_fit_hab

 

Labels (1)
0 Kudos
1 Reply

336 Views
Yuri
NXP Employee
NXP Employee

@sajjadahmed 
Hello,

The following document provides i.MX8M, i.MX8MM Secure Boot guide.

https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx8m_mx8mm_secure_boo...

 

We do not have automation tools for secure boot images creation.
Customers can design own scripts to analyze the build logs in order
to generate signed boot images.

Regards,
Yuri.

0 Kudos