From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZI8sg-0003EP-A2 for mharc-grub-devel@gnu.org; Thu, 23 Jul 2015 01:17:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZI8se-0003EJ-5N for grub-devel@gnu.org; Thu, 23 Jul 2015 01:17:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZI8sa-0002eM-1G for grub-devel@gnu.org; Thu, 23 Jul 2015 01:17:16 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:36152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZI8sZ-0002dx-Ro for grub-devel@gnu.org; Thu, 23 Jul 2015 01:17:11 -0400 Received: by pdjr16 with SMTP id r16so153524375pdj.3 for ; Wed, 22 Jul 2015 22:17:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AU1/cDHP6v6cZo/jaKzdYE8Y9fQ+qEkpM//j69O/Cpw=; b=BOVGpeWTAyZldy8uy947IZxZsgs1pqnbsbbCrHI7bEvEUBkwHObeg3HQVdAJIvvK8I A9kT27UFVTvhZ5d1Z/OI7iNBchO2nNfPKrrHbiUl9XubFIzwqM1Xvz7swH9uR2oQEYW9 IQG6ekmXtrhdmJBSjcfYRowkIMxbXKbRkynL+kLwJ8h+ql1mywuyn+pe7tadbKkaqw5w PpjpEESkK8XLJ8Q2hhfWzzOoB2xU9TgJmiu9dppaHyifWkrRiu5sb8QtfLvWgvC49VJu jnpm4eUtrcfUN398lU3VDjmVjZ+wr4udvde6UOWpVHhbA/I5HbW/KVoEg64th7SV8DRv XZMg== X-Gm-Message-State: ALoCoQl1XA3hX9/sdPGBKKASH+QvvIbxEBf1fhlgikcQfg+XL8bWca7433AIAwbU/26jwAw1UTIa X-Received: by 10.66.65.162 with SMTP id y2mr14314869pas.101.1437628629817; Wed, 22 Jul 2015 22:17:09 -0700 (PDT) Received: from localhost.localdomain (li400-65.members.linode.com. [106.187.50.65]) by smtp.googlemail.com with ESMTPSA id ti10sm6364677pab.20.2015.07.22.22.17.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Jul 2015 22:17:08 -0700 (PDT) From: fu.wei@linaro.org To: grub-devel@gnu.org, arvidjaar@gmail.com, phcoder@gmail.com Subject: [PATCH v3 0/4] arm64: Add Xen boot support (via fdt) Date: Thu, 23 Jul 2015 13:16:19 +0800 Message-Id: <1437628583-23667-1-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <=fu.wei@linaro.org> References: <=fu.wei@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.169 Cc: xen-devel@lists.xensource.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, jcm@redhat.com, leif.lindholm@linaro.org, ryan.harkin@linaro.org, linaro-uefi@lists.linaro.org, Fu Wei X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2015 05:17:17 -0000 From: Fu Wei - This adds support for the Xen boot on ARM specification for arm64. - Add and export some accessor functions of "loaded" flag and grub_linux_get_fdt function in include/grub/arm64/linux.h for xen boot. - Introduce xen_hypervisor, xen_linux, xen_initrd and xen_xsm to load different binaries for xen boot. Introduce xen_module to load common or custom module for xen boot. - This Xen boot support is a separated module for aarch64, but reuse the existing code of devicetree in linux module. - Add the support of xen_hypervisor, xen_linux and xen_initrd in util/grub.d/20_linux_xen.in - Add the introduction of all xen boot commands in docs/grub.texi - The example of this support is https://wiki.linaro.org/LEG/Engineering/Grub2/Xen_booting_on_Foundation_FVP_model_by_GRUB Changelog: v3: create separate module for xen boot: xen_boot create separate commands for different types of module delete order-dependent for commands of xen module simplify the code v2: remove the patches which have been accepted. according to Vladimir's suggestion, change the command manes and relevant code: multiboot-->xen_hypervisor module-->xen_module improve the option parsing support for xen_hypervisor/xen_module commands. add a patch for adding xen_hypervisor/xen_module support in util/grub.d/20_linux_xen.in. update docs/grub.texi patch for the new command names. v1: The first version upstream patchset to grub-devel mailing list Fu Wei (4): arm64: Add and export some accessor functions for xen boot arm64: Add xen_boot module file * util/grub.d/20_linux_xen.in: Add support of the XEN boot on aarch64 arm64: Add the introduction of xen boot commands in docs/grub.texi docs/grub.texi | 56 ++++ grub-core/Makefile.core.def | 7 + grub-core/loader/arm64/linux.c | 13 + grub-core/loader/arm64/xen_boot.c | 685 ++++++++++++++++++++++++++++++++++++++ include/grub/arm64/linux.h | 6 +- util/grub.d/20_linux_xen.in | 16 +- 6 files changed, 779 insertions(+), 4 deletions(-) create mode 100644 grub-core/loader/arm64/xen_boot.c -- 1.8.3.1