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

I think the kernel is picky about the -H newc option.

> I'm not touching the flash until I can safely, and repeatably, boot from
> ram and run from ram.
> 
> thx,
> 
> Jason.


-- 
[EMAIL PROTECTED] mailing list

Reply via email to