This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Creating a target initrd


Dear Chris Wilkinson,

On Mon, 8 Oct 2012 09:20:33 -0400, Chris Wilkinson wrote:

> Is there a facility or option in ct-Ng to have the host build an
> initrd for my custom kernel?

ct-ng has chosen to limit its scope to building toolchains: i.e only
gcc, gdb, binutils, C library and related stuff. I think this is a good
choice, because this work is already complicated enough.

What you want to do is generate an entire Linux system. There are other
tools suited for this job, usually called "embedded Linux build
systems". You have Buildroot (http://www.buildroot.org), PTXdist
(http://www.ptxdist.org), Yocto (http://www.yoctoproject.org),
OpenBricks (http://www.openbricks.org) and many more (OE-Lite, OpenWRT,
etc.). They all work differently (different configuration mechanism,
different language, etc.), but they general principle is always the
same: integrate a bunch of open-source components into a usable Linux
system.

Some of them can use cross-compiling toolchains that have been
generated by Crosstool-NG.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]