[U-Boot] Unified u-boot feature set for simpler distro support

Tom Rini trini at ti.com
Mon Aug 5 23:02:55 CEST 2013


On Mon, Aug 05, 2013 at 03:54:03PM -0500, Dennis Gilmore wrote:
> On Mon, 5 Aug 2013 16:25:45 -0400
> Tom Rini <trini at ti.com> wrote:
> 
> > On Mon, Aug 05, 2013 at 03:11:20PM -0500, Dennis Gilmore wrote:
> > > On Mon, 5 Aug 2013 15:01:32 -0400
> > > Tom Rini <trini at ti.com> wrote:
> > > 
> > > > On Sat, Aug 03, 2013 at 02:11:04AM -0500, Dennis Gilmore wrote:
> > [snip]
> > > > > bootz and raw initrd support. not having to wrap kernels and
> > > > > initrds really is a must. raw initrd support means that its
> > > > > much simpler for a user to rebuild an initramfs if needed and
> > > > > bootz means we do not need to worry about making sure that we
> > > > > specify the correct addresses to load the kernel to when
> > > > > calling mkimage.
> > > > 
> > > > bootz is fine, raw initrd is fine.  I would say that "updating the
> > > > initramfs" is done by the distro scripts anyhow and not by hand
> > > > from memory.
> > > for the most part yes, its built at rpm install time. sometimes a
> > > user decides to rebuild for different reasons. 
> > 
> > Right.  So, lets me ask.  In .deb-based land, I build my own kernels,
> > and yelling cursing and screaming at the pains of doing things by
> > hand, I use the 'deb-pkg' target in the kernel as that hooks into all
> > the right things and I stop having to ^R/^O my history to not break my
> > system (or look at my own script or whatever).  What's it like in
> > Fedora land, with initramfses?  Do users do make
> > bzImage/modules/install in the kernel or expect to use rpm-pkg to get
> > something that hooks in just right?
> 
> generally we expect users to just do a yum update and the new kernel is
> automatically installed and a new initramfs is made for the kernel.
> they would run dracut to make a new initramfs if for instance they hit
> a systemd bug and needed to get the newer systemd binaries into the
> initramfs or in the case of when we dir the usr move feature and
> moved /lib /bin and /sbin into /usr the user needed to rebuild the
> initramfs including the module to do the conversion process.

Still in this quite hypothetical situation, dracut would take care of
invoking mkimage, in a way that doesn't need SoC-specific magic whacked
into it.  Hypothetically, if we wanted to go down this path.

-- 
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/20130805/f322588e/attachment.pgp>


More information about the U-Boot mailing list