Signing firmware part by part

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Signing firmware part by part

ソリューションへジャンプ
1,100件の閲覧回数
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 解決策
993件の閲覧回数
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 返答(返信)
994件の閲覧回数
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 件の賞賛
返信
993件の閲覧回数
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 件の賞賛
返信
993件の閲覧回数
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.