rockchip-linux / u-boot

U-Boot tree for pending commits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RK3288 Uboot execution in EL2 mode

hiwudery opened this issue · comments

Hi:
How to make uboot of rk3288 execution in EL2 mode? Because I want to use the hardware virtualization in rk3288, uboot is required to start at EL2 mode to make ARM KVM hypervision work.

Thank you

-Jack

I'd like this too.

I've tried enabling CONFIG_CPU_V7_HAS_NONSEC, CONFIG_ARCH_SUPPORT_PSCI and CONFIG_CPU_V7_HAS_VIRT, but there's something wrong: the instruction to set the coprocessors to NonSec mode at
mcr p15, 0, r0, c1, c1, 2 @ NSACR = all copros to non-sec
in nonsec_virt.S line 84 causes an illegal instruction trap.