All of lore.kernel.org
 help / color / mirror / Atom feed
* Initramfs support?
@ 2007-11-13 12:10 Rob Kramer
  2007-11-13 15:49 ` Cliff Brake
  2007-11-14 14:45 ` Paul Sokolovsky
  0 siblings, 2 replies; 4+ messages in thread
From: Rob Kramer @ 2007-11-13 12:10 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I've been trying to figure out how/if OE supports creation of initramfs
files. There's initramfs-uniboot and friends in initrdscripts, but I'm not
sure if that is current or useful, as it doesn't seem to be used by
anything, anywhere.

Then there's linux-hackndev, which builds a mini-busybox on the fly. But
that seems a bit hackish..

Anyone know if there's a good way to have OE create an initramfs archive of
a bunch of files that I provide?

Cheers!

    Rob




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Initramfs support?
  2007-11-13 12:10 Initramfs support? Rob Kramer
@ 2007-11-13 15:49 ` Cliff Brake
  2007-11-14  3:07   ` Rob Kramer
  2007-11-14 14:45 ` Paul Sokolovsky
  1 sibling, 1 reply; 4+ messages in thread
From: Cliff Brake @ 2007-11-13 15:49 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

On Nov 13, 2007 7:10 AM, Rob Kramer <robk@starhub.net.sg> wrote:

> Anyone know if there's a good way to have OE create an initramfs archive of
> a bunch of files that I provide?

What I do:

- define a custom image or use something like minimal-image
- add cpio.gz to IMAGE_FSTYPES
- use the resulting cpio.gz as your initramfs

The following ramblings may or may not be useful:
http://bec-systems.com/web/content/view/79/9/
http://bec-systems.com/web/content/view/82/9/
http://bec-systems.com/web/content/view/66/9/

Cliff

-- 
=======================
Cliff Brake
http://bec-systems.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Initramfs support?
  2007-11-13 15:49 ` Cliff Brake
@ 2007-11-14  3:07   ` Rob Kramer
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Kramer @ 2007-11-14  3:07 UTC (permalink / raw)
  To: openembedded-devel

Hi Cliff,

Cliff Brake wrote:
> - define a custom image or use something like minimal-image
> - add cpio.gz to IMAGE_FSTYPES
> - use the resulting cpio.gz as your initramfs

Thanks, I guess that's the way to go. I was hoping I could modify my main
image (already custom) to also create a cpio.gz, but a second image may be
just as clean. The x270 images are a good reference..

Cheers!

    Rob




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Initramfs support?
  2007-11-13 12:10 Initramfs support? Rob Kramer
  2007-11-13 15:49 ` Cliff Brake
@ 2007-11-14 14:45 ` Paul Sokolovsky
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Sokolovsky @ 2007-11-14 14:45 UTC (permalink / raw)
  To: Rob Kramer; +Cc: openembedded-devel

Hello Rob,

Tuesday, November 13, 2007, 2:10:43 PM, you wrote:

> Hi,

> I've been trying to figure out how/if OE supports creation of initramfs
> files. There's initramfs-uniboot and friends in initrdscripts, but I'm not
> sure if that is current or useful, as it doesn't seem to be used by
> anything, anywhere.

> Then there's linux-hackndev, which builds a mini-busybox on the fly. But
> that seems a bit hackish..

> Anyone know if there's a good way to have OE create an initramfs archive of
> a bunch of files that I provide?

  Also related:
http://pfalcon-oe.blogspot.com/2007/07/modular-initramfs-for-oe.html
http://pfalcon-oe.blogspot.com/2007/07/initrd-and-initramfs-with-oe-snippet-1.html

> Cheers!

>     Rob


-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-15 11:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-13 12:10 Initramfs support? Rob Kramer
2007-11-13 15:49 ` Cliff Brake
2007-11-14  3:07   ` Rob Kramer
2007-11-14 14:45 ` Paul Sokolovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.