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


On  9 Oct 2012, thomas.petazzoni@free-electrons.com wrote:

> 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?

> 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

Not mentioned was Ltib.  However, more importantly for the specific
request of an initrd, there is klibc that is probably the best suite for
an initrd/initramfs.  However, if your next question is how do I build
my file system, then all of the other system builders are probably
better.

Also, an initrd is not needed; you don't need an initrd and can have a
semi-normal Linux kernel mount a file system directly... and most modern
versions of Linux would use an initramfs and not an initrd (unless you
work in a place where the time stopped due to a year 2k bug ;).

Fwiw,
Bill Pringlemeir.

 http://ltib.org/, https://savannah.nongnu.org/mail/?group=ltib
 http://www.kernel.org/pub/linux/libs/klibc/2.0/
 http://askubuntu.com/questions/14961/what-is-the-difference-between-initrd-and-initramfs

--
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]