initramfs (was: Re: Om2009 testing release 4)

openmoko at humilis.net openmoko at humilis.net
Mon Jun 8 11:43:36 CEST 2009


Hi Kevin,

Kevin Day wrote (ao):
> The initramfs must be pregenerated.
> The command to create the initramfs is:
> find . | cpio --quiet -H newc -o | gzip -9 -n > /usr/src/boot-initrd.cpio.gz
> 
> Place the initramfs into the kernel source tree, and then something
> like this config option should be used:
> CONFIG_INITRAMFS_SOURCE="boot-initrd.cpio.gz"

There is no need to create the initramfs. You can just have this in your
kernel config:

CONFIG_INITRAMFS_SOURCE="/home/user/initramfs"

The /home/user/initramfs directory gets included in the initramfs during
kernel build.

	With kind regards, Sander

-- 
Humilis IT Services and Solutions
http://www.humilis.net



More information about the support mailing list