Getting HABv4 spl offset from boot image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Getting HABv4 spl offset from boot image

837 次查看
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

 

标签 (1)
0 项奖励
回复
1 回复

828 次查看
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 项奖励
回复