Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] Antw: Re: Why can't I see any effects by different rootfs compression methods ??
Date: Fri, 7 Feb 2014 08:14:30 -0600	[thread overview]
Message-ID: <20140207081430.72c3955e@core2quad.morethan.org> (raw)
In-Reply-To: <52F4A423.1060102@mind.be>

On Fri, 07 Feb 2014 10:15:15 +0100
Arnout Vandecappelle <arnout@mind.be> wrote:

>  An initrd/initramfs is normally passed by the bootloader to the
> kernel as part of the boot arguments. On your PC, for instance,
> you'll see in /boot:
> 
> initrd.img-3.12-1-amd64
> vmlinuz-3.12-1-amd64
> 
>  As an extra option, the kernel has the feature that you can link the
> initramfs directly into the kernel - which has the advantage that you
> only need to manage a single image instead of two.
>

Leaving the choice to the final implementor of the system can be
important.

Linking the initramfs (or older initrd format) into the kernel binary
makes its contents subject to the kernel's (viral) GPLv2.

Keeping the kernel and the file system as separate files stops the
viral spread of the GPL license from the kernel to the file system.

When the initial file system contains proprietary code, an important
point to keep in mind.

Another point arises in the case of the GPLv3 -
If the initial file system is statically linked into the kernel, it
becomes much more difficult to replace a GPLv3 binary in the file
system for the end user (or even for the vendor) without re-building
the kernel.

- - - -

Two everyday common instances:

Google Android: Their "bootloader image" (their terms) carries the
kernel and the initial file system as two binary images.

Amazon Kindle (the e-ink models): Their u-boot loaded kernel image
has the initial file system statically linked with the kernel.
(and contains what Amazon considers proprietary code, which they
do not release, but that is off-topic here).

Mike

      reply	other threads:[~2014-02-07 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  9:19 [Buildroot] Why can't I see any effects by different rootfs compression methods ?? Frank Ihle
2014-02-06 17:11 ` Arnout Vandecappelle
2014-02-07  7:14   ` [Buildroot] Antw: " Frank Ihle
2014-02-07  9:15     ` Arnout Vandecappelle
2014-02-07 14:14       ` Mike Zick [this message]

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=20140207081430.72c3955e@core2quad.morethan.org \
    --to=minimod@morethan.org \
    --cc=buildroot@busybox.net \
    /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