starting address of mtd device
Mak Kar
lin_mkar at yahoo.com
Mon Jul 19 17:55:32 EDT 2004
So, basically If an application gets address as input,
it needs a board map driver to figure out which mtd
device this address belongs to.
So writing a board specific map driver seems a good
solution....
--- Josh Boyer <jdub at us.ibm.com> wrote:
> On Fri, 2004-07-16 at 14:01, Mak Kar wrote:
> > "cat /proc/mtd" would give me just the size of
> device
> > and erase size.
> > how can I get the starting address in flash of any
> > single mtd device?
>
> The physical addresses for flash are usually
> provided by the user in the
> form of a board map driver. If there isn't a
> specific map driver for
> your board, see physmap.c.
>
> In other words, if you don't tell MTD where to look,
> it won't find
> anything. :)
>
> josh
>
>
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
More information about the linux-mtd
mailing list