[Buildroot] [RFC] How to handle targets that need more than one file system to boot?

Peter Korsgaard jacmet at uclibc.org
Thu Jan 3 10:30:02 UTC 2013


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

Hi,

 Yann> The reason for wanting to include such a feature in Buildroot is to
 Yann> keep Buildroot ximple to use for the *end-user*, not necessarily for
 Yann> the Buildroot developpers. A little bit of complexity in the Buildroot
 Yann> Makefiles and script is OK if it makes for an smoother user experience.

 Yann> And if you have those files in images/ :
 Yann>   - images/boot-vfat.img
 Yann>   - images/root-squahfs.img
 Yann>   - images/home-ext2.img

 Yann> Then it is a matter of running (/dev/sdX is the sd-card):
 Yann>   - dd if=images/boot-vfat.img of=/dev/sdX1
 Yann>   - dd if=images/root-squashfs.img of=/dev/sdX2
 Yann>   - dd if=images/home-ext2.img of=/dev/sdX3

Except this doesn't take care of resizing the filesystems to span the
entire partition.

The linaro people afaik have a linaro-media-create tool to automate
something like this, perhaps we could use it?
-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list