Signing firmware part by part

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

Signing firmware part by part

跳至解决方案
958 次查看
prashanweerasin
Contributor I

Hi All,

I am currently working on performing secure boot on imx6ul using habv4. In my system the firmware is separated in to two parts other than boot loader. One is with kernel+rootfs (Part A) and the other part contains some critical application services (Part B) provided by another party (it’s mounted as a separate partition to the OS). The idea is to bug fix or change one part and flash it to the system without touching or bothering about the other.

I followed the steps provided by nxp and successfully signed and verified the boot loader and the complete firmware part (Part A + Part B) without any HAB events.

But when signing kernel + rootfs + critical app part (Part A + Part B), since the all signatures information are given in a single csf file which is embedded in the final image, I will not be able to write the Part A (kernel+rootfs) or Part B (critical app part ) separately after changing one part. How can I sign two parts separately so I can update only the relevant part and respective signature?

Thank you,

Pra

标签 (1)
标记 (2)
1 解答
851 次查看
Yuri
NXP Employee
NXP Employee

Hello,

U-boot can authenticate other additional parts of system, using 

authenticate_image function for it in the same manner as for  uImage.

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

在原帖中查看解决方案

0 项奖励
回复
3 回复数
852 次查看
Yuri
NXP Employee
NXP Employee

Hello,

U-boot can authenticate other additional parts of system, using 

authenticate_image function for it in the same manner as for  uImage.

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 项奖励
回复
851 次查看
prashanweerasin
Contributor I

Hi Yuri,

Thank you very much for replying me.

If I understood correctly you are suggesting to invoke authenticate_image function using u-boot script. Is there any other way to automate this ?

Best regards,

Pra.

0 项奖励
回复
851 次查看
Yuri
NXP Employee
NXP Employee

Hi, Pra !

 

  I am afraid we do not have examples (automation technique) for  

using several signing parts with U-boot.

You should call  additional authenticate_image function from U-boot.

Regards,

Yuri.