[U-Boot-Users] [RFC] Complex MAPPING support on CFI driver

Rui Sousa rui.sousa at laposte.net
Wed May 23 16:37:23 CEST 2007


On Wednesday 23 May 2007 16:27, Andrew Dyer wrote:

Hi Andrew,

> On 5/23/07, Wolfgang Denk <wd at denx.de> wrote:
> > In message <20070523114810.GA7092 at michl.2n.cz> you wrote:
> > > On Wed, May 23, 2007 at 12:58:45PM +0200, Rui Sousa wrote:
> > > > Unfortunately this only takes care of writting operations. Support
> > > > for read would mean further extensive modifications (introduce some
> > > > flash_read() function and use it from cp, md, jffs2, ... commands).
> > >
> > > Posibly... if addr2info returns structure pointer in question it could
> > > also toggle the right gpio line. And it would be nice to have just one
> > > addr2info implementation, right Tolunay? ;-)
> >
> > There is no hook anywhere that would trigger when running a command
> > like
>
> The OP didn't mention his architecture,

It's based on ARM11core.

> but I thought using virtual 
> memory support might allow him to trap on every access to his flash
> and do the appropriate fixup.

Yes, but that seemed overly complex and too expensive (performance wise).
We would need to add interrupt handling code and some extra MMU setup 
functions.

Rui




More information about the U-Boot mailing list