initramfs on PowerPC

Richard Danter richard.danter at ntlworld.com
Fri May 4 22:32:26 EST 2007


Hi all,

I am having a problem booting a kernel with an initramfs. The kernel version 
is 2.6.14. The target is a ppc 82xx board.

I have tried both generating the cpio.gz file myself (find . | copi -o -H 
newc | gzip > ../initramfs_data.cpio.gz) and pointing initramfs source to a 
root FS directory (using xconfig) and then re-building my kernel.

Usually the error is "junk in compressed archive" though I also see an 
occasional error about padding.

I am using U-Boot to load the kernel image (uImage).

My host is SuSE 10.0 (x86), though I guess that shouldn't make any difference 
(endianism?).

Any thoughts on what I may be doing wrong?

Thanks
Rich



More information about the Linuxppc-embedded mailing list