public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Unified u-boot feature set for simpler distro support
Date: Mon, 12 Aug 2013 09:56:50 -0400	[thread overview]
Message-ID: <20130812135650.GE5164@bill-the-cat> (raw)
In-Reply-To: <20130810160708.5a5eb207@adria.ausil.us>

On Sat, Aug 10, 2013 at 04:07:08PM -0500, Dennis Gilmore wrote:
> On Fri, 09 Aug 2013 22:35:08 -0600
> Stephen Warren <swarren@wwwdotorg.org> wrote:
> 
> > On 08/09/2013 05:00 PM, Stephen Warren wrote:
> > > On 08/09/2013 04:49 PM, Wolfgang Denk wrote:
> > >> Dear Stephen Warren,
> > >>
> > >> In message <52056B16.7050102@wwwdotorg.org> you wrote:
> > >>>
> > >>> There's also the possibility of chain-loading e.g. Grub from
> > >>> U-Boot, which I think would satisfy at least some of your
> > >>> desires, although there would still be a need for U-Boot's
> > >>> bootcmd to know to modified to be able to load Grub, and also
> > >>> enable e.g. CONFIG_API, so still needs some U-Boot work.
> > >>
> > >> It appears boot time and increased complexity are no concern to
> > >> you?
> > > 
> > > I don't think this is any different than a BIOS booting grub on x86.
> > 
> > I suppose one way of addressing this might be for U-Boot to support
> > grub.cfg; either by integrating some code from the Grub project or a
> > re-implementation.
> > 
> > This ends up pretty similar to Dennis' original suggestion, but with
> > the advantage that that config file format is something already widely
> > generated by distros.
> 
> the extlinux.conf file is common and widely used, but just with
> syslinux and booting optical media.

This is why I'm suggesting that on the U-Boot side, we provide:
1) consistent variable names
2) Iterate over and load a file that the distro provides (and in the
process, ensure a few other consistent variables are named)

This means that whatever close-to-everything-else thing the distro uses
can be used again, be it GRUB2 or PXE/SYSLINUX or however-gummiboot
looks or whatever.  Distros aren't, and don't have to, agree on
one-bootloader-for-everyone so we can't provide one or the other or
both, because even if we provide both, we once again fall down when the
next next new thing comes out.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130812/537a83e9/attachment.pgp>

  reply	other threads:[~2013-08-12 13:56 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-03  7:11 [U-Boot] Unified u-boot feature set for simpler distro support Dennis Gilmore
2013-08-03 10:08 ` Peter Maydell
2013-08-05 16:25   ` Tom Rini
2013-08-04 19:48 ` Wolfgang Denk
2013-08-04 23:02   ` Dennis Gilmore
2013-08-05 18:39 ` Stephen Warren
2013-08-05 18:48   ` Stephen Warren
2013-08-05 20:26     ` Dennis Gilmore
2013-08-05 20:54       ` Stephen Warren
2013-08-05 19:50   ` Dennis Gilmore
2013-08-05 20:14     ` Tom Rini
2013-08-05 20:21     ` Stephen Warren
2013-08-05 20:43     ` Wolfgang Denk
2013-08-05 20:49       ` Stephen Warren
2013-08-05 21:00         ` Tom Rini
2013-08-05 21:09           ` Stephen Warren
2013-08-05 21:20             ` Tom Rini
2013-08-05 21:08       ` Dennis Gilmore
2013-08-05 22:06         ` Stephen Warren
2013-08-06 11:34           ` Wolfgang Denk
2013-08-05 19:01 ` Tom Rini
2013-08-05 20:11   ` Dennis Gilmore
2013-08-05 20:25     ` Tom Rini
2013-08-05 20:54       ` Dennis Gilmore
2013-08-05 21:02         ` Tom Rini
2013-08-05 20:45     ` Stephen Warren
2013-08-08 18:48 ` Dirk Müller
2013-08-08 20:01   ` Stephen Warren
2013-08-08 20:37     ` Tom Rini
2013-08-13 12:23     ` Dirk Müller
2013-08-10 21:02   ` Dennis Gilmore
2013-08-09 22:20 ` Stephen Warren
2013-08-09 22:49   ` Wolfgang Denk
2013-08-09 23:00     ` Stephen Warren
2013-08-10  4:35       ` Stephen Warren
2013-08-10 21:07         ` Dennis Gilmore
2013-08-12 13:56           ` Tom Rini [this message]
2013-08-10 10:11       ` Wolfgang Denk
2013-08-10 14:29         ` Adam Conrad
2013-08-10 21:05   ` Dennis Gilmore
2013-08-13 13:42 ` Tom Rini

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=20130812135650.GE5164@bill-the-cat \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /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