i.mx6 HAB secure boot freeze at hab_rvt_entry

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

i.mx6 HAB secure boot freeze at hab_rvt_entry

ソリューションへジャンプ
1,559件の閲覧回数
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

ラベル(2)
0 件の賞賛
返信
1 解決策
1,295件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
1,296件の閲覧回数
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 件の賞賛
返信
1,295件の閲覧回数
zc_tee
Contributor III

Hi Yuri,

Thanks! My problem solved after applying this patch.

Regards,

ZC

0 件の賞賛
返信