* Intel P30 flash support MTD 2.4.16 kernel
@ 2006-05-16 22:56 Jayasri Sangu
2006-05-16 23:32 ` David Woodhouse
0 siblings, 1 reply; 6+ messages in thread
From: Jayasri Sangu @ 2006-05-16 22:56 UTC (permalink / raw)
To: linux-mtd
Hi,
We are using 2.4.16 kernel on our powerpc 8260 board. Currently we are using 28F320C3 flash and it works fine with the MTD(JFFS2).
We are planning to change to P30 flash. Does 2.4.16 kernel supports this flash?
If not what are my choices?
Thanks
Jayasri
Come see us at CommunicAsia 2006 http://www.communicasia.com/
June 20-23, 2006 in Singapore at the US International Pavilion booth 6F1-03
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Intel P30 flash support MTD 2.4.16 kernel
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
0 siblings, 1 reply; 6+ messages in thread
From: David Woodhouse @ 2006-05-16 23:32 UTC (permalink / raw)
To: Jayasri Sangu; +Cc: linux-mtd
On Tue, 2006-05-16 at 15:56 -0700, Jayasri Sangu wrote:
> We are using 2.4.16 kernel on our powerpc 8260 board. Currently we
> are using 28F320C3 flash and it works fine with the MTD(JFFS2).
>
> 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.
--
dwmw2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Intel P30 flash support MTD 2.4.16 kernel
2006-05-16 23:32 ` David Woodhouse
@ 2006-05-17 21:50 ` Dan Merillat
2006-05-20 8:35 ` Simon Vogl
0 siblings, 1 reply; 6+ messages in thread
From: Dan Merillat @ 2006-05-17 21:50 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd, Jayasri Sangu
On 5/16/06, David Woodhouse <dwmw2@infradead.org> wrote:
> On Tue, 2006-05-16 at 15:56 -0700, Jayasri Sangu wrote:
> > We are using 2.4.16 kernel on our powerpc 8260 board. Currently we
> > are using 28F320C3 flash and it works fine with the MTD(JFFS2).
> >
> > 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Intel P30 flash support MTD 2.4.16 kernel
2006-05-17 21:50 ` Dan Merillat
@ 2006-05-20 8:35 ` Simon Vogl
2006-05-27 8:43 ` Thomas Gleixner
0 siblings, 1 reply; 6+ messages in thread
From: Simon Vogl @ 2006-05-20 8:35 UTC (permalink / raw)
To: Dan Merillat; +Cc: linux-mtd, David Woodhouse, Jayasri Sangu
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Intel P30 flash support MTD 2.4.16 kernel
2006-05-20 8:35 ` Simon Vogl
@ 2006-05-27 8:43 ` Thomas Gleixner
2006-05-27 10:06 ` Simon Vogl
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Gleixner @ 2006-05-27 8:43 UTC (permalink / raw)
To: Simon Vogl; +Cc: David Woodhouse, linux-mtd, Dan Merillat, Jayasri Sangu
On Sat, 2006-05-20 at 10:35 +0200, Simon Vogl wrote:
> > 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)?
The real cure is to replace the chips by working ones. The hack is to
mask out the simultaneous ops bit when reading the CFI features.
tglx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Intel P30 flash support MTD 2.4.16 kernel
2006-05-27 8:43 ` Thomas Gleixner
@ 2006-05-27 10:06 ` Simon Vogl
0 siblings, 0 replies; 6+ messages in thread
From: Simon Vogl @ 2006-05-27 10:06 UTC (permalink / raw)
To: tglx; +Cc: linux-mtd, David Woodhouse, Dan Merillat, Jayasri Sangu
Thomas,
>>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)?
>>
>>
>
>The real cure is to replace the chips by working ones. The hack is to
>
>
I would love to do that, but the flash is wire-bonded to the processor
in a single package -
My nano-manipulators are on repair at the momen ;)
>mask out the simultaneous ops bit when reading the CFI features.
>
>
>
Tried that, but did not cure the whole problem: The chip reports read
errors when accessing certain
addresses (above 0x1000000, i get that ominous 0x00080 reads...). I
recieved another sample board,
will try if this problem persists (as a side note: u-boot can access
the chip perfectly well... )
Simon
> tglx
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-05-27 10:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-05-27 8:43 ` Thomas Gleixner
2006-05-27 10:06 ` Simon Vogl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox