This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
RE: RE: Strataflash mapping problem
- From: Enric Bel Prim <ebp at dimat dot es>
- To: "'ecos-devel at sources dot redhat dot com'" <ecos-devel at sources dot redhat dot com>
- Date: Mon, 16 Feb 2004 13:13:54 +0100
- Subject: RE: RE: Strataflash mapping problem
- Organization: DIMAT
Hi, again.
Yes, I agree with Jeffrey Daly that CYGNUM_FLASH_DEVICES should be the real
number of flash devices (4 in my platform), and CYGNUM_FLASH_WIDTH should
be the number of bits in each device (16 in my platform). But
CYGNUM_FLASH_INTERLEAVE should be 1 for my platform (16 bits devices
located in a 16 bit expansion bus of IXP425) and never equal to
CYGNUM_FLASH_DEVICES (as is defined in line 95 in strata.h)....
Finally I'm considering using the generic driver for the Intel 28fXXX
devices instead of the Intel strata to acces the Intel Strata Flash devices
of my platform.
The 28fXXX driver requires the following settings:
// Platform code must define the below
// #define CYGNUM_FLASH_INTERLEAVE : Number of interleaved devices (in
parallel)
// #define CYGNUM_FLASH_SERIES : Number of devices in series
// #define CYGNUM_FLASH_WIDTH : Width of devices on platform
// #define CYGNUM_FLASH_BASE : Address of first device
For my platform I will set: (CYGNUM_FLASH_INTERLEAVE = 1,
CYGNUM_FLASH_SERIES = 4, CYGNUM_FLASH_WIDTH = 16, CYGNUM_FLASH_BASE =
0x50000000)
I think CYGNUM_FLASH_SERIES will solve my flash mapping problems??? I
wonder why the strata flash driver doesn't allow this setting!!.
Does anybody know if I can use the 28fXXX driver to acces Intel Strata
Flash devices? I mean, will I loose some functionality/feature of the
Strata devices if I use the generic 28fXXX driver?
Thanks.
----------------------------------------- PLEASE NOTE -------------------------------------------
This message, along with any attachments, may be confidential or legally privileged.
It is intended only for the named person(s), who is/are the only authorized recipients.
If this message has reached you in error, kindly destroy it without review and notify the sender immediately.
Thank you for your help.
DIMAT uses virus scanning software but excludes any liability for viruses contained in any attachment.
------------------------------------ ROGAMOS LEA ESTE TEXTO -------------------------------------
Este mensaje y sus anexos pueden contener información confidencial y/o con derecho legal.
Está dirigido únicamente a la/s persona/s o entidad/es resenadas como único destinatario autorizado.
Si este mensaje le hubiera llegado por error, por favor elimínelo sin revisarlo ni reenviarlo y notifíquelo inmediatamente al remitente. Gracias por su colaboración.
DIMAT utiliza software antivirus, pero no se hace responsable de los virus contenidos en los ficheros anexos.