u-boot icon indicating copy to clipboard operation
u-boot copied to clipboard

RK3288 Uboot execution in EL2 mode

Open hiwudery opened this issue 6 years ago • 1 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

hiwudery avatar Jul 10 '18 14:07 hiwudery

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.

wom-bat avatar Sep 14 '20 03:09 wom-bat