commandline physmap changed?

Lennert Buytenhek buytenh at wantstofly.org
Thu Nov 16 11:25:36 EST 2006


On Thu, Nov 16, 2006 at 10:17:05AM -0600, Duke wrote:

> > > > I'm using 2.6.18 kernel setting up my nor flash with the commandline:
> > > >
> > > > mtdparts=phys_mapped_flash:2m(boot),-(root)mtdparts=phys_mapped_flash:2m(boot),-(root)
> > > > , and the phys mapped driver would not shot these partition on boot.
> > > >
> > > > I did the same thing on a previous 2.6.16 kernel and it worked ok.
> > > > What changed? I noticed a physmap-flash name change but that wasn't it
> > > > (i.e mtdparts=physmap-flash:2m(boot),-(root) ).
> > > > How do I fix it?
> > >
> > > Try using 'physmap-flash.0'.  This works for me:
> > >
> > >         mtdparts=physmap-flash.0:256k(boot),256k(bootvars),2048k(zImage),-(flashfs1)
> >
> > Thanks,
> > That worked. I wonder what's the idea behind the ".0"?

There might be multiple physmap devices in the system (.0, .1, etc.)




More information about the linux-mtd mailing list