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=-5.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS 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 EA510C433DF for ; Mon, 1 Jun 2020 04:12:11 +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 9BE0220707 for ; Mon, 1 Jun 2020 04:12:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=zededa.com header.i=@zededa.com header.b="O7ZqEoNT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9BE0220707 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=zededa.com 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 1jfbnb-0000Lp-R2; Mon, 01 Jun 2020 04:11:43 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jfbna-0000Lk-Sg for xen-devel@lists.xenproject.org; Mon, 01 Jun 2020 04:11:42 +0000 X-Inumbo-ID: ff97dc2a-a3bd-11ea-9947-bc764e2007e4 Received: from mail-qt1-x841.google.com (unknown [2607:f8b0:4864:20::841]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id ff97dc2a-a3bd-11ea-9947-bc764e2007e4; Mon, 01 Jun 2020 04:11:42 +0000 (UTC) Received: by mail-qt1-x841.google.com with SMTP id i68so6751800qtb.5 for ; Sun, 31 May 2020 21:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zededa.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3NwYwJLV2MbQSYU70QW25++6lGpRPnoUWdanU2rZBDo=; b=O7ZqEoNT28KJnf9C95fOAB8EdGl9FcZ4tTKnZPyk7SGY+NxGWwV4628CC6nTokzyKo 9+OuBHH4Ll5oNWHrkIuS8G6Q9RneMn0VOK28L38otr0hNYVmmrAfEsL84mRyym758n/h zJ5+/dPaIihGFHri+KG3Y7NsAOZW2myqVb3UY1IQNeqfajYEwFWOFMyf2fDNdqdmHhTQ O7xfYeSUt1e/oRY55R1Xbz4QgfQvyM3dP0M9FDcakedivtxMF/+W1hLjBHG1yxEkqvEw hoB0fJibvDqWRHdlde9QTTTTbfaogPGqD2fRzUYaRuCu+Bn8oAz+ok/WtB9XufLegKFz I3cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3NwYwJLV2MbQSYU70QW25++6lGpRPnoUWdanU2rZBDo=; b=OpL54FShoAdq9Q1MUpFPaQifsFlSLHHQwq/2v7kt1qXxNPSsGb6rCl0PkdVb9JJNfv QbQqIWonorUswCjGiHTI1G57EJGSdyg6H5rG1GWgA3DNxUnp2y49YnPVVOHfuAokbLEu WR92Se8k03Ee738n5ng9EMsoYIhHVrmzabJE6TM8hyZznc6OdQDpZp/mhmkjrwyxA9U4 L/LQ8R/QiIbR268rvR9YRd89dDFTpefYi2V9omPYGEo/h6ieNJm+cMWssfRK6PzrNSh5 kIeuoEe8c3EZd0QEzoSKcMzNzrmQlkl3vCuVSkWE38+tnIKRkQwbbo8vWMKrRyIr5MsK HB6g== X-Gm-Message-State: AOAM530axb5r6XG9QN3sUEViy6U2YtujAoKPHG6yqXLxJpMvSz1YAlwb k4Fp7S8WpbFBvAj8qjnRgUMuR4zi5dSsru8pED5gzA== X-Google-Smtp-Source: ABdhPJwiGh7pEagbUquDpKGrWMXh9pZto7E9lYO9/hE7z01B5uO5u5QNUsy1hvzUbL6vud4Yi2geytKa9hQsnJjHgDk= X-Received: by 2002:ac8:4d0e:: with SMTP id w14mr17550046qtv.266.1590984701735; Sun, 31 May 2020 21:11:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roman Shaposhnik Date: Sun, 31 May 2020 21:11:30 -0700 Message-ID: Subject: Re: UEFI support in ARM DomUs To: Julien Grall Content-Type: text/plain; charset="UTF-8" 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 , Nataliya Korovkina Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" 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). I've built XEN_EFI.fd and the rest worked out like a charm. All on Raspberry Pi 4! Thanks, Roman.