Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] How to generete initramfs inside kernel img.
Date: Fri, 27 May 2011 09:42:29 +0200	[thread overview]
Message-ID: <20110527094229.51283209@surf> (raw)
In-Reply-To: <4DDECB33.6070402@opensoftware-br.com>

Hello Paulo,

On Thu, 26 May 2011 18:50:43 -0300
Paulo Carvalho Silva <psilva@opensoftware-br.com> wrote:

> I am using buildroot-2011-02, without a problem, the tools is the
> best one, because I tryied a several others.
> 
> I want to generate initramfs inside the kernel image, but I searched
> how to do that, and the unique information found, is the setup of
> initramfs into the kernel's config file, but buildroot always
> generate it in a separate file.
> 
> I got a kernel image with initramfs inside it, but using another 
> method,I downloaded kernel sources, patched it, configured it and 
> compiled it, but I want to use buildroot for all steps, bootstrap, 
> u-boot and kernel.

If you compile your kernel with Buildroot, then there is an option in
"Target filesystem formats", called "initramfs", that will
automatically bundle your initramfs filesystem inside the kernel image,
by adjusting the kernel configuration and re-running the kernel
compilation.

Regards,

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

      reply	other threads:[~2011-05-27  7:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 21:50 [Buildroot] How to generete initramfs inside kernel img Paulo Carvalho Silva
2011-05-27  7:42 ` Thomas Petazzoni [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=20110527094229.51283209@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --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