HelloI had a problem with cramfs that may or may not be related.
I'm mounting my root filesystem (cramfs) from mtd block device. With small images (2Mb) everything works just fine. With large images (8+Mb) I can create image, copy it to the flash and even mount it as loop device or directly from flash - no errors at all.
Hovewer, when I trying to start kernel with root=/dev/mtdblock1 it
gives me a lot of errors (like "Error -3 while decompressing!"
or "Illegal instruction" etc..).
I used cramfs for 100% standard initrd. When I created the cramfs using mkcramfs, it wouldn't mount it (complained that it didn't find the magic number). When I ran mkinitrd - everything worked fine. Further analysis showed that initrd creates the cramfs image from the standard input (or was that - to the standard output? I don't remeber). I am yet to find out why that made a difference, but it obviously did.
Like I said - I don't know whether that helps.Tried to google a little - the single advice that I've found was to perform eraseall to flash before copying the image. I did - it did not help.
Thanks for any tips.
Michael
-- Shachar Shemesh Open Source integration consultant Home page & resume - http://www.shemesh.biz/
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
