From: Julien Grall <julien.grall@linaro.org>
To: Roy Franz <roy.franz@linaro.org>,
xen-devel@lists.xen.org, ian.campbell@citrix.com,
stefano.stabellini@citrix.com, tim@xen.org, jbeulich@suse.com,
keir@xen.org
Cc: linaro-uefi@lists.linaro.org
Subject: Re: [Linaro-uefi] [PATCH RFC 00/19] arm64 EFI stub
Date: Sun, 29 Jun 2014 17:42:06 +0100 [thread overview]
Message-ID: <53B041DE.1070704@linaro.org> (raw)
In-Reply-To: <1403918735-30027-1-git-send-email-roy.franz@linaro.org>
Hi Roy,
Thank you for this series. I haven't look closely to this series but
I've tried to compile it for arm32 and it's fails.
It looks like the EFI stub is also included for arm32, which you don't
plan to support right?
I would use your CONFIG_EFI_STUB you've hardcoded in arm64/head.s to
know if we need to include the EFI stub or not in the compilation.
On 28/06/14 02:25, Roy Franz wrote:
> There are a few open issues in this patch series that I would appreciate
> feedback/suggestions on:
>
> 1) Build system changes. The 'efi-shared.c' file should be properly
> shared, rather than symbolicly linked. One complication is that the EFI
> code (for both archs) needs to be compiled with "-fshort-wchar". I also
> likely need to create an efi subdir for arm64.
I would create a directly xen/drivers/efi so you can move efi code in there.
Hence, you will be able to use -fshort-wchar only for this directory.
> 2) Is it valid to start XEN with a device tree that only contains
> multi-boot and EFI info? (As would be the case if the stub doesn't get a
> device tree as input.) Currently this isn't supported, some libfdt
> functions are missing, so I'm checking if this is desired before I add
> that.
>
> 3) I'm not sure arm64 needs it's own copy of efibind.h. The x86_64
> version worked fine as is, but has some Microsoft related defines in
> there. The arm64 version I created is a proper subset with the exception
> of the EFI_STUB_ERROR define.
Maybe you can create a new header in include/efi and use asm/efi.h for
architectural bindings.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2014-06-29 16:42 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-28 1:25 [PATCH RFC 00/19] arm64 EFI stub Roy Franz
2014-06-28 1:25 ` [PATCH RFC 01/19] HACK: Add -fshort-wchar to global build Roy Franz
2014-06-30 11:13 ` Jan Beulich
2014-06-28 1:25 ` [PATCH RFC 02/19] Create efi-shared.[ch], and move string functions Roy Franz
2014-06-30 11:15 ` Jan Beulich
2014-07-02 11:49 ` Ian Campbell
2014-07-02 11:55 ` Ian Campbell
2014-07-09 18:31 ` Roy Franz
2014-06-28 1:25 ` [PATCH RFC 03/19] Move more functions from boot.c to efi-shared.c Roy Franz
2014-06-28 1:25 ` [PATCH RFC 04/19] rename printErrMsg to PrintErrMesgExit Roy Franz
2014-06-28 1:25 ` [PATCH RFC 05/19] Add PrintErrMesg function that doesn't exit Roy Franz
2014-06-28 1:25 ` [PATCH RFC 06/19] Refactor read_file() so it can be shared Roy Franz
2014-06-28 1:25 ` [PATCH RFC 07/19] move read_file() to efi-shared.c Roy Franz
2014-06-28 1:25 ` [PATCH RFC 08/19] Move removal of leading spaces from split_value to get_value() Roy Franz
2014-06-28 1:25 ` [PATCH RFC 09/19] replace split_value() with truncate_string() Roy Franz
2014-06-28 1:25 ` [PATCH RFC 10/19] move truncate_string() to efi-shared.c Roy Franz
2014-06-28 1:25 ` [PATCH RFC 11/19] add read_config_file() function for XEN EFI config file Roy Franz
2014-06-28 1:25 ` [PATCH RFC 12/19] create handle_cmdline() function Roy Franz
2014-06-28 1:25 ` [PATCH RFC 13/19] Refactor get_argv() for sharing Roy Franz
2014-06-28 1:25 ` [PATCH RFC 14/19] Move get_argv() and handle_cmdline() to efi-shared.c Roy Franz
2014-06-28 1:25 ` [PATCH RFC 15/19] Add PE/COFF header in head.S Roy Franz
2014-07-02 12:02 ` Ian Campbell
2014-07-09 18:35 ` Roy Franz
2014-06-28 1:25 ` [PATCH RFC 16/19] create ARM EFI headers, based on x86 Roy Franz
2014-06-28 1:25 ` [PATCH RFC 17/19] Remove x86 specific defintions from efibind.h Roy Franz
2014-07-02 12:03 ` Ian Campbell
2014-07-09 18:27 ` Roy Franz
2014-07-10 7:59 ` Ian Campbell
2014-06-28 1:25 ` [PATCH RFC 18/19] Add assembler use support for efibind.h Roy Franz
2014-06-28 1:25 ` [PATCH RFC 19/19] Add EFI stub for ARM64 Roy Franz
2014-07-02 12:34 ` Ian Campbell
2014-07-09 19:15 ` Roy Franz
2014-07-10 8:13 ` Ian Campbell
2014-07-10 9:21 ` [Linaro-uefi] " Julien Grall
2014-07-10 9:33 ` Ian Campbell
2014-06-28 15:34 ` [PATCH RFC 00/19] arm64 EFI stub Roy Franz
2014-06-29 16:42 ` Julien Grall [this message]
2014-06-30 11:12 ` Jan Beulich
2014-07-02 11:52 ` Ian Campbell
2014-07-02 12:31 ` Ian Campbell
2014-07-09 18:24 ` Roy Franz
2014-07-10 7:58 ` Ian Campbell
2014-07-10 17:33 ` Roy Franz
2014-07-11 8:57 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53B041DE.1070704@linaro.org \
--to=julien.grall@linaro.org \
--cc=ian.campbell@citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=linaro-uefi@lists.linaro.org \
--cc=roy.franz@linaro.org \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.