From: John Reynolds <jjreynolds2004@yahoo.com>
To: linux-mtd@lists.infradead.org
Subject: Cirrus Logic EDB9302 JFFS2 problem
Date: Fri, 11 Mar 2005 14:52:51 -0500 [thread overview]
Message-ID: <4231F713.9000605@yahoo.com> (raw)
Hi all,
I have a Cirrus Logic EDB9302 pcb running Linux version
2.4.21-rmk1-crus1.4.3,
and have a problem with a flash partition I created.
I followed the instructions in the Cirrus app note and setup
the kernel mtd stuff. I've used various versions of
mkfs.jffs2, up to 1.42
mkfs.jffs2 -r partition_dir -o output_file -e 0x20000 -p,
using a 128K erase block to match the MT28F128 chip.
I download the flash file into the pcb and write it using
Reboot
lo -r -v -b 0x1000000 jffs2.out
fi cr -r -l 0x400000
creating a 4M partition.
I can mount /dev/mtdblock6 and read it ok. The files cmp
ok with the originals located in /etc. One thing I notice is
df indicated more usage that if should be, less then 50K
worth of files in a 4M partition showing 32% used !
When I starting witting or erasing files in the partition
on the following remount I get various errors and corrupt
files.
jffs2_scan_inode_node(): Data CRC failed on node at 0x000abc44: Read
0x189aa386, calculated 0xefa9b9b2
jffs2_scan_inode_node(): CRC failed on node at 0x000afd54: Read
0x09afa921, calculated 0xf472bf46
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000afd58:
0x1044 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000afd5c:
0x586d instead
.
.
.
Am I missing something ? Anyone have this problem or is it just me :)
Thanks for any feedback,
John Reynolds
reply other threads:[~2005-03-12 2:00 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=4231F713.9000605@yahoo.com \
--to=jjreynolds2004@yahoo.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 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.