Re: How can I prevent MTD to access the end of a flash device ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2006/4/23, Nicolas Pitre <[email protected]>:
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux