Virtual MTD-Device

Frank Neuber neuber at convergence.de
Thu Oct 17 12:06:35 EDT 2002


On Mon, Oct 14, 2002 at 05:28:19PM +0200, Frank Neuber wrote:
> > > Has anyone thought about this problem, maybe there is a ready to run
> > > solution :-))
> > 
> > Yep. Have a look at the MTD concat layer (mtdconcat.c). See the map drivers 
> > for the DIL/NetPC (dilnetpc.c) and the SC520 CDP (sc520cdp.c) for examples on 
> > how to use this layer. On these two reference platforms, the chips that are 
> It seems that is exactly that what I want :-)
> 
> > being concatenated happen to have uniform sector sizes, but I did test this 
> > stuff in at least one configuration with varying sector sizes. So, this 
> > _should_ work out ot the box.
> Ahh, interresting. I will check this out and let you know when it works.
And it works well, thanks ... great work!
I did a mix between dilnetpc.c and sc520cdp.c because I have two chips
with partitioning information.
It was easy to collect the free space to one mtd into the kernel.

> Additionally I will add the exact flash configuration to the kernel
> command line, so that I can use the same kernel for different flash
> placements on the target platform.
This is the thing I will do next.

Regards,
  Frank
-- 
Dipl.-Ing. Elektrotechnik           convergence / HW
Frank Neuber                        Rosenthalerstr.51 / 10178 Berlin
Email:  neuber at convergence.de           Phone:  +49(0)30-72 62 06 76
WWW:    www.convergence.de              Fax:    +49(0)30-72 62 06 55




More information about the linux-mtd mailing list