public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* MTD device with multiple regions & JFFS2
@ 2006-06-30 12:31 Angelos Manousarides
  2006-06-30 13:13 ` Josh Boyer
  0 siblings, 1 reply; 5+ messages in thread
From: Angelos Manousarides @ 2006-06-30 12:31 UTC (permalink / raw)
  To: Linux MTD mailing list

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-04 12:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 12:31 MTD device with multiple regions & JFFS2 Angelos Manousarides
2006-06-30 13:13 ` Josh Boyer
2006-06-30 13:56   ` Angelos Manousarides
2006-06-30 14:36     ` Josh Boyer
2006-07-04 12:22       ` Angelos Manousarides

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox