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 于2021年8月

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
> 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 > Signed-off-by: Konrad Rze

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

2017-05-15 Thread Fu Wei
Hi Daniel, On 15 May 2017 at 21:46, Daniel Kiper wrote: > Hi Julien, > > On Mon, May 15, 2017 at 02:43:28PM +0100, Julien Grall wrote: >> Hi Daniel, >> >> On 15/05/17 14:38, Daniel Kiper wrote: >> >On Sun, May 14, 2017 at 03:43:44PM +0800, fu....

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 wrote: > Hi Vladimir, > > On 11 May 2017 at 06:01, Vladimir 'phcoder' Serbinenko > wrote: >> >> >> On Tue, May 9, 2017, 11:02 Fu Wei wrote: >>> >>> Hi Vladimir >>> &

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

2017-05-14 Thread fu . wei
From: Fu Wei 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(like Linux kernel for Dom0). Sig

[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 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 architectures, they are still using

[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 delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Also bases on

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

2017-05-14 Thread fu . wei
From: Fu Wei 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 redundant "#include " in

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 wrote: > > > On Tue, May 9, 2017, 11:02 Fu Wei wrote: >> >> Hi Vladimir >> >> On 9 May 2017 at 14:59, Vladimir 'phcoder' Serbinenko >> wrote: >> > >>

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 wrote: > Hi Vladimir > > On 9 May 2017 at 14:59, Vladimir 'phcoder' Serbinenko > wrote: >> >> >> Le Tue, May 2, 2017 à 9:06 AM, a écrit : >>> >>> From: Fu Wei >>&

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 wrote: > > > Le Tue, May 2, 2017 à 9:06 AM, a écrit : >> >> From: Fu Wei >> >> This patch adds the support of xen_boot command for aarch64: >> xen_hypervisor >>

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 wrote: > > > Le Tue, May 2, 2017 à 9:06 AM, a écrit : >> >> From: Fu Wei >> >> This patch adds "--nounzip" option support in order to >> be compatible with the module

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 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 2017 at 04:53, Stefano Stabellini

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 wrote: > On 05/05/17 09:57, Fu Wei wrote: >> Hi Stefano, >> >> On 4 May 2017 at 04:53, Stefano Stabellini wrote: >>> On Wed, 3 May 2017, Andrew Cooper wrote: >>>> On 02/05/17 08:06, fu@linaro.org w

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 wrote: > On Wed, 3 May 2017, Andrew Cooper wrote: >> On 02/05/17 08:06, fu@linaro.org wrote: >> > From: Fu Wei >> > >> > This patch adds the support of xen_boot command for aarch64: >> >

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 wrote: > Hey, > > On Tue, May 02, 2017 at 03:06:24PM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> This patchset add xen_boot support into grup-mkconfig for >> generating xen boot entrances automat

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, wrote: > From: Fu Wei > > This patchset add xen_boot support into grup-mkconfig for ^ grub2-mkconfig Also in the subject. > generating xen boot entrances automatically >

[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 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 architectures, they are still using

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

2017-05-02 Thread fu . wei
From: Fu Wei 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(like Linux kernel "vml

[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 delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Also bases on

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

2017-05-02 Thread fu . wei
From: Fu Wei 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) which is wrong

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

2016-07-26 Thread fu . wei
From: Fu Wei 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 --- grub-core/loader/arm64/xen_boot.c | 17 + 1 file changed, 17 insertions(+)

[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 delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Also bases on

[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 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 --- grub-core/normal/main.c | 2 +- util/grub.d/20_linux_xen.in | 13 ++

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

2016-07-26 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- 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/xen.c +++ b/grub-core/loader/i386/xen.c @@ -689,6

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

2016-07-26 Thread fu . wei
From: Fu Wei 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/archive/html/grub-devel/2016-02

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 wrote: > Hi Julien, > > On 20 February 2016 at 00:28, Julien Grall wrote: >> Xen is currently crashing because of malformed compatible property for >> the boot module. This is because the property string is not >> null-ter

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 wrote: > Hi Fu Wei, > > > On 06/07/16 18:53, fu@linaro.org wrote: >> >> From: Fu Wei >> >> This patch adds the support of xen_boot command: >> xen_hypervisor >> xen_module >>

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 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 just now. Thanks for

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

2016-07-06 Thread fu . wei
From: Fu Wei 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/archive/html/grub-devel/2016-02

[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 delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Also bases on

[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 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 --- grub-core/normal/main.c | 2 +- util/grub.d/20_linux_xen.in | 13 ++

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

2016-07-06 Thread fu . wei
From: Fu Wei 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 --- grub-core/loader/arm64/xen_boot.c | 17 + 1 file changed, 17 insertions(+)

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

2016-07-06 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- 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/xen.c +++ b/grub-core/loader/i386/xen.c @@ -689,6

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 wrote: > Hi Fu Wei, > > (CC Stefano) > > > On 10/05/16 15:03, fu@linaro.org wrote: >> >> From: Fu Wei >> >> delete: xen_linux, xen_initrd, xen_xsm >> add: xen_

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

2016-05-10 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- 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/xen.c +++ b/grub-core/loader/i386/xen.c @@ -689,6

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

2016-05-10 Thread fu . wei
From: Fu Wei 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 --- grub-core/loader/arm64/xen_boot.c | 17 + 1 file changed, 17 insertions(+)

[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 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 --- grub-core/normal/main.c | 2 +- util/grub.d/20_linux_xen.in | 13 ++

[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 delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Also bases on

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

2016-05-10 Thread fu . wei
From: Fu Wei 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/archive/html/grub-devel/2016-02

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 wrote: > Hi all, > > On 9 March 2016 at 16:22, Fu Wei wrote: >> Hi Julien, >> >> On 9 March 2016 at 15:10, Julien Grall wrote: >>> Hi, >>> >>> On 08/03/2016 23:37, Fu Wei wrote: >>>&g

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

2016-03-30 Thread Fu Wei
t_fdt, module_node, "compatible", >> - 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 u

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 wrote: > Hi Julien, > > On 9 March 2016 at 15:10, Julien Grall wrote: >> Hi, >> >> On 08/03/2016 23:37, Fu Wei wrote: >>> >>> On 8 March 2016 at 14:54, Andrei Borzenkov wrote: >>> So speaking of load

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 wrote: > Hi, > > On 08/03/2016 23:37, Fu Wei wrote: >> >> On 8 March 2016 at 14:54, Andrei Borzenkov wrote: >> So speaking of loading additional modules/lack of initrd on ARM, I thinks >> that >> will (o

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 wrote: > 07.03.2016 11:22, Fu Wei пишет: >> Hi Andrei, >> >> On 28 February 2016 at 00:44, Fu Wei wrote: >>> Hi Andrei >>> >>> On 28 February 2016 at 01:26, Andrei Borzenkov wrote: >>&g

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 wrote: > Hi Andrei > > On 28 February 2016 at 01:26, Andrei Borzenkov wrote: >> 26.02.2016 14:13, fu@linaro.org пишет: >>> From: Fu Wei >>> >>> delete: xen_linux, xen_initrd, xen_xsm >&g

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 wrote: > 26.02.2016 14:13, fu@linaro.org пишет: >> From: Fu Wei >> >> delete: xen_linux, xen_initrd, xen_xsm >> add: xen_module >> >> This update bases on >> commit 0edd750e50698854068

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 wrote: > On 26.02.2016 12:15, Fu Wei wrote: >> Hi Andrei, >> >> On 26 February 2016 at 18:50, Andrei Borzenkov wrote: >>> On Fri, Feb 26, 2016 at 8:59 AM, Fu Wei wrote: >>>>&g

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 wrote: > On Fri, Feb 26, 2016 at 8:59 AM, Fu Wei wrote: >>>>>> +@subsection xen_module >>>>>> >>>>>> -@deffn Command xen_linux file [arguments] >>>>>> -Load a

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

2016-02-26 Thread fu . wei
From: Fu Wei 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 --- grub-core/loader/arm64/xen_boot.c | 17 + 1 file changed, 17 insertions(+)

[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 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 --- grub-core/normal/main.c | 2 +- util/grub.d/20_linux_xen.in | 13 ++

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

2016-02-26 Thread fu . wei
From: Fu Wei 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/archive/html/grub-devel/2016-02

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

2016-02-26 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- 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/xen.c +++ b/grub-core/loader/i386/xen.c @@ -689,6

[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 delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Signed-off-by

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 wrote: > > > Отправлено с iPhone > >> 26 февр. 2016 г., в 7:48, Fu Wei написал(а): >> >> Hi Andrei >> >>> On 26 February 2016 at 01:34, Andrei Borzenkov wrote: >>> 25.02.

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 12:48, Fu Wei wrote: > Hi Andrei > > On 26 February 2016 at 01:34, Andrei Borzenkov wrote: >> 25.02.2016 09:39, fu@linaro.org пишет: >>> From: Fu Wei >>> >>> delete: xen_linux, xen_initrd, xen_xsm >&g

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

2016-02-25 Thread Fu Wei
Hi Doug, On 26 February 2016 at 06:26, Doug Goldstein wrote: > On 2/25/16 12:39 AM, fu@linaro.org wrote: >> From: Fu Wei >> -@deffn Command xen_linux file [arguments] >> -Load a dom0 kernel image for xen hypervisor at the booting process of xen. >> +@deffn Co

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 wrote: > 25.02.2016 09:39, fu@linaro.org пишет: >> From: Fu Wei >> >> delete: xen_linux, xen_initrd, xen_xsm >> add: xen_module >> >> This update bases on >> commit 0edd750e50698854068

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 wrote: > 24.02.2016 21:01, fu@linaro.org пишет: >> From: Fu Wei >> >> Signed-off-by: Fu Wei >> --- >> grub-core/loader/arm64/xen_boot.c | 8 >> 1 file changed, 8 insertions(+) &g

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

2016-02-24 Thread fu . wei
From: Fu Wei 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/archive/html/grub-devel/2016-02

[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 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 --- grub-core/normal/main.c | 2 +- util/grub.d/20_linux_xen.in | 13 ++

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

2016-02-24 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- 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/xen.c +++ b/grub-core/loader/i386/xen.c @@ -689,6

[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 delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Signed-off-by

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

2016-02-24 Thread fu . wei
From: Fu Wei 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 --- grub-core/loader/arm64/xen_boot.c | 17 + 1 file changed, 17 insertions(+)

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

2016-02-24 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- 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/xen.c +++ b/grub-core/loader/i386/xen.c @@ -689,6

[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 Signed-off-by: Fu Wei --- 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-core/loader/arm64/xen_boot.c +++ b/grub-core

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

2016-02-24 Thread fu . wei
From: Fu Wei 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.in: Add support of the

[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 This patch adds the support of xen_boot command: xen_hypervisor xen_module Signed-off-by: Fu Wei --- util/grub.d/20_linux_xen.in | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/util/grub.d/20_linux_xen.in b/util/grub.d

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 wrote: > On Mon, 2016-02-22 at 17:29 +0800, Fu Wei wrote: >> Hi Julien, >> >> On 20 February 2016 at 00:28, Julien Grall >> wrote: >> > Xen is currently crashing because of malformed compatible property for &

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

2016-02-22 Thread Fu Wei
>> I was expecting this 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 shou

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"); > > -- > 1.9.1 I h

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 wrote: > While on it also change "xen_linux" to "xen_kernel" to be vendor-neutral > Could someone test please? I only compile-tested it -- Best regard

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

2015-11-09 Thread fu . wei
From: Fu Wei 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 --- grub-core/loader/arm64/xen_boot.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a

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

2015-11-09 Thread fu . wei
From: Fu Wei xen_hypervisor xen_linux xen_initrd xen_xsm Signed-off-by: Fu Wei --- docs/grub.texi | 38 ++ 1 file changed, 38 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi index db765a3..1df3db2 100644 --- a/docs/grub.texi

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 wrote: > Hi Vladimir, > Since you have merged a patch for Makefile problem, we just need to >

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 wrote: > Hi Vladimir, > > Thanks for your help, I will test it on arm and arm64,

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

2015-11-09 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- 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/fdt.c +++ b/grub-core/loader/arm64/fdt.c @@ -25,6

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 wrote: > > Le 5 nov. 2015 2:39 PM, "Fu Wei" a écrit : >> >> Hi Vladimir, >> >> > >>

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 wrote: > > Le 5 nov. 2015 10:48 AM, "Fu Wei" a écrit : >> >> Hi Vladimir >> >> On 5 November 2015 at 17:45, Vladimir 'phcoder' Serbinenko >> wrote: &g

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 wrote: > > Le 5 nov. 2015 9:51 AM, "Fu Wei" a écrit : >> >> Hi Vladimir >> >> Please correct me :-) >> Can I do this : >> >> diff --git a/grub-core/Makef

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 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 on arm64 for now, we don&#

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 wrote: > > Le 4 nov. 2015 12:12 PM, "Vladimir 'phcoder' Serbinenko" > a écrit : >> >> >> Le 4 nov. 2015 12:09 PM, "Fu Wei" a

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

2015-11-03 Thread Fu Wei
o I will submit a "xen_module" command patch soon, in case we need it. Great thanks ! :-) On 30 October 2015 at 16:08, Fu Wei wrote: > Hi Vladimir, > > yes, Thanks for your modification :-) > > I just follow the xen boot protocol : > http://wiki.xen.org/wiki/Xen_A

[PATCH] arm64: Fix the bug in fdt module

2015-11-03 Thread fu . wei
From: Fu Wei 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 --- grub-core/Makefile.core.def | 1 + grub-core/loader/arm64/fdt.c | 5 +++

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 ("xen_li

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

2015-10-30 Thread Fu Wei
or 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. >> >> Signed-off-by

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 wrote: > On 23.07.2015 07:16, fu@linaro.org wrote: >> From: Fu Wei >> >

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

2015-10-28 Thread Fu Wei
Cannot open root device", even though the grub config is > still same as before and the rootfs (which is xfs) hasn't changed. > Reverting the patches solved the problem. > > Do you have any ideas on what is causing the issue? Maybe the initramfs > hasn't been prope

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

2015-10-28 Thread Fu Wei
argc, char *argv[], >initrd_ctx->nfiles++; >initrd_ctx->components[i].size > = grub_file_size (initrd_ctx->components[i].file); > - initrd_ctx->size += ALIGN_UP (initrd_ctx->components[i].size, 4); > + if (argc != 1) > + ini

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

2015-09-07 Thread Fu Wei
Hi Vladimir, Do you have any suggestion on this patchset? Do I need to improve anything? Great thanks for your help. On 4 August 2015 at 16:34, Fu Wei wrote: > Hi Vladimir, > > this patchset follows all your comment of v2 patchset. > Do you have any suggestion on this patchse

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, wrote: > From: Fu Wei > > - This adds support for the Xen boot on ARM specification for arm64. > > - Add

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

2015-07-23 Thread Fu Wei
rote: >> From: Fu Wei >> >> 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 >>

[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 xen_hypervisor xen_linux xen_initrd xen_xsm xen_module Signed-off-by: Fu Wei --- docs/grub.texi | 56 1 file changed, 56 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi index b9f41a7..e94b03c

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

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

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

2015-07-22 Thread fu . wei
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_

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

2015-07-22 Thread fu . wei
From: Fu Wei 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 module for xen

  1   2   >