starting address of mtd device

Rainer Weikusat rainer.weikusat at sncag.com
Mon Jul 19 23:22:26 EDT 2004


"Dmitry A. Fedorov" <D.A.Fedorov at inp.nsk.su> writes:
[...]

> Well, what about generic physmap board module?
> I can make patch.

I could provide you with one, if you wanted to use it (enables
configuration of arbitrarily mapped distinct flash chips via command
line, a sample looks like this:

CONFIG_CMDLINE="root=/dev/mtdblock2 physmap=phys_0:0x200000 at 0x2800000:2,phys_1:0x800000 at 0x2a00000:2 mtdparts=phys_0:128k(boot),-(root);phys_1:64k(top),8064k(main),64k(bottom)"

Patch is against 2.4.26-stock, but it should be reasonably to generic
to port it easily. I am actually using this with the board I am
working at the moment, and, except the fact that the *amdstd-functions
keep panicking my kernel (next work-step to do ;-), it seems to be
working fine.




More information about the linux-mtd mailing list