imx6ull: Cannot switch from secure to non secure world

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

imx6ull: Cannot switch from secure to non secure world

1,145件の閲覧回数
jpsoftware
Contributor I

Hello,

I'm trying to switch from secure to non secure world on a imx6ull with the following code (in monitor mode with previous initialization for no secure mode):

mrc p15, 0, r0, c1, c1, 0
orr r0, r0, #(NS_BIT)
mcr p15, 0, r0, c1, c1, 0

And it seems the CPU stays stalled, I have no exception and no no instruction executed after...

My switch code works well on other Cortex A7 targets like ls1021, so is there something specific to do with this SoC to switch to non secure world ?

Thanks in advance for your help.

 

 

ラベル(3)
0 件の賞賛
返信
2 返答(返信)

1,132件の閲覧回数
jpsoftware
Contributor I

Could you please provide us the Security Reference Manual for the i.MX 6ULL Applications Processor ?

Thanks in advance for your help.

 

 

0 件の賞賛
返信

1,108件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信