How to verify if the signed iMX6 image works?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to verify if the signed iMX6 image works?

1,174 Views
jiang_zhang
Contributor II

Is there any such tool to verify before burn the eFuse and load the signed image to the device? ##iMX6 HAB#

Labels (3)
4 Replies

951 Views
ceggers1
Contributor IV

Please have a look at AN4581:

  • 3.8.Verify HAB successfully authenticates the signed image (page 12)
  • 4.1.1 SRK HASH and HAB events in open mode (page 15)
HAB versionHAB SRK HASH checkComments
HAB 4.1.0 and priorYesHAB checks SRK Hash in open mode, must program SRK Hash fuses.
HAB 4.1.1NoHAB does not check SRK Hash in open mode, make sure SRK's are programmed correctly in SRK fuses before closing the device.
HAB 4.1.2 and newerOnly if SRK fuses is not 0.

HAB checks SRK Hash in open mode. SRK Fuses = 0 leads to no HAB events due to SRK hash check.

  • Appendix A. HAB versions and differences

Summary:

I think you definitely have to burn the SRK_HASH fuses. Depending on the HAB version of your i.MX device you can/should check whether authentication of your image was successful prior closing the device burning BT_DIR_DIS and SEC_CONFIG[1].

regards

Christian

951 Views
jiang_zhang
Contributor II

Christian,

Thanks for the reply. However, I don't see hab_status command showing up in my u-boot prompt. When building the u-boot, I did add the CONFIG_SECURE_BOOT=y to the config file and also uncommented the header to enable the CONFIG_SECURE_BOOT. I am not sure why the hab_status is not showing up. Any advice? Thanks!

0 Kudos

951 Views
ceggers1
Contributor IV

I use barebox for my project, not U-Boot. So I cannot answer this.

0 Kudos

951 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Good!

0 Kudos