[U-Boot] Non-secure switch in U-boot

Thomas.Betker at rohde-schwarz.com Thomas.Betker at rohde-schwarz.com
Fri Jun 13 11:50:21 CEST 2014


Hello Shabbir:

> Yes. FSBL is encrypted and is used to start u-boot.
> My problem is, by default since cortex-a9 is trustzone compliant it 
boots
> in secure state, but i want to switch dynamically to non-secure state by
> calling smc #0 in start.S of my u-boot. Since I have successfully set up
> the vector table, MVBAR register and by writing to cp15 SCR, i am able 
to
> enter into Normal world. Once normal state is entered, stack pointer 
points
> to 0x0, and when i tried to boot it goes to ABT(abort) mode.
> 
> I want to boot my linux in Non-secure world at the end, that's why, 
first i
> am trying at u-boot level.

Okay, thanks for the clarification. However, this is an area where I 
haven't worked on myself yet (lots of Zynq experience here, but just 
starting on secure boot). Perhaps some ARM expert might help ...?

Best regards,
Thomas


More information about the U-Boot mailing list