devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: Ian Campbell
	<Ian.Campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"boot-architecture-cunTk1MwBs8s++Sfvej+rw@public.gmane.org"
	<boot-architecture-cunTk1MwBs8s++Sfvej+rw@public.gmane.org>,
	Dennis Gilmore <dennis-OMEdqnBlyiw@public.gmane.org>,
	Julien Grall
	<julien.grall-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Andre Przywara
	<andre.przywara-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, 13 Sep 2013 20:40:54 -0500	[thread overview]
Message-ID: <CAL_JsqKnNHywcR21XhrjFyGs1DjZnbAFybraRKmxNmELLH-qPA@mail.gmail.com> (raw)
In-Reply-To: <CACxGe6sOyNNEATsnRdu9=_nPE1q6V4MDaDKvk4QvJiSgq6jXmg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Fri, Sep 13, 2013 at 5:13 AM, Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> wrote:
> On Wed, Sep 4, 2013 at 5:41 PM, Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>> For u-boot Andre has proposed some syntactic sugar over the "fdt"
>>> command to make boot.scr more trivial to use. We would of course need to
>>> implement support for using it in the relevant distro tools (but they
>>> tend to be very distro/machine specific already, e.g. Debian's
>>> flash-kernel)
>>
>> And being machine specific is a PITA. flash-kernel is certainly not
>> something we want to expand on. There is not much love for boot.scr
>> either. There is work to address what are not really machine
>> differences, but largely vendor u-boot differences:
>>
>> http://www.mail-archive.com/u-boot-0aAXYlwwYIKGBzrmiIFOJg@public.gmane.org/msg119025.html
>>
>> One option for u-boot which already supports syslinux style menu files
>> is to adopt the syslinux multiboot parsing support:
>>
>> http://www.syslinux.org/wiki/index.php/Doc/mboot
>
> Even building it into U-Boot is problematic because it leaves older
> machines out in the cold. Leif's port of Grub to U-Boot is far more
> interesting since the distro can now be in control of the code that
> loads the images and jumps into the kernel/hypervisor.

Considering there is no distro support for grub on ARM yet, it may be
more interesting in the long run, but it is not for the short term. So
there needs to be something that is supportable on both u-boot and
grub (or any other bootloader).

>
>> We need to back-up and consider what this looks like in the end for
>> all the pieces and get input from folks on grub, UEFI, and armv8. The
>> UEFI answer may be this is a grub problem. For armv8, this proposal
>> does match up well as the kernel boot interface for v8 is DT. Despite
>> some claims, ACPI will not completely replace DT because of this.
>
> Yes, for UEFI it is absolutely an OS loader problem. UEFI provides an
> API and runtime environment. Grub is in general moving towards a boot
> menu system and a tool for loading images. Actual booting however
> should be done by a separate OS loader application. For Linux, this
> will be an in-kernel UEFI Stub. For Xen I would recommend taking the
> Linux EFI stub code and doing the same thing. There really isn't a
> need for a multiboot spec when you can rely on a runtime execution
> environment for setting things up exactly as you want them.

You've lost me as well. How do you see the flow working with UEFI for
a user running bare metal OS, installing Xen, and rebooting running
Xen.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-09-14  1:40 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
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 [this message]
     [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=CAL_JsqKnNHywcR21XhrjFyGs1DjZnbAFybraRKmxNmELLH-qPA@mail.gmail.com \
    --to=robherring2-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=Ian.Campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org \
    --cc=andre.przywara-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=boot-architecture-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
    --cc=dennis-OMEdqnBlyiw@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
    --cc=julien.grall-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@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).