[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UEFI support in ARM DomUs


  • To: Peng Fan <peng.fan@xxxxxxx>, Roman Shaposhnik <roman@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Date: Thu, 4 Jun 2020 15:26:36 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JwytaLmNBen2071IMziFp2czcHYUHvt/1SiO5iMgFQw=; b=lgFGJcXABF7i2gZWTn4oMJyQxqoHEiqOuDgtj6C4Lvm+b3XGcVyFMqFVqJCXjTqzf1znBP4BkkwZVN8EF29eErPWyZD8e72DYVYKewdaNs/R/X7QXETKq5S73dzaPugVNWg3LuL8u9jsCLXGClzKO+osrOJ9V6cMaYoGKOvUZ45bv3Tm7RgTRkVk89xuKhgd86/gImF6318Km+RDR//t7ICtyM9ot9JlWCXZknliUjHt4aR/okJM3eDfPuTuettZCmE+HOTfcK5aq9ghuqp9Bf9rBJ+3PuAKgdZkqdEfRqRdV/1fq9/oFq6eW3kRyWMpF7QrHmbyt+yP46eMfyoBLg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YimXXOGgOnzg8mhXfJu/SvC6xmfuKVnoCGB8DlxRAp0nCmN4dj0faB4Rgb0ZhcM89f6rLeMVaMVFlwxHnysR9Ne8XRiBsb3VWG3k2o8dM2Nu1T8r7RnmRVbWx+OxKSCTVP6H93sJntiWFNGs+alS22c08FCWnWgI9ItAxphp/732Ze0vnpgdZTKwzHrK6Uu5ykegolZ+WNpnhAL9C/xBZXDklms+kAOJD6qM19okqCV1abHRFHQ1w/MHL092e+0sB2kMXQleon66piZyoP3JKufMLtMKwdGpOY5N65dsNxmpsybtrwr1b+EJflOL7IAkQIk5JbrmTTuwybYNJKLTLw==
  • Authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=epam.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Nataliya Korovkina <malus.brandywine@xxxxxxxxx>
  • Delivery-date: Thu, 04 Jun 2020 15:27:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWOoSI1wnhumD+IkWBnAQX9mudyQ==
  • Thread-topic: UEFI support in ARM DomUs

On 6/4/20 4:57 AM, Peng Fan wrote:
> Grall <julien@xxxxxxx>;
>> Nataliya Korovkina <malus.brandywine@xxxxxxxxx>
>> Subject: UEFI support in ARM DomUs
> We have made U-Boot run inside XEN DomU, but just only PV console part,
> not implement other frontend drivers currently. Would this help for your
> case if enable EFI in U-Boot?

Well, we have a working PV block implementation on top of that on iMX8

platform, mostly ported from mini-os. Currently we are finalizing the work

and cleaning up (it's going to take a week or so hopefully). Then, we we'll post

it on our public github. We are also thinking about upstreaming the work, but 
it may

take quite some time if the whole idea fits u-boot's view on such an extension 
at all.

Regards,

Oleksandr

> Regards,
> Peng.
>
>> Hi!
>>
>> with a lot of help from Stefano, we're getting RPi4 support in Project EVE
>> pretty much on par between KVM and Xen.
>>
>> One big area that still remains is supporting UEFI boot sequence for DomUs.
>> With KVM, given the qemu virt device model this is as simple as using either
>> stock UEFI build for arm or even U-Boot EFI emulation environment and
>> passing it via -bios option.
>>
>> Obviously with Xen on ARM we don't have the device model so my
>> understanding is that the easiest way we can support it would be to port
>> UEFI's OvmfPkg/OvmfXen target to ARM (it seems to be currently exclusively
>> X64).
>>
>> So here's my first question: if there's anybody on this list who had a hand 
>> in
>> implementing OvmfPkg/OvmfXen can you please share your thoughts on how
>> much work that port may be (or whether it is even feasible -- I may totally 
>> be
>> missing something really obvious here).
>>
>> And as long as I've got your attention: two more questions:
>>     1.. compared to the above, would porting pvgrub to ARM be any
>>     easier or more difficult?
>>
>>     2. same question for teaching u-boot about PV calls.
>>
>> Thanks,
>> Roman.
>>
>> P.S. Oh and I guess between:
>>     0. OvmfPkg/OvmfXen on ARM64
>>     1. pvgrub on ARM64
>>     2. u-boot/EFI emulation with PV calls backend I didn't miss any other
>> obvious way of making UEFI-aware VM images to boot on Xen ARM64 DomU,
>> right?

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.