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.
Could you please provide us the Security Reference Manual for the i.MX 6ULL Applications Processor ?
Thanks in advance for your help.
all files you need is located in https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-proces...