All of lore.kernel.org
 help / color / mirror / Atom feed
* Mounting JFFS2 compressed Ramdisk on MTD partition
@ 2005-01-12  8:09 Niraj Maheshwari
  0 siblings, 0 replies; only message in thread
From: Niraj Maheshwari @ 2005-01-12  8:09 UTC (permalink / raw)
  To: linux-mtd

Hi.

I am using JFFS2 and MTD on our target for booting
the Ramdisk from MTD device ( Intel W18 Flash ) 

Kernel command line: root=/dev/mtdblock1 rw mem=64M 
rootfstype=jffs2 console=ttyS0,115200 ramdisk=8192

I have compressed the RAMDISK to have JFFS2 Ramdisk image and
loaded in to the Flash on the specified memory location. I have also
created a MTD partition ( /dev/mtdblock1) which is pointing to flash
memory location where the JFFS2 compressed ramdisk image is there.

My idea is to load JFFS2 RAMdisk from flash ( specified in the KERNEL
config line ) because i have a very limited memory in Flash.

Here is the logs for the same. I am getting this
error eveytime when Linux Kernel tries to mount the JFFS2
compressed Ramdisk from the Flash Device.

logs:

 INIT: Eep. Unknown node type 0080 at 00186f34 was
 marked REF_UNCHECKED
 Node header CRC failed at 00186f34. But it must have
 been OK earlier.
 Node was: { 0080, 2080, 00800080, 00800080 }
 Node totlen on flash (0x00800080) != totlen from node
 ref (0x000001b4)

and it keeps on repearing the same way.

I am formatting the flash completely. I have verified that all
the flash sectors have been erased correctly. By the way i am using
NOR Flash ( Intel W18 Flash).

Important thing to note that :

I am able to load the RAMdisk in /mnt/temp directory by issuing :

mount -t jffs2 /dev/mtdblock1 /mnt/temp.

But if i ask kernel to pick up the RAMdisk from /dev/mtdblock1 in the
kernel config line then it gives me lot of errors as mentioned above.

Do you have any idea ?

Thanks and regards
Niraj

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-12  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-12  8:09 Mounting JFFS2 compressed Ramdisk on MTD partition Niraj Maheshwari

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.