Virtualization Support
#1
Hi All,

I am not able to find any clear information if Pine64+ supports virtualization. The followings are my questions

-- Does Allwinner A64 SOC support Arm virtualization extensions?
    * How about its MMU, it support stage 2 translations?
    * Is there any further document for our reference?
-- Does Pine64+2G support secure EL2 boot for hypervisor?
    * We need to enable KVM and Xen or other hypervisor support on Pine64, but from the sunxi wiki, it seems

       the current u-boot enters the kernel in the secure(?) EL1 exception level. 
       This currently denies any virtualization (KVM) to be used.

~Sting

#2
(01-25-2016, 06:47 PM)soccercheng Wrote: Hi All,

I am not able to find any clear information if Pine64+ supports virtualization. The followings are my questions

The A64 cores are ARM A53, so virtualization is supported. Caveat, due to how the Pine boots virtualization is not yet supported, see http://linux-sunxi.org/Pine64#Sunxi.2FLegacy_U-Boot

For everything else, see the ARM A53 TRM.
#3
Guys at linux-sunxi (apritzel, ssvb & wens) made some tremendous progress with the mainline support. Now the biggest issue is interfacing the power regulator (I briefly looked at it, but day job and complexity of the problem prevented me from doing anything). When that piece of hardware is supported all the pieces should fall in together.
#4
(01-30-2016, 10:49 AM)janjwerner Wrote: Guys at linux-sunxi (apritzel, ssvb & wens) made some tremendous progress with the mainline support. Now the biggest issue is interfacing the power regulator (I briefly looked at it, but day job and complexity of the problem prevented me from doing anything). When that piece of hardware is supported all the pieces should fall in together.

That's fantastic news that positive progress is being made Smile
#5
Thumbs Up 
I am amazed how quickly apritzel got things up running! I have to find his email / paypal account and get him some beer. 
If you are serious about running linux on your Pine you should too!
#6
(01-30-2016, 12:47 PM)janjwerner Wrote: I am amazed how quickly apritzel got things up running! I have to find his email / paypal account and get him some beer. 
If you are serious about running linux on your Pine you should too!

I should think quite a few people would be glad to make a small contribution to apritzel's beer fund Wink
#7
(01-30-2016, 12:47 PM)janjwerner Wrote: I am amazed how quickly apritzel got things up running! I have to find his email / paypal account and get him some beer. 
If you are serious about running linux on your Pine you should too!

Yeah, he works for ARM, so he's got a big head start on almost everyone.
#8
(01-30-2016, 12:47 PM)janjwerner Wrote: I am amazed how quickly apritzel got things up running! I have to find his email / paypal account and get him some beer. 
If you are serious about running linux on your Pine you should too!

Yes, I am appreciating on the apritzel assistance.
... TL Lim
#9
yes a beer fund for apritzel should be made or at the very least funds should be raised for his major contributions to the cause.
If you like my work be sure to check out my site or wish to donate to the cause

Cheers Big Grin
#10
Apritzel has fixed the ATF to boot the CPU in EL2 - KVM works kind of (see http://paste.ubuntu.com/15174425/ for a bootlog of a guest) until the host BSP Kernel crashes with http://paste.ubuntu.com/15174460/ - so some work to be done here or wait for a suitable mainline Kernel.


Update:

Ok, @apritzel also remembered the fix - so i added it to my Kernel tree (https://github.com/longsleep/linux-pine6...a5c90a3bb9) and now KVM works. See http://paste.ubuntu.com/15174728/ for full guest boot log to shell.

Thats some progress i would say. KVM guest with Pine64 host - check!


Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming languages support under PINE64 baryluk 6 13,351 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  AXP803 Battery Charger Support xalius 14 26,460 12-22-2017, 08:59 AM
Last Post: Velociraptor
Wink Pine64 Will support Freenas or openmediavault ? joe 1 5,297 04-13-2017, 07:44 AM
Last Post: xalius
  Remote Desktop Support? Rochambeaux 20 32,205 10-01-2016, 05:08 PM
Last Post: HayseedGeek
  Binfmt_misc support cztian 1 4,025 08-17-2016, 11:49 PM
Last Post: longsleep
Question Joystick/Gamepad support Drakuwa 3 6,583 08-10-2016, 10:12 AM
Last Post: xalius
Big Grin Funny ! Support Intel x86 linux applications on ARM-based ( PINE64 ) not freeware joe 10 17,913 08-09-2016, 05:59 PM
Last Post: dkryder
  Camera support - Ubuntu Xenial 16.04 LTS @lex 3 5,782 08-07-2016, 03:47 AM
Last Post: romansavrulin
  distro with kernel support for DVB-T dongles? mkaut 2 5,095 07-02-2016, 02:36 PM
Last Post: mkaut
  XFS Support? utdrmac 2 3,806 06-30-2016, 01:44 AM
Last Post: longsleep

Forum Jump:


Users browsing this thread: 1 Guest(s)