public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Angelos Manousarides <amanous@inaccessnetworks.com>
To: Linux MTD mailing list <linux-mtd@lists.infradead.org>
Subject: MTD device with multiple regions & JFFS2
Date: Fri, 30 Jun 2006 15:31:36 +0300	[thread overview]
Message-ID: <44A519A8.4030800@inaccessnetworks.com> (raw)

I have a system with intel P30 flash chips, which have 2 erase regions. 
The system can have either 2 flash chips in one bank or 4 flash chips in 
2 banks. I am using mtdconcat to join the two devices and have unified 
access. I have a problem with the multiple erase sizes. The chips are of 
"top" type which means that the last sectors have a smaller block size 
than the others.

The code in mtdconcat does transfer the region info to the resulting 
device, I see a mtd device with 2 (or 4 regions). The partitioning code 
however does not. "numeraseregions" is 0 and "erasesize" is only used.

While I was trying to fix the code in mtdpart.c, I discovered that this 
is futile. The JFFS2 code does not seem to support this as well. Only 
the "erasesize" is used there also. Does that mean that I cannot have a 
JFFS2 filesystem that spans across multiple block size flash space?

--
Angelos Manousaridis

             reply	other threads:[~2006-06-30 12:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-30 12:31 Angelos Manousarides [this message]
2006-06-30 13:13 ` MTD device with multiple regions & JFFS2 Josh Boyer
2006-06-30 13:56   ` Angelos Manousarides
2006-06-30 14:36     ` Josh Boyer
2006-07-04 12:22       ` Angelos Manousarides

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=44A519A8.4030800@inaccessnetworks.com \
    --to=amanous@inaccessnetworks.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox