Multiple banks of flash?

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Nov 29 11:23:10 EST 2004


On Mon, 29 November 2004 09:38:32 -0600, Josh Boyer wrote:
> On Mon, 2004-11-29 at 09:15, Andrew Carlisle wrote:
> > I have two banks of flash that are physically located at different
> > locations.  I have successfully mapped one bank.  I can also map the other
> > bank, but the problem is that I can't map both the banks simultaneously.
> > 
> > I went into physmap.c and modified init_physmap() so that it basically does
> > the same thing twice, two probes, two partition searches, but it doesn't
> > seem to work mapping two banks which are located at different address mapped
> > in at the same time.
> > 
> > I am using the Monta Vista 2.6 version of the kernel.
> 
> Joern Engel wrote a mphysmap driver some time ago.  It works fairly
> well.  You might be able to find it if you google for it.  Not sure why
> it wasn't included in MTD CVS.

Iirc it was included, but in some branch that noone ever noticed or
cared about.  Should have gotten some testing, never did, nothing
happened.  Nothing unusual.

Jörn

-- 
Don't patch bad code, rewrite it.
-- Kernigham and Pike, according to Rusty




More information about the linux-mtd mailing list