From: Simon Vogl <vogl@soft.uni-linz.ac.at>
To: Dan Merillat <harik.attar@gmail.com>
Cc: linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
Jayasri Sangu <JayasriS@aaesys.com>
Subject: Re: Intel P30 flash support MTD 2.4.16 kernel
Date: Sat, 20 May 2006 10:35:57 +0200 [thread overview]
Message-ID: <446ED4ED.80704@soft.uni-linz.ac.at> (raw)
In-Reply-To: <c0c067900605171450u3bbd5292sf61341527d5040e3@mail.gmail.com>
Dan,
Dan Merillat wrote:
>> > We are planning to change to P30 flash. Does 2.4.16 kernel supports
>> > this flash?
>> >
>> > If not what are my choices?
>>
>> 2.6.16.
>
>
> If it fails, turn on DEBUG_CFI_FEATURES in
> drivers/mtd/chips/cfi_cmdset_0001.c and check
> for Simultaneous Operations. Some P30 versions erroniously set that
> bit and fail horribly as a result. I spent a week trying to figure
> that out.
I found out this minute that this could apply to my pxa271 core (with
on-chip p30 flash!)
as well - it reports the sim.op. bit, while the data sheet says no.
Could you tell me what your
symptoms were, and your cure (a code snippet, preferrably)?
My jffs2 partition reports crc errors when mounting:
"
Node at 0x0001f9ec with length 0x0000093a would run over the end of the
erase block
Perhaps the file system was created with the wrong erase
size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001f9f0:
0x093a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001f9f4:
0x173d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001f9f8:
0x0013 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001f9fc:
0x0031 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001fa00:
0x81ed instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001fa08:
0x4dc4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001fa1c:
0x08f6 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001fa20:
0x1000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001fa24:
0x0006 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001fa28:
0x9190 instead
Further such events for this erase block will not be printed
jjffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000:
0xb80e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004:
0x87f4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008:
0x67d7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c:
0xb9d8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010:
0xee1f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014:
0xf3a0 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018:
0xbf12 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c:
0x6f85 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020:
0xc933 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024:
0x6b75 instead
Further such events for this erase block will not be printed
Node at 0x0005fe90 with length 0x00000892 would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
"
.... up to the end of the partition, followed by
jffs2_build_inode_pass1 failures and tons of
crc errors (
JFFS2 error: (290) jffs2_do_read_inode_internal: Argh. Special inode #86
with mode 0xa1ff had more than one node
Returned error for crccheck of ino #86. Expect badness...
JFFS2 error: (290) jffs2_do_read_inode_internal: Argh. Special inode
#186 with mode 0xa1ff had more than one node
Returned error for crccheck of ino #186. Expect badness...
...)
The same image is booting on other (pxa270) boards, of course...
Simon
next prev parent reply other threads:[~2006-05-20 8:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-16 22:56 Intel P30 flash support MTD 2.4.16 kernel Jayasri Sangu
2006-05-16 23:32 ` David Woodhouse
2006-05-17 21:50 ` Dan Merillat
2006-05-20 8:35 ` Simon Vogl [this message]
2006-05-27 8:43 ` Thomas Gleixner
2006-05-27 10:06 ` Simon Vogl
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=446ED4ED.80704@soft.uni-linz.ac.at \
--to=vogl@soft.uni-linz.ac.at \
--cc=JayasriS@aaesys.com \
--cc=dwmw2@infradead.org \
--cc=harik.attar@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