This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: Re: Redboot
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Syed Ismail <ismail dot riyaz at dyansys dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 13 Nov 2007 15:05:50 +0100
- Subject: Re: Re: Re: [ECOS] Redboot
- References: <20071113130642.13476.qmail@pro9.rediffmailpro.com>
> > How is the flash attached to
> > the data bus?
> attached to processor through chip select cs0.
> > Is it a 16 bit device or a 32 bit device?
> 16 bit
> > How is the
> > flash driver configured?
> #define CYGNUM_FLASH_INTERLEAVE (1)
> #define CYGNUM_FLASH_SERIES (1)
> #define CYGNUM_FLASH_WIDTH (16)
> CYGHWR_DEVS_FLASH_MXC_NOR,CYGHWR_DEVS_FLASH_MXC_NAND and CYGHWR_DEVS_FLASH_MXC_MULTI are enabled
Does the CPU know you have a 16 bit device connected to its 32 bit
data bus? Maybe you need to set the MMU up to allow this?
Also, have you tried Gary's suggestion. Force all reads to go through
the flash API, not direct from memory with a memcpy?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss