High Assurance Boot (HAB) on i.MX RT: HAB API entry function fails with SNVS indicated

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

High Assurance Boot (HAB) on i.MX RT: HAB API entry function fails with SNVS indicated

88 Views
UserSpace13939
Contributor I

Background

On an i.MXRT1064 SoC that was running a secondary bootloader with debugger attached, a call was made to the HAB API entry function - the status returned by the call indicated HAB failure. A call was then made to HAB API function report_event, to see what (if any) audit events were logged; after calling report_event, the event log buffer did contain event data. The event log data began with:

[0] 0xdb //Tag: 0xDB = Event
[1] 0x00 //Event data length MSB
[2] 0x2c //Event data length LSB - overall data
[3] 0x43 //Major version = 4, minor version = 3
[4] 0x33 //STS: HAB_FAILURE
[5] 0x30 //RSN: HAB_ENG_FAIL
[6] 0xe1 //CTX: HAB_CTX_ENTRY
[7] 0x1e //ENG: HAB_ENG_SNVS

The data at index 7 appear to indicate an issue with the secure non-volatile storage (SNVS) engine.

Questions

  • Are there common reasons execution of HAB API entry may return a status of HAB failure? Especially as concern SNVS? 
  • Is there standard setup required to successfully run HAB API entry, such as enabling particular clocks, setting configuration in control registers, clearing particular flags, etc.? 
  • Example code which demonstrates use of HAB API calls from a secondary bootloader on an i.MXRT platform would be helpful - is there any available?

Thank you and best regards

Labels (1)
Tags (3)
0 Kudos
Reply
1 Reply

64 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @UserSpace13939 ,

 

I just responsed your private ticket on the same topic, please continue the discussion there as this topic might cover info under NDA. 

 

Thanks for your patience and understanding!

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply