* Re: Number of CFI chips ?
2004-08-20 11:00 Number of CFI chips ? Manfred Gruber
@ 2004-08-20 10:57 ` David Woodhouse
2004-08-20 11:15 ` Manfred Gruber
0 siblings, 1 reply; 7+ messages in thread
From: David Woodhouse @ 2004-08-20 10:57 UTC (permalink / raw)
To: Manfred Gruber; +Cc: Linux MTD Mailing List
On Fri, 2004-08-20 at 13:00 +0200, Manfred Gruber wrote:
> Hi guys !
>
> I am trying to find out why my 2 AM29LV256M do not work.
> See before was: Re: JFFS2 with AM29LV256M
>
> I found out that CFI only detects one chip.
>
> What should CFI detect when I have 2 AM29LV256M chips on a 32 bit bus. Each
> AM29LV256 has 16 bit bus with with connected to the 32bit bus. So CFI has to
> setect 2 chips, am i right ?(wehn interleave is set to 2, and buswith is set
> to 32)
>
> When it only detects one chip, my problem must be in detecting the chips by
> CFI, is this correct ?
Not necessarily. Some of our printks are confusing -- if it claims to
have detected only one chip then it might mean one _pair_ of chips. Can
you show exactly what it said?
--
dwmw2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Number of CFI chips ?
@ 2004-08-20 11:00 Manfred Gruber
2004-08-20 10:57 ` David Woodhouse
0 siblings, 1 reply; 7+ messages in thread
From: Manfred Gruber @ 2004-08-20 11:00 UTC (permalink / raw)
To: Linux MTD Mailing List
Hi guys !
I am trying to find out why my 2 AM29LV256M do not work.
See before was: Re: JFFS2 with AM29LV256M
I found out that CFI only detects one chip.
What should CFI detect when I have 2 AM29LV256M chips on a 32 bit bus. Each
AM29LV256 has 16 bit bus with with connected to the 32bit bus. So CFI has to
setect 2 chips, am i right ?(wehn interleave is set to 2, and buswith is set
to 32)
When it only detects one chip, my problem must be in detecting the chips by
CFI, is this correct ?
Thanks, regards manfred
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Number of CFI chips ?
2004-08-20 11:15 ` Manfred Gruber
@ 2004-08-20 11:13 ` David Woodhouse
2004-08-20 11:27 ` Manfred Gruber
0 siblings, 1 reply; 7+ messages in thread
From: David Woodhouse @ 2004-08-20 11:13 UTC (permalink / raw)
To: Manfred Gruber; +Cc: linux-mtd
On Fri, 2004-08-20 at 13:15 +0200, Manfred Gruber wrote:
> phys_mapped_flash: Found 2 x16 devices at 0x0 in 32-bit bank
It found two devices, in a pair. After that, it treats them as one
'chip' because they're interleaved and so they do everything together.
> number of CFI chips: 1
That really means one interleaved _pair_ of chips.
--
dwmw2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Number of CFI chips ?
2004-08-20 10:57 ` David Woodhouse
@ 2004-08-20 11:15 ` Manfred Gruber
2004-08-20 11:13 ` David Woodhouse
0 siblings, 1 reply; 7+ messages in thread
From: Manfred Gruber @ 2004-08-20 11:15 UTC (permalink / raw)
To: linux-mtd
hi !
Am Freitag, 20. August 2004 12:57 schrieben Sie:
> On Fri, 2004-08-20 at 13:00 +0200, Manfred Gruber wrote:
> > Hi guys !
> >
> > I am trying to find out why my 2 AM29LV256M do not work.
> > See before was: Re: JFFS2 with AM29LV256M
> >
> > I found out that CFI only detects one chip.
> >
> > What should CFI detect when I have 2 AM29LV256M chips on a 32 bit bus.
> > Each AM29LV256 has 16 bit bus with with connected to the 32bit bus. So
> > CFI has to setect 2 chips, am i right ?(wehn interleave is set to 2, and
> > buswith is set to 32)
> >
> > When it only detects one chip, my problem must be in detecting the chips
> > by CFI, is this correct ?
>
> Not necessarily. Some of our printks are confusing -- if it claims to
> have detected only one chip then it might mean one _pair_ of chips. Can
> you show exactly what it said?
this is the output, you see that i have phymaped 64MB, but cfiprobe only
detects 32MB. also only one erase region and so on
physmap flash device: 4000000 at 10000000
genprobe_new_chip nr of chips 2
Number of erase regions: 1
Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)
Primary Algorithm Table at 0040
Alternative Vendor Command Set: 0000 (None)
No Alternate Algorithm Table
Vcc Minimum: 2.7 V
Vcc Maximum: 3.6 V
No Vpp line
Typical byte/word write timeout: 128 s
Maximum byte/word write timeout: 256 s
Typical full buffer write timeout: 128 s
Maximum full buffer write timeout: 4096 s
Typical block erase timeout: 1024 ms
Maximum block erase timeout: 16384 ms
Chip erase not supported
Device size: 0x2000000 bytes (32 MiB)
Flash Device Interface description: 0x0002
- supports x8 and x16 via BYTE# with asynchronous interface
Max. bytes in buffer write: 0x20
Number of Erase Block Regions: 1
Erase Region #0: BlockSize 0x10000 bytes, 512 blocks
phys_mapped_flash: Found 2 x16 devices at 0x0 in 32-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Using buffer write method
phys_mapped_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
6 RedBoot partitions found on MTD device phys_mapped_flash
Creating 6 MTD partitions on "phys_mapped_flash":
0x00000000-0x00040000 : "RedBoot"
and number of cfi chips tells :1
thanks regards manfred
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Number of CFI chips ?
2004-08-20 11:13 ` David Woodhouse
@ 2004-08-20 11:27 ` Manfred Gruber
2004-08-20 11:40 ` David Woodhouse
0 siblings, 1 reply; 7+ messages in thread
From: Manfred Gruber @ 2004-08-20 11:27 UTC (permalink / raw)
To: linux-mtd
Am Freitag, 20. August 2004 13:13 schrieben Sie:
> On Fri, 2004-08-20 at 13:15 +0200, Manfred Gruber wrote:
> > phys_mapped_flash: Found 2 x16 devices at 0x0 in 32-bit bank
>
> It found two devices, in a pair. After that, it treats them as one
> 'chip' because they're interleaved and so they do everything together.
>
> > number of CFI chips: 1
>
> That really means one interleaved _pair_ of chips.
OK.
But the output of device size and erase size?
When it should be then seen as one chips, why is erase size 0x10000 and
device size 0x200000 ?? That for one chip ....
thanks, regrads manfred
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Number of CFI chips ?
2004-08-20 11:27 ` Manfred Gruber
@ 2004-08-20 11:40 ` David Woodhouse
2004-08-20 13:23 ` Number of CFI chips and Re: JFFS2 with AM29LV256M Manfred Gruber
0 siblings, 1 reply; 7+ messages in thread
From: David Woodhouse @ 2004-08-20 11:40 UTC (permalink / raw)
To: Manfred Gruber; +Cc: linux-mtd
On Fri, 2004-08-20 at 13:27 +0200, Manfred Gruber wrote:
> But the output of device size and erase size?
> When it should be then seen as one chips, why is erase size 0x10000 and
> device size 0x200000 ?? That for one chip ....
Yes, that's the debugging dump of the CFI table. You should find
different results in /proc/mtd
--
dwmw2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Number of CFI chips and Re: JFFS2 with AM29LV256M
2004-08-20 11:40 ` David Woodhouse
@ 2004-08-20 13:23 ` Manfred Gruber
0 siblings, 0 replies; 7+ messages in thread
From: Manfred Gruber @ 2004-08-20 13:23 UTC (permalink / raw)
To: linux-mtd
Am Freitag, 20. August 2004 13:40 schrieben Sie:
> On Fri, 2004-08-20 at 13:27 +0200, Manfred Gruber wrote:
> > But the output of device size and erase size?
> > When it should be then seen as one chips, why is erase size 0x10000 and
> > device size 0x200000 ?? That for one chip ....
>
> Yes, that's the debugging dump of the CFI table. You should find
> different results in /proc/mtd
OK. I see that finding the chips is correct.
Writing whith write buffer is also okay.
Then must be my problem in the write_word/write_oneword function be.
Any comment where here could be the problem, or how these functions work ?
Thanks regards manfred
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-08-20 13:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-20 11:00 Number of CFI chips ? Manfred Gruber
2004-08-20 10:57 ` David Woodhouse
2004-08-20 11:15 ` Manfred Gruber
2004-08-20 11:13 ` David Woodhouse
2004-08-20 11:27 ` Manfred Gruber
2004-08-20 11:40 ` David Woodhouse
2004-08-20 13:23 ` Number of CFI chips and Re: JFFS2 with AM29LV256M Manfred Gruber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox