From: Ralph Siemsen <ralphs@netwinder.org>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: MTD mailing list <linux-mtd@lists.infradead.org>
Subject: Re: how little do i have to do to define flash layout on my system?
Date: Mon, 11 Apr 2005 13:08:02 -0400 [thread overview]
Message-ID: <425AAEF2.3040903@netwinder.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0504110725540.6265@localhost.localdomain>
Robert P. J. Day wrote:
> i did a bit more reading last night and concluded that the PHYSMAP
> stuff would let me define a single flash chip but no more. so if i
> want multiple chips, it *appears* that i have to write a maps file.
If the chips are of the same type, physmap.c will do what you want -
just give it the total size of flash space. Eg. if you have two 32M
chips then give the size as 64M. The MTD code is will probe and
discover the two chips automatically. Be sure you specify the
interleave correctly too.
If the chips are of different types, then the more recent mphysmap.c is
probably what you need. (I haven't tried this one).
-R
next prev parent reply other threads:[~2005-04-11 17:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-10 21:41 how little do i have to do to define flash layout on my system? Robert P. J. Day
2005-04-11 10:55 ` Cliff Brake
2005-04-11 11:32 ` Robert P. J. Day
2005-04-11 17:01 ` Josh Boyer
2005-04-11 19:09 ` Robert P. J. Day
2005-04-11 19:15 ` Josh Boyer
2005-04-11 19:30 ` Robert P. J. Day
2005-04-11 17:08 ` Ralph Siemsen [this message]
2005-04-11 19:11 ` Robert P. J. Day
-- strict thread matches above, loose matches on Subject: below --
2005-04-11 16:47 Michael
2005-04-11 19:08 ` Robert P. J. Day
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=425AAEF2.3040903@netwinder.org \
--to=ralphs@netwinder.org \
--cc=linux-mtd@lists.infradead.org \
--cc=rpjday@mindspring.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox