[Buildroot] [PATCH 2/5] package/rpi-firmware: add option to install firmware files in target/boot/

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Nov 29 08:27:15 UTC 2013


Dear Jeremy Rosen,

On Fri, 29 Nov 2013 09:00:19 +0100 (CET), Jeremy Rosen wrote:

> Basically, you build the root filesystem the way it will look when all
> sub-filesystems are mounted, you describe how they are mounted and 
> the system builds the partitions accordingly.

I don't necessarily agree here, because this strategy makes the
confusion between two things:

 * The contents of the /boot directory in the root filesystem.

 * The contents of the boot partition needed for some platforms (OMAP,
   RPi, UEFI-based x86 platforms, etc.)

Those are two different things, and Yann's proposal merges them. As an
example, provided your bootloader has ext3 support and you're on an
OMAP platform, you may want to have something like:

 * The /boot directory in the root filesystem contains the kernel image
   (uImage, zImage)

 * The boot partition contains just the bootloader images (MLO,
   u-boot.img).

There is no point to have the kernel image in the boot partition, and
there is no point in having the bootloader images in the /boot
directory of the root filesystem.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list