AnsweredAssumed Answered

How to speed up the HAB on MX6?

Question asked by Kaloyan Dimitrov on Jul 11, 2016
Latest reply on Jul 14, 2016 by Yuri Muhin

Hi! I'm failing to achieve acceptable authentication times with HAB on MX6DL.

Here's the code execution sequence:

- Startup code (both I- and D-caches on, MMU off, other stuff) in NOR flash.

- First executed module is the boostrap (BS) in NOR flash. It is authenticated by the automatically executed HAB (by hardware). BS is about 64kB in size.

- After the BS is validated and executed, it starts validation of the bootloader (BL) by calling the ROM HAB API manually.

BL is about 384 kB in size.

 

While the authentication time of the BS is directly proportional to its size, the manual authentication of the BL appears to

be irrelevant to the size of the BL (tried with different BL sizes, the measured time is same in all cases)!

 

Also, the time of 'automatic' HAB authentication seems quite unsatisfactory.

So, what could be done to speed the HAB up?

Outcomes