From: Tom Rini Date: Mon, 12 Aug 2013 09:56:50 -0400 Subject: [U-Boot] Unified u-boot feature set for simpler distro support In-Reply-To: <20130810160708.5a5eb207@adria.ausil.us> References: <20130803021104.1fecaf5a@adria.ausil.us> <52056B16.7050102@wwwdotorg.org> <20130809224928.231FD380E1C@gemini.denx.de> <5205748D.7060308@wwwdotorg.org> <5205C2FC.2060007@wwwdotorg.org> <20130810160708.5a5eb207@adria.ausil.us> Message-ID: <20130812135650.GE5164@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Aug 10, 2013 at 04:07:08PM -0500, Dennis Gilmore wrote: > On Fri, 09 Aug 2013 22:35:08 -0600 > Stephen Warren 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: