From: Mak Kar <lin_mkar@yahoo.com>
To: Josh Boyer <jdub@us.ibm.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: starting address of mtd device
Date: Mon, 19 Jul 2004 14:55:32 -0700 (PDT) [thread overview]
Message-ID: <20040719215532.51737.qmail@web53404.mail.yahoo.com> (raw)
In-Reply-To: <1090240245.29112.27.camel@weaponx.rchland.ibm.com>
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@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/
prev parent reply other threads:[~2004-07-19 23:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-16 19:01 starting address of mtd device Mak Kar
2004-07-19 12:30 ` Josh Boyer
2004-07-19 12:49 ` Dmitry A. Fedorov
2004-07-19 13:28 ` Josh Boyer
2004-07-19 14:01 ` Dmitry A. Fedorov
2004-07-19 15:50 ` Josh Boyer
2004-07-21 12:32 ` Josh Boyer
2004-07-22 6:07 ` Dmitry A. Fedorov
2004-07-20 3:22 ` Rainer Weikusat
2004-07-20 4:07 ` Dmitry A. Fedorov
2004-07-19 21:55 ` Mak Kar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040719215532.51737.qmail@web53404.mail.yahoo.com \
--to=lin_mkar@yahoo.com \
--cc=jdub@us.ibm.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.