Can HAB perform integrity check in IMX8M mini

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

Can HAB perform integrity check in IMX8M mini

725件の閲覧回数
Elenas2
Contributor I

Hello!

I am using IMX8M mini and doing the investigation on the system boot sequence. I understand that ROM will rely on HAB to authenticate the u-boot image by comparing the signatures we added into the image. But what we want is to verify the integrity of the image instead of the security such as if the image is signed or not.

I have several questions regarding the verification process of the image during system boot:

1. I notice that RTIC can perform integrity check during both system boot time and run time, then I wonder how can we use the RTIC to do the integrity check on the u-boot image?

2. Is RTIC must be used with HAB, if so, does that mean we must sign our u-boot image first and also sign it accurately?

3. If RTIC can be used separately to perform the integrity check on u-boot image only? Is RTIC requires the image to be signed?

4. If say, our primary u-boot image is crashed, but we also provide a recovery u-boot image, how can we trigger ROM to boot from the recovery u-boot image then?

Your prompt reply is highly appreciated!

Thanks

 

Your prompt reply is highly appreciated!

Thanks!

ラベル(1)
0 件の賞賛
返信
1 返信

703件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Hi @Elenas2 

1. I notice that RTIC can perform integrity check during both system boot time and run time, then I wonder how can we use the RTIC to do the integrity check on the u-boot image?

> Please refer to 8.11.1 Run-time integrity checker (RTIC) of i.MX8MMSRM

2. Is RTIC must be used with HAB, if so, does that mean we must sign our u-boot image first and also sign it accurately?

3. If RTIC can be used separately to perform the integrity check on u-boot image only? Is RTIC requires the image to be signed?

>  There is no interconnection between RTIC and HAB, no dependency between them.

4. If say, our primary u-boot image is crashed, but we also provide a recovery u-boot image, how can we trigger ROM to boot from the recovery u-boot image then?

> If the primary boot device fails, the boot ROM tries to boot from the recovery device using the USDHC2 port. Fuse(recovery boot enable) which helps ROM to boot from the recovery u-boot image. Please check 6.1 System Boot of i.MX8MMSR for more details.

 

Best regards

Harvey

 

0 件の賞賛
返信