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

Ralph Siemsen ralphs at
Mon Apr 11 13:08:02 EDT 2005

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.

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


More information about the linux-mtd mailing list