Messages in this thread | | | Date | Sun, 23 Apr 2006 20:57:30 +0200 | From | "Franck Bui-Huu" <> | Subject | Re: How can I prevent MTD to access the end of a flash device ? |
| |
2006/4/23, Nicolas Pitre <nico@cam.org>: > On Sun, 23 Apr 2006, Franck Bui-Huu wrote: > > > > Your advice seems fine, but it brings some restrictions on flash > > concatenations: for example, if I have 2 flashes of 32Mbytes, I need > > to create 2 partitions whose sizes are 32M - 64K bytes but then I > > can't concatenate these two partitions anymore since concatenation > > works with mtd devices, not partitions, does it ? > > MTD partitions are MTD "devices" as well. >
well, mtd_concat_create() functions doesn't use MTD partitions...and what's happening if the user needs to use its own partitions based on a device resulting of several concatenated flashes? It migth be possible to still use your solution and just fix user partitions but it really seems easier to fix the MTD size after it the flash has been probed.
Do you think it's possible to change the size of a mtd device rigth after probing it ?
Thanks -- Franck - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |