On Tuesday 02 October 2007, Natanael Copa wrote:
> On Tue, 2007-10-02 at 10:44 -0400, Jason wrote:
> > Ok, I'm frustrated.  :-)
> >
> > I have the kernel loaded and running via serial/TFTP into an NSLU2.  It
> > may not be configured correctly (duh), and the kernel command line might
> > not be correct (also, duh).  I've tried so many variants of the two, I
> > can't see straight.  I've also tried a gzip'd ramdisk, bzip2'd ramdisk,
> > and a cpio ramdisk.  Nothing works.  /sbin/init is in the ramdisk.
> > /dev/console and /dev/null are there also.
> >
> > I'm missing something basic.  Could someone look over the output below
> > and point me in the right direction?
> >
> > I suspect 'invalid compressed format (err=1)' might be a good indicator
> > of what is wrong, but google isn't being cooperative today.
>
> http://google.com/search?q=initramfs+cpio
>
> first hit.
>
>
> cd myramfs/
> find . | cpio -H newc --create --verbose | gzip -9 > ../myramfs.gz

ugh, no ... there are helper scripts in the kernel so people dont have to use 
cpio themselves ... the easiest is:
make CONFIG_INITRAMFS_SOURCE=/path/to/your/rootfs/ ...

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to