From: Niraj Maheshwari <niraj.maheshwari@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Mounting JFFS2 compressed Ramdisk on MTD partition
Date: Wed, 12 Jan 2005 13:39:12 +0530 [thread overview]
Message-ID: <f6d0cd0605011200093437bcb5@mail.gmail.com> (raw)
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
reply other threads:[~2005-01-12 8:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6d0cd0605011200093437bcb5@mail.gmail.com \
--to=niraj.maheshwari@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox