how little do i have to do to define flash layout on my system?

Robert P. J. Day rpjday at
Mon Apr 11 15:11:42 EDT 2005

On Mon, 11 Apr 2005, Ralph Siemsen wrote:

> Robert P. J. Day wrote:
> > i did a bit more reading last night and concluded that the PHYSMAP
> > stuff would let me define a single flash chip but no more.  so if i
> > want multiple chips, it *appears* that i have to write a maps file.
> If the chips are of the same type, physmap.c will do what you want - just give
> it the total size of flash space.  Eg. if you have two 32M chips then give the
> size as 64M.  The MTD code is will probe and discover the two chips
> automatically.  Be sure you specify the interleave correctly too.

and this would work regardless of the addresses of the two chips?
i'll have to look at the code more carefully.

> If the chips are of different types, then the more recent mphysmap.c
> is probably what you need.  (I haven't tried this one).

just got josh's post, i'll be looking into that shortly once i figure
out the best place to get it.


More information about the linux-mtd mailing list