From: Ralph Siemsen <ralphs@netwinder.org>
To: Thorsten Haas <haas@deutaeit.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: CFI physmap - how to create partitions
Date: Thu, 19 May 2005 07:54:08 -0400 [thread overview]
Message-ID: <428C7E60.3090908@netwinder.org> (raw)
In-Reply-To: <1116489972.2647.4.camel@shrek>
Thorsten Haas wrote:
> Solved. I used mphysmap.c, because there are two banks of flash on my
> board, but mphysmap.c does not support partitioning yet. Though,
> physmap.c does provide commandline partition parsing.
> Sadly, mtd-id's seem not to be well-documented. I looked the one for
> mappings to the physical memory area up in the source. It's
> "phys_mapped_flash". Huzaa.
Hmm, are the two banks the same (eg. two chips of same type), and are
they consecutive in memory or parallel on the bus? Then you can
actually use physmap. Just pass it the combined size of both chips, the
MTD code will handle the rest. There is no need to call probe function
for each bank, or to partition each bank separately. This seems to be
another one of the MTD undocumented "features".
> Thus, I wrote some additional text into chapter "Making partitions with
> CFI flash and working with multiple banks of FLASH" of
> mtd-jffs-HOWTO.txt. ( retreived it from
> ftp://ftp.uk.linux.org/pub/people/dwmw2/mtd/cvs/mtd/mtd-jffs-HOWTO.txt )
Nice!
-R
next prev parent reply other threads:[~2005-05-19 11:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-18 8:05 CFI physmap - how to create partitions Thorsten Haas
2005-05-18 22:35 ` Ralph Siemsen
2005-05-19 8:06 ` Thorsten Haas
2005-05-19 11:54 ` Ralph Siemsen [this message]
2005-05-20 7:26 ` Thorsten Haas
2005-05-20 12:58 ` Ralph Siemsen
2005-05-20 13:20 ` Thorsten Haas
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=428C7E60.3090908@netwinder.org \
--to=ralphs@netwinder.org \
--cc=haas@deutaeit.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox