imx6ull: Cannot switch from secure to non secure world

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6ull: Cannot switch from secure to non secure world

1,144 次查看
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,131 次查看
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,107 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 项奖励
回复