Re: [PATCH v3 0/7] Add LoadFile2 and riscv Linux loader

2021-11-24 Thread Fu Wei
Hi Nikita, Great thanks for updating V3, I have tried them on RISC-V Hardware (Starfive StarLight/VisionFive, and Allwinner D1 Nezha), they are working well, boot into Fedora. My repo is here : https://github.com/tekkamanninja/grub/tree/riscv_devel_Nikita_V3 For whole patchset: Tested-by: Fu Wei

Re: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader

2021-08-28 Thread Fu Wei
Hi Nikita, Nikita Ermakov 于2021年8月28日周六 下午8:22写道: > > Hi Atish, Fu, > > On Fri, 27 Aug 2021 at 19:29, Fu Wei wrote: > > > > Hi Atish, > > > > Great thanks for adding me the loop! > > > > I have tested this these whole patchset on Starl

Re: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader

2021-08-27 Thread Fu Wei
Hi Atish, Great thanks for adding me the loop! I have tested this these whole patchset on Starlight board and Allwinner D1 , https://github.com/tekkamanninja/grub/tree/riscv_devel_Nikita_V2 I would be nice If you can add my Tested-by for this patchset! Tested-by: Wei Fu Atish Patra

Re: [PATCH 0/5] Fix non-x86 builds after verifiers framework merged

2018-11-15 Thread Fu Wei Fu
guard for verify.h. > - Add a new file type for device tree blobs. > - Fix an error added to arm64/linux.c. > - Add file types to grub_file_open calls. > > Note: only the common and arm64 fixes have actually been tested. > > Fu Wei, Julien - can you guys have a look at fixing arm64

Re: [PATCH 1/2] Fix util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-08-29 Thread Fu Wei Fu
t; > [root@tst063 ~]# > > And no more. > > This patch wraps the invocation of grub-file to be a in subshell > and to process the return value in a conditional. That fixes > the issue. > > RH-BZ 1486002: grub2-mkconfig does not work if xen.gz is installed. > CC: Fu Wei

Re: [PATCH v8 0/3] arm64, xen: add xen_boot support into grub-mkconfig

2017-05-15 Thread Fu Wei
+0800, fu@linaro.org wrote: >> >>From: Fu Wei <fu@linaro.org> >> >> >> >>This patchset add xen_boot support into grub-mkconfig for >> >>generating xen boot entrances automatically >> >> >> >>Also up

Re: [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-14 Thread Fu Wei
Hi Vladimir, On 11 May 2017 at 22:25, Fu Wei <fu@linaro.org> wrote: > Hi Vladimir, > > On 11 May 2017 at 06:01, Vladimir 'phcoder' Serbinenko > <phco...@gmail.com> wrote: >> >> >> On Tue, May 9, 2017, 11:02 Fu Wei <fu@linaro.org> wrote: &g

[PATCH v8 1/3] arm64: add "--nounzip" option support in xen_module command

2017-05-14 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds "--nounzip" option support in order to be compatible with the module command of multiboot on other architecture, by this way we can simplify grub-mkconfig support code. This patch also allow us to use zip compressed module(l

[PATCH v8 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-14 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds the support of xen_boot command for aarch64: xen_hypervisor xen_module These two commands are only for aarch64, since it has its own protocol and commands to boot xen hypervisor and Dom0, but not multiboot. For other archite

[PATCH v8 3/3] arm64: update the introduction of xen boot commands in docs/grub.texi

2017-05-14 Thread fu . wei
From: Fu Wei <fu@linaro.org> delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko <phco...@gmail.com> Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Rem

[PATCH v8 0/3] arm64,xen: add xen_boot support into grub-mkconfig

2017-05-14 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset add xen_boot support into grub-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. ChangeLog: v8: http://lists.gnu.org/archive/html/grub-devel/2017-05/ Delete the red

Re: [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-11 Thread Fu Wei
Hi Vladimir, On 11 May 2017 at 06:01, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > > On Tue, May 9, 2017, 11:02 Fu Wei <fu@linaro.org> wrote: >> >> Hi Vladimir >> >> On 9 May 2017 at 14:59, Vladimir 'phcoder' Serbinenko <phco...

Re: [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-09 Thread Fu Wei
Hi Vladimir On 9 May 2017 at 17:02, Fu Wei <fu@linaro.org> wrote: > Hi Vladimir > > On 9 May 2017 at 14:59, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> > wrote: >> >> >> Le Tue, May 2, 2017 à 9:06 AM, <fu....@linaro.org> a

Re: [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-09 Thread Fu Wei
Hi Vladimir On 9 May 2017 at 14:59, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > > Le Tue, May 2, 2017 à 9:06 AM, <fu@linaro.org> a écrit : >> >> From: Fu Wei <fu@linaro.org> >> >> This patch adds the support of

Re: [PATCH v7 1/3] arm64: add "--nounzip" option support in xen_module command

2017-05-09 Thread Fu Wei
Hi Vladimir, On 9 May 2017 at 14:56, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > > Le Tue, May 2, 2017 à 9:06 AM, <fu@linaro.org> a écrit : >> >> From: Fu Wei <fu@linaro.org> >> >> This patch adds "--nounzip"

Re: [Xen-devel] [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-05 Thread Fu Wei
Hi Julien, On 5 May 2017 at 18:11, Julien Grall <julien.gr...@arm.com> wrote: > Hi Andrew, > > > On 05/05/17 10:01, Andrew Cooper wrote: >> >> On 05/05/17 09:57, Fu Wei wrote: >>> >>> Hi Stefano, >>> >>> On 4 May 20

Re: [Xen-devel] [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-05 Thread Fu Wei
Hi Andrew, On 5 May 2017 at 17:01, Andrew Cooper <andrew.coop...@citrix.com> wrote: > On 05/05/17 09:57, Fu Wei wrote: >> Hi Stefano, >> >> On 4 May 2017 at 04:53, Stefano Stabellini <sstabell...@kernel.org> wrote: >>> On Wed, 3 May 2017, Andre

Re: [Xen-devel] [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-05 Thread Fu Wei
Hi Stefano, On 4 May 2017 at 04:53, Stefano Stabellini <sstabell...@kernel.org> wrote: > On Wed, 3 May 2017, Andrew Cooper wrote: >> On 02/05/17 08:06, fu@linaro.org wrote: >> > From: Fu Wei <fu@linaro.org> >> > >> > This patch

Re: [PATCH v7 0/3] arm64, xen: add xen_boot support into grup-mkconfig

2017-05-05 Thread Fu Wei
Hi Daniel, On 5 May 2017 at 00:00, Daniel Kiper <dki...@net-space.pl> wrote: > Hey, > > On Tue, May 02, 2017 at 03:06:24PM +0800, fu@linaro.org wrote: >> From: Fu Wei <fu@linaro.org> >> >> This patchset add xen_boot support into grup-mkconf

Re: [PATCH v7 0/3] arm64, xen: add xen_boot support into grup-mkconfig

2017-05-02 Thread Fu Wei
Sorry for the typo On 2 May 2017 at 15:06, <fu@linaro.org> wrote: > From: Fu Wei <fu@linaro.org> > > This patchset add xen_boot support into grup-mkconfig for ^ grub2-mkconfig Also in the subject.

[PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-02 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds the support of xen_boot command for aarch64: xen_hypervisor xen_module These two commands are only for aarch64, since it has its own protocol and commands to boot xen hypervisor and Dom0, but not multiboot. For other archite

[PATCH v7 1/3] arm64: add "--nounzip" option support in xen_module command

2017-05-02 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds "--nounzip" option support in order to be compatible with the module command of multiboot on other architecture, by this way we can simplify grub-mkconfig support code. This patch also allow us to use zip compressed module(l

[PATCH v7 3/3] arm64: update the introduction of xen boot commands in docs/grub.texi

2017-05-02 Thread fu . wei
From: Fu Wei <fu@linaro.org> delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko <phco...@gmail.com> Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Rem

[PATCH v7 0/3] arm64,xen: add xen_boot support into grup-mkconfig

2017-05-02 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset add xen_boot support into grup-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. ChangeLog: v7: http://lists.gnu.org/archive/html/grub-devel/2017-05/ Delete patch 0001(v6)

[PATCH v6 2/4] arm64: add "--nounzip" option support in xen_module command

2016-07-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds "--nounzip" option support in order to be compatible with the module command of i386, then we can simplify grub-mkconfig support code. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/arm64/xen_boot.c | 17 +++

[PATCH v6 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-07-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko <phco...@gmail.com> Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Rem

[PATCH v6 3/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support

2016-07-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds the support of xen_boot command: xen_hypervisor xen_module Also add a new "feature_xen_boot" to indicate this grub support xen_boot command. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/normal/main.c

[PATCH v6 1/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386

2016-07-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/i386/xen.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c index c4d9689..15b0727 100644 --- a/grub-core/loader/i386

[PATCH v6 0/4] arm64,xen: add xen_boot support into grup-mkconfig

2016-07-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset add xen_boot support into grup-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. This patchset has been tested on Foudation model with a bug fix: http://lists.gnu.org/archiv

Re: [PATCH] arm64: xen_boot: Fix xen boot using Grub on AARCH64

2016-07-26 Thread Fu Wei
Hi all On 22 February 2016 at 17:29, Fu Wei <fu@linaro.org> wrote: > Hi Julien, > > On 20 February 2016 at 00:28, Julien Grall <julien.gr...@linaro.org> wrote: >> Xen is currently crashing because of malformed compatible property for >> the boot module. Th

Re: [PATCH v5 3/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support

2016-07-26 Thread Fu Wei
Hi Julien, On 12 July 2016 at 18:21, Julien Grall <julien.gr...@arm.com> wrote: > Hi Fu Wei, > > > On 06/07/16 18:53, fu@linaro.org wrote: >> >> From: Fu Wei <fu@linaro.org> >> >> This patch adds the support of xen_boot command: >>

Re: [Xen-devel] [PATCH v4 0/4] arm64, xen: add xen_boot support into grup-mkconfig

2016-07-06 Thread Fu Wei
Hi Julien, On 5 July 2016 at 18:48, Julien Grall <julien.gr...@arm.com> wrote: > Hi Fu Wei, > > What is the status of this series? IIRC the comments on this version were > minor. Sorry, I missed the suggestion of docs, I have rebased them to latest upstream grub and posted v5

[PATCH v5 0/4] arm64,xen: add xen_boot support into grup-mkconfig

2016-07-06 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset add xen_boot support into grup-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. This patchset has been tested on Foudation model with a bug fix: http://lists.gnu.org/archiv

[PATCH v5 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-07-06 Thread fu . wei
From: Fu Wei <fu@linaro.org> delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko <phco...@gmail.com> Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Rem

[PATCH v5 3/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support

2016-07-06 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds the support of xen_boot command: xen_hypervisor xen_module Also add a new "feature_xen_boot" to indicate this grub support xen_boot command. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/normal/main.c

[PATCH v5 2/4] arm64: add "--nounzip" option support in xen_module command

2016-07-06 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds "--nounzip" option support in order to be compatible with the module command of i386, then we can simplify grub-mkconfig support code. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/arm64/xen_boot.c | 17 +++

[PATCH v5 1/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386

2016-07-06 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/i386/xen.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c index c4d9689..15b0727 100644 --- a/grub-core/loader/i386

Re: [Xen-devel] [PATCH v4 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-05-19 Thread Fu Wei
Hi Julien, On 16 May 2016 at 19:28, Julien Grall <julien.gr...@arm.com> wrote: > Hi Fu Wei, > > (CC Stefano) > > > On 10/05/16 15:03, fu@linaro.org wrote: >> >> From: Fu Wei <fu@linaro.org> >> >> delete: xen_linux, xen_init

[PATCH v4 1/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386

2016-05-10 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/i386/xen.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c index c4d9689..15b0727 100644 --- a/grub-core/loader/i386

[PATCH v4 2/4] arm64: add "--nounzip" option support in xen_module command

2016-05-10 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds "--nounzip" option support in order to be compatible with the module command of i386, then we can simplify grub-mkconfig support code. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/arm64/xen_boot.c | 17 +++

[PATCH v4 3/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support

2016-05-10 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds the support of xen_boot command: xen_hypervisor xen_module Also add a new "feature_xen_boot" to indicate this grub support xen_boot command. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/normal/main.c

[PATCH v4 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-05-10 Thread fu . wei
From: Fu Wei <fu@linaro.org> delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko <phco...@gmail.com> Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Rem

[PATCH v4 0/4] arm64,xen: add xen_boot support into grup-mkconfig

2016-05-10 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset add xen_boot support into grup-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. This patchset has been tested on Foudation model with a bug fix: http://lists.gnu.org/archiv

Re: [Xen-devel] [PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-04-13 Thread Fu Wei
Hi all On 18 March 2016 at 15:53, Fu Wei <fu@linaro.org> wrote: > Hi all, > > On 9 March 2016 at 16:22, Fu Wei <fu@linaro.org> wrote: >> Hi Julien, >> >> On 9 March 2016 at 15:10, Julien Grall <julien.gr...@arm.com> wrote: >>> Hi, >

Re: [PATCH] arm64: xen_boot: Fix xen boot using Grub on AARCH64

2016-03-30 Thread Fu Wei
en_boot_fdt, module_node, "compatible", >> - MODULE_CUSTOM_COMPATIBLE, >> sizeof(MODULE_CUSTOM_COMPATIBLE) - 1); >> + MODULE_CUSTOM_COMPATIBLE, >> sizeof(MODULE_CUSTOM_COMPATIBLE)); >> if (retval) >> return grub_error

Re: [Xen-devel] [PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-03-18 Thread Fu Wei
Hi all, On 9 March 2016 at 16:22, Fu Wei <fu@linaro.org> wrote: > Hi Julien, > > On 9 March 2016 at 15:10, Julien Grall <julien.gr...@arm.com> wrote: >> Hi, >> >> On 08/03/2016 23:37, Fu Wei wrote: >>> >>> On 8 March 2016 at 14:54, Andr

Re: [Xen-devel] [PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-03-09 Thread Fu Wei
Hi Julien, On 9 March 2016 at 15:10, Julien Grall <julien.gr...@arm.com> wrote: > Hi, > > On 08/03/2016 23:37, Fu Wei wrote: >> >> On 8 March 2016 at 14:54, Andrei Borzenkov <arvidj...@gmail.com> wrote: >> So speaking of loading additional

Re: [PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-03-08 Thread Fu Wei
Hi Andrei, On 8 March 2016 at 14:54, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 07.03.2016 11:22, Fu Wei пишет: >> Hi Andrei, >> >> On 28 February 2016 at 00:44, Fu Wei <fu@linaro.org> wrote: >>> Hi Andrei >>> >>> On 28 February

Re: [PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-03-07 Thread Fu Wei
Hi Andrei, On 28 February 2016 at 00:44, Fu Wei <fu@linaro.org> wrote: > Hi Andrei > > On 28 February 2016 at 01:26, Andrei Borzenkov <arvidj...@gmail.com> wrote: >> 26.02.2016 14:13, fu@linaro.org пишет: >>> From: Fu Wei <fu@linaro.org> >

Re: [PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-27 Thread Fu Wei
Hi Andrei On 28 February 2016 at 01:26, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 26.02.2016 14:13, fu@linaro.org пишет: >> From: Fu Wei <fu@linaro.org> >> >> delete: xen_linux, xen_initrd, xen_xsm >> add: xen_module &

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-26 Thread Fu Wei
On 26 February 2016 at 22:03, Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> wrote: > On 26.02.2016 12:15, Fu Wei wrote: >> Hi Andrei, >> >> On 26 February 2016 at 18:50, Andrei Borzenkov <arvidj...@gmail.com> wrote: >>> On Fri, Feb 26, 2016 at

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-26 Thread Fu Wei
Hi Andrei, On 26 February 2016 at 18:50, Andrei Borzenkov <arvidj...@gmail.com> wrote: > On Fri, Feb 26, 2016 at 8:59 AM, Fu Wei <fu@linaro.org> wrote: >>>>>> +@subsection xen_module >>>>>> >>>>>> -@deffn Command xen_linux

[PATCH v3 2/4] arm64: add "--nounzip" option support in xen_module command

2016-02-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds "--nounzip" option support in order to be compatible with the module command of i386, then we can simplify grub-mkconfig support code. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/arm64/xen_boot.c | 17 +++

[PATCH v3 3/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support

2016-02-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds the support of xen_boot command: xen_hypervisor xen_module Also add a new "feature_xen_boot" to indicate this grub support xen_boot command. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/normal/main.c

[PATCH v3 0/4] arm64,xen: add xen_boot support into grup-mkconfig

2016-02-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset add xen_boot support into grup-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. This patchset has been tested on Foudation model with a bug fix: http://lists.gnu.org/archiv

[PATCH v3 1/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386

2016-02-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/i386/xen.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c index c4d9689..15b0727 100644 --- a/grub-core/loader/i386

[PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko <phco...@gmail.com> Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Rem

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-25 Thread Fu Wei
Hi Andrei On 26 February 2016 at 13:24, Andrei Borzenkov <arvidj...@gmail.com> wrote: > > > Отправлено с iPhone > >> 26 февр. 2016 г., в 7:48, Fu Wei <fu@linaro.org> написал(а): >> >> Hi Andrei >> >>> On 26 February 2016 at 01:34, And

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-25 Thread Fu Wei
Hi Andrei On 26 February 2016 at 01:34, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 25.02.2016 09:39, fu@linaro.org пишет: >> From: Fu Wei <fu@linaro.org> >> >> delete: xen_linux, xen_initrd, xen_xsm >> add: xen_module &

Re: [PATCH 1/3] arm64: add grub_xen_boot env to indicate that we have xen_* commands

2016-02-24 Thread Fu Wei
Hi Andrei. On 25 February 2016 at 02:12, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 24.02.2016 21:01, fu@linaro.org пишет: >> From: Fu Wei <fu@linaro.org> >> >> Signed-off-by: Fu Wei <fu@linaro.org> >> --- >> grub-core/loader/

[PATCH v2 0/4] arm64,xen: add xen_boot support into grup-mkconfig

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset add xen_boot support into grup-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. This patchset has been tested on Foudation model with a bug fix: http://lists.gnu.org/archiv

[PATCH v2 2/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds the support of xen_boot command: xen_hypervisor xen_module Also add a new "feature_xen_boot" to indicate this grub support xen_boot command. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/normal/main.c

[PATCH v2 3/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/i386/xen.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c index c4d9689..15b0727 100644 --- a/grub-core/loader/i386

[PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko <phco...@gmail.com> Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Rem

[PATCH v2 1/4] arm64: add "--nounzip" option support in xen_module command

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds "--nounzip" option support in order to be compatible with the module command of i386, then we can simplify grub-mkconfig support code. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/arm64/xen_boot.c | 17 +++

[PATCH 3/3] i386, xen: Add xen_hypervisor and xen_module aliases for i386

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/i386/xen.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c index c4d9689..15b0727 100644 --- a/grub-core/loader/i386

[PATCH 1/3] arm64: add grub_xen_boot env to indicate that we have xen_* commands

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/arm64/xen_boot.c | 8 1 file changed, 8 insertions(+) diff --git a/grub-core/loader/arm64/xen_boot.c b/grub-core/loader/arm64/xen_boot.c index 8ae43d7..ef03111 100644 --- a/grub

[PATCH 2/3] * util/grub.d/20_linux_xen.in: Add support of the xen_boot command

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds the support of xen_boot command: xen_hypervisor xen_module Signed-off-by: Fu Wei <fu@linaro.org> --- util/grub.d/20_linux_xen.in | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a

[PATCH 0/3] arm64,xen: add xen_boot support into grup-mkconfig

2016-02-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset add xen_boot support into grup-mkconfig for generating xen boot entrances automatically ChangeLog: v1 :first upstream patchset. Fu Wei (3): arm64: add grub_xen_boot env to indicate that we have xen_* commands * util/grub.d/20_linux_xen.i

Re: [PATCH] arm64: xen_boot: Fix xen boot using Grub on AARCH64

2016-02-23 Thread Fu Wei
Hi Ian On 23 February 2016 at 18:00, Ian Campbell <ian.campb...@citrix.com> wrote: > On Mon, 2016-02-22 at 17:29 +0800, Fu Wei wrote: >> Hi Julien, >> >> On 20 February 2016 at 00:28, Julien Grall <julien.gr...@linaro.org> >> wrote: >> > Xen is cu

Re: [Xen-devel] [PATCH GRUB] Allow initrd concatenation on ARM64

2016-02-22 Thread Fu Wei
is patch to include a change >> to ./util/grub.d/20_linux_xen.in to update the naming there, but it looks >> like that aspect of the original series isn't in tree yet? >> > We need to figure out what we should do on x86 wrt multiboot vs > multiboot2 before adapting 20_linu

Re: [PATCH] arm64: xen_boot: Fix xen boot using Grub on AARCH64

2016-02-22 Thread Fu Wei
> - MODULE_CUSTOM_COMPATIBLE, > sizeof(MODULE_CUSTOM_COMPATIBLE) - 1); > + MODULE_CUSTOM_COMPATIBLE, > sizeof(MODULE_CUSTOM_COMPATIBLE)); >if (retval) > return grub_error (GRUB_ERR_IO, "failed to update FDT"

Re: [PATCH GRUB] Allow initrd concatenation on ARM64

2015-11-12 Thread Fu Wei
Hi Vladimir, OK, I will test it. On 12 November 2015 at 21:08, Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> wrote: > While on it also change "xen_linux" to "xen_kernel" to be vendor-neutral > Could someone test please? I only compile-tested it --

[PATCH] arm64: Add the missing license macro in fdt module

2015-11-09 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/arm64/fdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grub-core/loader/arm64/fdt.c b/grub-core/loader/arm64/fdt.c index 5202c14..901bd7b 100644 --- a/grub-core/loader/arm64

Re: [PATCH] arm64: Fix the bug in fdt module

2015-11-09 Thread Fu Wei
Hi Vladimir, Since you have merged a patch for Makefile problem, we just need to fix the license problem. I have sent the new little patch for that Great thanks! :-) . On 5 November 2015 at 23:03, Fu Wei <fu@linaro.org> wrote: > Hi Vladimir, > > Thanks for your help, I will

[PATCH] arm64: Add the introduction of xen boot commands in docs/grub.texi

2015-11-09 Thread fu . wei
From: Fu Wei <fu@linaro.org> xen_hypervisor xen_linux xen_initrd xen_xsm Signed-off-by: Fu Wei <fu@linaro.org> --- docs/grub.texi | 38 ++ 1 file changed, 38 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi i

[PATCH] arm64: clean up a useless variable in xen_boot.c

2015-11-09 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch delete "file_name_index" variable and related comment. They are for xen_module command which has been deleted. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/loader/arm64/xen_boot.c | 19 +-- 1 file

Re: [PATCH] arm64: Fix the bug in fdt module

2015-11-09 Thread Fu Wei
Hi Vladimir, But I think maybe we still need to make a loader/arm/fdt.c, but because if we don't , we will get "incompatible license" error. On 9 November 2015 at 22:09, Fu Wei <fu@linaro.org> wrote: > Hi Vladimir, > Since you have merged a patch for Makefile problem,

Re: [PATCH] arm64: Fix the bug in fdt module

2015-11-05 Thread Fu Wei
= lib/fdt.c; + enable = fdt; }; module = { On 4 November 2015 at 19:16, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > Le 4 nov. 2015 12:12 PM, "Vladimir 'phcoder' Serbinenko" <phco...@gmail.com> > a écrit : >> >> >> Le 4 nov. 20

Re: [PATCH] arm64: Fix the bug in fdt module

2015-11-05 Thread Fu Wei
Hi Vladimir On 5 November 2015 at 17:45, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > Le 5 nov. 2015 9:51 AM, "Fu Wei" <fu@linaro.org> a écrit : >> >> Hi Vladimir >> >> Please correct me :-) >> Can I do this :

Re: [PATCH v3 2/4] arm64: Add xen_boot module file

2015-11-05 Thread Fu Wei
Hi Ian, On 3 November 2015 at 23:22, Ian Campbell <ian.campb...@citrix.com> wrote: > On Tue, 2015-11-03 at 22:57 +0800, Fu Wei wrote: >> Hi Vladimir, >> >> After discussing with Ian Campbell, Since we already can load all >> the necessary binaries for Xen boot o

Re: [PATCH] arm64: Fix the bug in fdt module

2015-11-05 Thread Fu Wei
Hi Vladimir, Thanks for your help, I will test it on arm and arm64, then make a new patch On 5 November 2015 at 22:53, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > Le 5 nov. 2015 2:39 PM, "Fu Wei" <fu@linaro.org> a écrit : >> >> Hi

Re: [PATCH] arm64: Fix the bug in fdt module

2015-11-05 Thread Fu Wei
Hi Vladimir, On 5 November 2015 at 18:00, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > Le 5 nov. 2015 10:48 AM, "Fu Wei" <fu@linaro.org> a écrit : >> >> Hi Vladimir >> >> On 5 November 2015 at 17:45, Vladimir 'phcoder' Ser

[PATCH] arm64: Fix the bug in fdt module

2015-11-03 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch goes with commit: 4d0cb755387d6f109b901386ed4d3d475df239fe arm64: Move FDT functions to separate module linux and xen_boot modules can't work without this patch. Signed-off-by: Fu Wei <fu@linaro.org> --- grub-core/Makefile.core.def

Re: [PATCH v3 1/4] arm64: Add and export some accessor functions for xen boot

2015-10-30 Thread Fu Wei
Hi Vladimir, Good idea! I can see your patch for it in master branch. Great thanks for your help, I will try this ASAP :-) On 29 October 2015 at 20:03, Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> wrote: > On 23.07.2015 07:16, fu@linaro.org wrote: >> F

Re: [PATCH v3 2/4] arm64: Add xen_boot module file

2015-10-30 Thread Fu Wei
07:16, fu@linaro.org wrote: >> From: Fu Wei <fu@linaro.org> >> >> grub-core/loader/arm64/xen_boot.c >> >> - This adds support for the Xen boot on ARM specification for arm64. >> - Introduce xen_hypervisor, xen_linux, xen_initrd and xen_x

Re: [PATCH v3 3/4] * util/grub.d/20_linux_xen.in: Add support of the XEN boot on aarch64

2015-10-30 Thread Fu Wei
"initrd", grub_cmd_initrd, 0, N_("Load initrd.")); cmd_module = grub_register_command ("module", grub_cmd_module, 0, N_("Load module.")); + cmd_module = grub_register_command

Re: [PATCH v3 0/4] arm64: Add Xen boot support (via fdt)

2015-10-29 Thread Fu Wei
itramfs > hasn't been properly loaded? > > > Thanks, > > Stefano > > > On Tue, 8 Sep 2015, Fu Wei wrote: >> Hi Vladimir, >> >> Do you have any suggestion on this patchset? >> Do I need to improve anything? >> >> Great thanks for your help. >&g

Re: [PATCH v3 0/4] arm64: Add Xen boot support (via fdt)

2015-10-28 Thread Fu Wei
+ initrd_ctx->size += ALIGN_UP (initrd_ctx->components[i].size, 4); > } > >if (newc) > > > Simply removing this change seems to fix the issue and Xen still boots > fine. -- Best regards, Fu Wei Software Engineer Red Hat S

Re: [PATCH v3 0/4] arm64: Add Xen boot support (via fdt)

2015-08-04 Thread Fu Wei
Hi Vladimir, this patchset follows all your comment of v2 patchset. Do you have any suggestion on this patchset? Great thanks for your help. On 23 July 2015 at 13:16, fu@linaro.org wrote: From: Fu Wei fu@linaro.org - This adds support for the Xen boot on ARM specification

[PATCH v3 2/4] arm64: Add xen_boot module file

2015-07-22 Thread fu . wei
From: Fu Wei fu@linaro.org grub-core/loader/arm64/xen_boot.c - This adds support for the Xen boot on ARM specification for arm64. - 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

[PATCH v3 0/4] arm64: Add Xen boot support (via fdt)

2015-07-22 Thread fu . wei
From: Fu Wei fu@linaro.org - 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

[PATCH v3 1/4] arm64: Add and export some accessor functions for xen boot

2015-07-22 Thread fu . wei
From: Fu Wei fu@linaro.org Add accessor functions of loaded flag in grub-core/loader/arm64/linux.c. Export accessor functions of loaded flag and grub_linux_get_fdt function in include/grub/arm64/linux.h. Purpose: Reuse the existing code of devicetree in linux module. Signed-off-by: Fu Wei

[PATCH v3 4/4] arm64: Add the introduction of xen boot commands in docs/grub.texi

2015-07-22 Thread fu . wei
From: Fu Wei fu@linaro.org xen_hypervisor xen_linux xen_initrd xen_xsm xen_module Signed-off-by: Fu Wei fu@linaro.org --- docs/grub.texi | 56 1 file changed, 56 insertions(+) diff --git a/docs/grub.texi b

[PATCH v3 3/4] * util/grub.d/20_linux_xen.in: Add support of the XEN boot on aarch64

2015-07-22 Thread fu . wei
From: Fu Wei fu@linaro.org This patch adds the support of boot command on aarch64 for XEN: xen_hypervisor xen_linux xen_initrd Signed-off-by: Fu Wei fu@linaro.org --- util/grub.d/20_linux_xen.in | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff

Re: [PATCH v2 2/3] util/grub.d/20_linux_xen.in: Add arm64 support

2015-07-14 Thread Fu Wei
supported by multiboot, IS supported by multiboot2. Please correct me. If I misunderstand your suggestion. :-) Thanks again! On 14 July 2015 at 11:53, Andrei Borzenkov arvidj...@gmail.com wrote: В Mon, 13 Jul 2015 16:53:59 +0800 fu@linaro.org пишет: From: Fu Wei fu@linaro.org

Re: [Xen-devel] [PATCH v2 0/3] arm64: Add multiboot support (via fdt) for Xen boot

2015-07-14 Thread Fu Wei
Hi Ian, Great thanks for your testing, will add your tested-by in my next patchset :-) On 14 July 2015 at 17:29, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-07-13 at 16:53 +0800, fu@linaro.org wrote: From: Fu Wei fu@linaro.org - This adds support for the Xen boot on ARM

[PATCH v2 1/3] arm64: Add Xen boot support file

2015-07-13 Thread fu . wei
From: Fu Wei fu@linaro.org This patch adds Xen boot support file: grub-core/loader/arm64/xen_boot.c include/grub/arm64/xen_boot.h This patch also adds commands register code and hearder file into grub-core/loader/arm64/linux.c - This adds support for the Xen boot on ARM specification

[PATCH v2 2/3] util/grub.d/20_linux_xen.in: Add arm64 support

2015-07-13 Thread fu . wei
From: Fu Wei fu@linaro.org This patch adds the support of boot command on arm64 for XEN: xen_hypervisor xen_module Signed-off-by: Fu Wei fu@linaro.org --- util/grub.d/20_linux_xen.in | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/util/grub.d

[PATCH v2 0/3] arm64: Add multiboot support (via fdt) for Xen boot

2015-07-13 Thread fu . wei
From: Fu Wei fu@linaro.org - This adds support for the Xen boot on ARM specification for arm64. - The implementation for Xen is following Multiboot on ARM Specification: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Multiboot and xen/docs/misc/arm/device-tree

  1   2   >