imx6ull: Cannot switch from secure to non secure world

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

imx6ull: Cannot switch from secure to non secure world

1,141 Views
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.

 

 

Labels (3)
0 Kudos
Reply
2 Replies

1,128 Views
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 Kudos
Reply

1,104 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos
Reply