* [U-Boot] support for spansion s29gl-p flash?
@ 2010-04-23 1:35 Aditya Ojha
2010-04-23 5:05 ` Stefan Roese
2010-04-23 6:26 ` txema lopez
0 siblings, 2 replies; 10+ messages in thread
From: Aditya Ojha @ 2010-04-23 1:35 UTC (permalink / raw)
To: u-boot
Hello folks,
Does the latest u-boot include support for these flash families:
- Spansion S29GL-P MirrorBit flash family or
- Numonyx Axcell M29EW
Appreciate your help.
thanks,
aditya
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 1:35 [U-Boot] support for spansion s29gl-p flash? Aditya Ojha
@ 2010-04-23 5:05 ` Stefan Roese
2010-04-23 6:26 ` txema lopez
1 sibling, 0 replies; 10+ messages in thread
From: Stefan Roese @ 2010-04-23 5:05 UTC (permalink / raw)
To: u-boot
Hi Aditya,
On Friday 23 April 2010 03:35:59 Aditya Ojha (adojha) wrote:
> Does the latest u-boot include support for these flash families:
> - Spansion S29GL-P MirrorBit flash family or
> - Numonyx Axcell M29EW
The common CFI driver (drivers/mtd/cfi_flash.c) should be able to support all
CFI compliant FLASH types. The Spansion ones are definitely supported. I
suggest you take a look at the Numonyx datasheets to see if they are CFI
compliant. If yes, this driver should support them as well.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 1:35 [U-Boot] support for spansion s29gl-p flash? Aditya Ojha
2010-04-23 5:05 ` Stefan Roese
@ 2010-04-23 6:26 ` txema lopez
2010-04-23 7:00 ` Aditya Ojha
2010-04-23 8:14 ` Stefan Roese
1 sibling, 2 replies; 10+ messages in thread
From: txema lopez @ 2010-04-23 6:26 UTC (permalink / raw)
To: u-boot
Hi Aditya.
I found some problems with the Numonyx Flash and the U-Boot cfi driver
in a PowerPC big endian architecture.
See: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/72598
Cheers,
Txema
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 6:26 ` txema lopez
@ 2010-04-23 7:00 ` Aditya Ojha
2010-04-23 8:16 ` Stefan Roese
2010-04-23 8:16 ` txema lopez
2010-04-23 8:14 ` Stefan Roese
1 sibling, 2 replies; 10+ messages in thread
From: Aditya Ojha @ 2010-04-23 7:00 UTC (permalink / raw)
To: u-boot
Thanks Txema. I might be hitting the same problem with the Numonyx
flash. I will check enabling debugs.
I see that you had submitted a potential patch, did it make it into the
code-base?
aditya
> -----Original Message-----
> From: txema lopez [mailto:tlopez at aotek.es]
> Sent: Thursday, April 22, 2010 11:27 PM
> To: Aditya Ojha (adojha)
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] support for spansion s29gl-p flash?
>
> Hi Aditya.
>
> I found some problems with the Numonyx Flash and the U-Boot
> cfi driver in a PowerPC big endian architecture.
>
> See: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/72598
>
>
> Cheers,
>
> Txema
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 7:00 ` Aditya Ojha
@ 2010-04-23 8:16 ` Stefan Roese
2010-04-23 8:16 ` txema lopez
1 sibling, 0 replies; 10+ messages in thread
From: Stefan Roese @ 2010-04-23 8:16 UTC (permalink / raw)
To: u-boot
On Friday 23 April 2010 09:00:58 Aditya Ojha (adojha) wrote:
> Thanks Txema. I might be hitting the same problem with the Numonyx
> flash. I will check enabling debugs.
> I see that you had submitted a potential patch, did it make it into the
> code-base?
No. The patch was not in a state of being added to the mainline repository,
I'm afraid.
But back to your question: Do you use 16bit or 8bit chip-width in your design?
I suspect that you will have no problems when using 16bit.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 7:00 ` Aditya Ojha
2010-04-23 8:16 ` Stefan Roese
@ 2010-04-23 8:16 ` txema lopez
1 sibling, 0 replies; 10+ messages in thread
From: txema lopez @ 2010-04-23 8:16 UTC (permalink / raw)
To: u-boot
Hi Aditya,
> I see that you had submitted a potential patch, did it make it into the
> code-base?
I can't understand what exactly your question is. The patch was not
"formal" and It was only tested in a MPC5200 based board. When I sent
the patch I did not receive any feedback from the cfi driver custodians.
So, I don't know if someone is working in a "formal" patch.
Cheers,
Txema.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 6:26 ` txema lopez
2010-04-23 7:00 ` Aditya Ojha
@ 2010-04-23 8:14 ` Stefan Roese
2010-04-23 8:36 ` txema lopez
1 sibling, 1 reply; 10+ messages in thread
From: Stefan Roese @ 2010-04-23 8:14 UTC (permalink / raw)
To: u-boot
Hi Txema,
On Friday 23 April 2010 08:26:38 txema lopez wrote:
> I found some problems with the Numonyx Flash and the U-Boot cfi driver
> in a PowerPC big endian architecture.
>
> See: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/72598
IIRC, then you problem was more related to using an 8bit wide chip (chip-
width) on an 16bit port-width, than being a specific Numonyx issue. Correct?
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 8:14 ` Stefan Roese
@ 2010-04-23 8:36 ` txema lopez
2010-04-23 8:44 ` Stefan Roese
0 siblings, 1 reply; 10+ messages in thread
From: txema lopez @ 2010-04-23 8:36 UTC (permalink / raw)
To: u-boot
Hi Stefan,
> IIRC, then you problem was more related to using an 8bit wide chip (chip-
> width) on an 16bit port-width,
Yes, it is our board flash layout.
> than being a specific Numonyx issue. Correct?
>
But the same board with a Spansion S29GL flash is fully supported by
U-Boot, so, I think It is a Numonyx issue.
Txema.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 8:36 ` txema lopez
@ 2010-04-23 8:44 ` Stefan Roese
2010-04-23 9:35 ` txema lopez
0 siblings, 1 reply; 10+ messages in thread
From: Stefan Roese @ 2010-04-23 8:44 UTC (permalink / raw)
To: u-boot
Hi Txema,
On Friday 23 April 2010 10:36:24 txema lopez wrote:
> > IIRC, then you problem was more related to using an 8bit wide chip (chip-
> > width) on an 16bit port-width,
>
> Yes, it is our board flash layout.
OK. So you are using 2 chips interleaved on this 16bit bus (one on lower 8bits
and one on higher 8bits), right?
> > than being a specific Numonyx issue. Correct?
>
> But the same board with a Spansion S29GL flash is fully supported by
> U-Boot, so, I think It is a Numonyx issue.
I see. Did you check the Linux MTD drivers, if there is a Numonyx special
handling here?
Thanks.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] support for spansion s29gl-p flash?
2010-04-23 8:44 ` Stefan Roese
@ 2010-04-23 9:35 ` txema lopez
0 siblings, 0 replies; 10+ messages in thread
From: txema lopez @ 2010-04-23 9:35 UTC (permalink / raw)
To: u-boot
Hi Stefan,
> OK. So you are using 2 chips interleaved on this 16bit bus (one on lower 8bits
> and one on higher 8bits), right?
No, I misunderstood yor last e-mail. Our layout is:
The flash chip is 16x/8x capable but is configured in 8x mode ( _BYTE
pin to GND).
Only the low 8 data bits from the processor are connected to the flash
data bits.
So, I think our layout is chip_width = 8 and port_width = 8. Is it
correct?
This is the flinfo report from U-Boot. It's from a Spansion flash board
but the Numonyx flash board has the same layout.
Bank # 1: CFI conformant FLASH (8 x 8) Size: 16 MB in 128 Sectors
AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x7E2101
Erase timeout: 4096 ms, write timeout: 1 ms
Buffer write timeout: 3 ms, buffer size: 64 bytes
NOTE: I think the layout you point out could be supported by U-Boot.
>
> >
> I see. Did you check the Linux MTD drivers, if there is a Numonyx special
> handling here?
>
We are working with a 2.4.25 kernel version and the Numonyx is not fully
supported (our layout I'm quite sure not). We did some changes to fix
it, if you are interested in it I could submit you a patch.
Txema
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-04-23 9:35 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 1:35 [U-Boot] support for spansion s29gl-p flash? Aditya Ojha
2010-04-23 5:05 ` Stefan Roese
2010-04-23 6:26 ` txema lopez
2010-04-23 7:00 ` Aditya Ojha
2010-04-23 8:16 ` Stefan Roese
2010-04-23 8:16 ` txema lopez
2010-04-23 8:14 ` Stefan Roese
2010-04-23 8:36 ` txema lopez
2010-04-23 8:44 ` Stefan Roese
2010-04-23 9:35 ` txema lopez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox