starting address of mtd device

Josh Boyer jdub at us.ibm.com
Mon Jul 19 08:30:45 EDT 2004


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





More information about the linux-mtd mailing list