From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9AF5C433E0 for ; Mon, 1 Jun 2020 16:13:09 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD4E9206C3 for ; Mon, 1 Jun 2020 16:13:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="xRCt56M+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD4E9206C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jfn3V-0000KW-Pa; Mon, 01 Jun 2020 16:12:53 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jfn3U-0000KR-VT for xen-devel@lists.xenproject.org; Mon, 01 Jun 2020 16:12:53 +0000 X-Inumbo-ID: bdfab4ee-a422-11ea-ab2f-12813bfff9fa Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id bdfab4ee-a422-11ea-ab2f-12813bfff9fa; Mon, 01 Jun 2020 16:12:51 +0000 (UTC) Received: from localhost (c-67-164-102-47.hsd1.ca.comcast.net [67.164.102.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 99760206C3; Mon, 1 Jun 2020 16:12:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591027970; bh=KR0RYgpHZ2PN6KaQgrrKmx5yqFIfhICtOodWI3QPFSg=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=xRCt56M+uT7gaPF9KQh/HF/wm3gP3GII7msL8Zbv6PT9ucWdLsEBCaDQkIxuiIe6M 6pxa1R7EWFCPIBI+cNIYRtDIOedxKtUAr2Z+c2rSHU85M1OAkHjTcv7JtGcDTwdiKH +rRJ3srZYhb9EyItznW6AOU4X534gC+ih08LHcmw= Date: Mon, 1 Jun 2020 09:12:45 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Roman Shaposhnik Subject: Re: UEFI support in ARM DomUs In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Xen-devel , Stefano Stabellini , George.Dunlap@citrix.com, Nataliya Korovkina , Julien Grall Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" + George On Sun, 31 May 2020, Roman Shaposhnik wrote: > Hi Julien! > > On Sun, May 31, 2020 at 3:24 PM Julien Grall wrote: > > > > On Sun, 31 May 2020 at 23:05, Roman Shaposhnik wrote: > > > 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). > > > > EDK2 has been supporting Xen on Arm for the past 5 years. We don't use > > OvmfPkg/OvmfXen but ArmVirtPkg/ArmVirtXen (see [1]). > > I haven't tried to build it recently, but I should be able to help if > > there is any issue with it. > > > > Cheers, > > > > [1] https://github.com/tianocore/edk2/blob/master/ArmVirtPkg/ArmVirtXen.fdf > > This is really, really awesome -- I guess it would be really helpful to document > this someplace on the ARM/Xen wiki (I can volunteer if someone can grant > me the karma). Regarding the wiki: yes please! Let George know if you don't have write access. > I've built XEN_EFI.fd and the rest worked out like a charm. > > All on Raspberry Pi 4! Fantastic!