[U-Boot] ARMv7 / RK3288 Hypervisor Support

Timothy Pearson tpearson at raptorengineeringinc.com
Mon Apr 18 23:30:01 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

I recently ported U-Boot over to the RK3288-based Veyron Speedy 4GB
Chromebook in an attempt to gain KVM (hypervisor) support [1].  However,
in addition to the GIC being completely masked off in non-secure mode by
the AXI bus, the machine hangs immediately upon exiting the NS/HYP
switch monitor mode call in arch/arm/cpu/armv7/nonsec_virt.S.

I notice that the hypervisor setup code was revised back in 2014 to
support platforms with secure RAM, effectively replacing the early hvc 0
call with a late smc 0-based setup routine. Has the current hypervisor
implementation been tested on the original Versatile Express TC-2 board
since the setup code modification?

Is anyone else working on RK3288 hypervisor support?  The datasheet
claims virtualization extensions are supported, but right now that seems
quite dubious unless 1.) the GIC can be un-masked in normal mode and 2.)
the hang on HYP mode switch can be traced to an implementation fault in
u-boot.

Thanks!

[1] Work-in-progress patches:
http://raptorengineering.com/u-boot/rk3288/patches/wip/

- -- 
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
http://www.raptorengineeringinc.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJXFVHXAAoJEK+E3vEXDOFbop0IAJk6D2lvb4dPwUvo/EUDo1CJ
A7YEQTIYc7i5Fa0jTd3ttpVDMbwt2Q6PSdhl2xBT1GoY1aWtI65r6cNgZxRE081C
YQ7VFHNa7uR9Li+dKYeKA0JWrOYe8WQDL1/8jphAfMRZZ3D0mTfbV6xa+vdQI5La
I493OwS3yssMXha0PCO7PN5+HrFYPFg2UCQMkz1uwH3JCi879XR/+Wy0luvDnx7c
tTD589bggKlbY/cHnEG0XNjj4ChfCcTNQ1r62GTnRgSsGCRklvTi+B40aM9vLg5f
swIiKCUAWqle8aQyRxVsyGEwr6N11SvU4NjRryybUgLvV6SfaIWCUejuCT92ZE4=
=grIP
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list