i.mx6 HAB secure boot freeze at hab_rvt_entry

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

i.mx6 HAB secure boot freeze at hab_rvt_entry

Jump to solution
876 Views
zc_tee
Contributor III

Hi all,

I am trying to implement the HAB functionality into the uboot for my i.mx6 system.

I failed to do so as my uboot always get freeze at hab_rvt_entry

I had done some searching, and found out post below:

i.MX6 Secure Boot HAB API within U-Boot calls freezing

However, my system still freeze at the same location after i enable the CAAM clock by doing the following:

void hab_caam_clock_enable(void)

{

       u32 reg = 0;

       reg = readl(CCM_BASE_ADDR + CLKCTL_CCGR0); /* CCGR0 */

       reg |= 0x3F00; /*CG4 ~ CG6, enable CAAM clocks*/

       writel(reg, CCM_BASE_ADDR + CLKCTL_CCGR0);

       reg = readl(CCM_BASE_ADDR + CLKCTL_CCGR6); /* CCGR6 */

       reg |= 0x0C00; /*CG5, enable CAAM clocks*/

       writel(reg, CCM_BASE_ADDR + CLKCTL_CCGR6);

}

Can anyone advice me on what is going wrong? Is there something that i missed?

I am using u-boot 2009.08.

*in the uboot console, i always get

HAB Configuration: 0x00, HAB State: 0x00

Does it means anything?

Thank you.

Regards,

ZC

Labels (2)
0 Kudos
1 Solution
612 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  Please check if U-boot patches, recommended in EB803 was applied.

http://cache.freescale.com/files/microcontrollers/doc/eng_bulletin/EB803.pdf


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
613 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  Please check if U-boot patches, recommended in EB803 was applied.

http://cache.freescale.com/files/microcontrollers/doc/eng_bulletin/EB803.pdf


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
612 Views
zc_tee
Contributor III

Hi Yuri,

Thanks! My problem solved after applying this patch.

Regards,

ZC

0 Kudos