From: Andre Przywara <andre.przywara-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
boot-architecture-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
Ian Campbell
<Ian.Campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>,
Julien Grall
<julien.grall-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
"xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org"
<xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org>,
"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PROPOSAL] ARM/FDT: passing multiple binaries to a kernel
Date: Fri, 06 Sep 2013 15:30:47 +0200 [thread overview]
Message-ID: <5229D907.7060902@linaro.org> (raw)
In-Reply-To: <CAL_JsqKfcudKiTOr-MrHsq6NidG-5t5S0t08ELTSpOuc2LF4RQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 09/05/2013 03:23 PM, Rob Herring wrote:
> On Wed, Sep 4, 2013 at 3:43 AM, Andre Przywara
> <andre.przywara-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
>> On 09/04/2013 12:00 AM, Rob Herring wrote:
>>>
>>> On Tue, Sep 3, 2013 at 10:53 AM, Andre Przywara
>
>>> But surely there would be some advantage of reuse by using the
>>> multi-boot protocol since Xen, grub, and OS tools already support it
>>> for x86.
>>
>>
>> Yes, but that is x86 only and multiboot is it's nature quite architecture
>> specific. The current(?) multiboot v2 spec has no official ARM support (only
>> x86 and MIPS), so this would need to be "invented" first. While this is
>> technically easy, ARM software currently has no support for multiboot at
>> all: not in u-boot and not in Xen.
>> Multiboot support in Xen lives entirely in the x86 directory, and big parts
>> of it are even in assembly.
>
> If so, I cannot find the assembly and most of it seems to be moved out
> of x86 code now.
There is some code that relocates and maps the multiboot structure: in
files in the xen/arch/x86/boot directory, including head.S, reloc.c and
setup.c.
That would need to be completely rewritten, not only because it deals
with multiboot v1, but also because it is scattered throughout the x86
setup code and the initial page setup is different from ARM.
All these things are also done on ARM - but for the device tree already.
Of course proper multiboot v2 support is doable - but please compare the
effort needed for this against this one:
http://lists.xen.org/archives/html/xen-devel/2013-09/msg00359.html
Regards,
Andre.
next prev parent reply other threads:[~2013-09-06 13:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 15:53 [PROPOSAL] ARM/FDT: passing multiple binaries to a kernel Andre Przywara
[not found] ` <52260608.2030202-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-09-03 22:00 ` Rob Herring
[not found] ` <CAL_JsqK9PjpScRO8561PhcyKkxhuL4pgMTCh2-UG_ubybJTcCw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-04 8:43 ` Andre Przywara
2013-09-04 8:55 ` Ian Campbell
[not found] ` <1378284955.17510.64.camel-ommiHX4a84BXesXXhkcM7miJhflN2719@public.gmane.org>
2013-09-04 9:14 ` Andre Przywara
[not found] ` <5226F2B3.10606-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-09-05 13:23 ` Rob Herring
[not found] ` <CAL_JsqKfcudKiTOr-MrHsq6NidG-5t5S0t08ELTSpOuc2LF4RQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-06 13:30 ` Andre Przywara [this message]
2013-09-04 8:44 ` Ian Campbell
[not found] ` <1378284256.17510.60.camel-ommiHX4a84BXesXXhkcM7miJhflN2719@public.gmane.org>
2013-09-04 16:41 ` Rob Herring
[not found] ` <CAL_Jsq+82xfNCD3LmNE6VD1mp4Vzbm-hPPaMjwg9+ab3moXP_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-13 10:13 ` Grant Likely
[not found] ` <CACxGe6sOyNNEATsnRdu9=_nPE1q6V4MDaDKvk4QvJiSgq6jXmg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-13 11:22 ` Ian Campbell
[not found] ` <1379071333.19256.36.camel-ommiHX4a84BXesXXhkcM7miJhflN2719@public.gmane.org>
2013-09-15 12:17 ` Grant Likely
2013-09-14 1:40 ` Rob Herring
[not found] ` <CAL_JsqKnNHywcR21XhrjFyGs1DjZnbAFybraRKmxNmELLH-qPA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-15 12:23 ` Grant Likely
2013-09-14 4:06 ` Dennis Gilmore
2013-09-15 12:37 ` Grant Likely
[not found] ` <20130915123744.48AD1C42C2D-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-09-16 17:01 ` Andre Przywara
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=5229D907.7060902@linaro.org \
--to=andre.przywara-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=Ian.Campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org \
--cc=boot-architecture-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=julien.grall-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).