mkimage problem related to HAB on i.MX8MP

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

mkimage problem related to HAB on i.MX8MP

跳至解决方案
1,816 次查看
mbelouarga
Contributor II

Hello,

 

I am using a SOM from boundary, its name is nitrogen8mp. This SOM has an i.MX8 MPlus on it.

I am trying to implement HAB on this SOM. While following the documentation, I see that I need some paramters from mkimage logs while it's building the bootloader.

 

The problem is that I find empty parameters:

========= OFFSET dump =========
Loader IMAGE:
 header_image_off       0x0
 image_off              0x40
 csf_off                0x30a00
 spl hab block:         0x91ffc0 0x0 0x30a00

Second Loader IMAGE:
 sld_header_off         0x0
 sld_csf_off            0x0
 sld hab block:         0x0 0x0 0x0

 The "sld hab block" and "sld_csf_off" should indicate the position of u-boot FIT binary, that contains other binaries as well(TF-A+OPTEE+DTB). But I don't have anything in these logs.

 

In the same time the rest of the logs, shows that binman tool, will build the bootloader and add the fit-image to the SPL.

 

Can some one please propose a solution for me ?. I will let the whole file of mkimage logs attached, it contains other offsets and sizes that I can use.

标记 (3)
0 项奖励
回复
1 解答
1,773 次查看
mbelouarga
Contributor II

Hello,

 

I was following https://github.com/u-boot/u-boot/blob/master/doc/imx/habv4/guides/mx8m_spl_secure_boot.txt

 

But, apparently imx-boot of boundary is built different, so instead I did like them, by following the script  https://github.com/boundarydevices/u-boot/blob/boundary-v2022.04/sign_hab_imx8m.sh

I would love if they did the same as NXP, which would gain some time for users.

 

Thanks Harvey

Best regards,

Mohamed

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,774 次查看
mbelouarga
Contributor II

Hello,

 

I was following https://github.com/u-boot/u-boot/blob/master/doc/imx/habv4/guides/mx8m_spl_secure_boot.txt

 

But, apparently imx-boot of boundary is built different, so instead I did like them, by following the script  https://github.com/boundarydevices/u-boot/blob/boundary-v2022.04/sign_hab_imx8m.sh

I would love if they did the same as NXP, which would gain some time for users.

 

Thanks Harvey

Best regards,

Mohamed

0 项奖励
回复
1,780 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

Which document have you followed?  suggest to have a try to raise the issue to Boundary?

 

Regards

Harvey

0 项奖励
回复