MTD concat support for linux and UBI

Artem Bityutskiy dedekind1 at gmail.com
Sat Jan 22 11:07:03 EST 2011


On Thu, 2011-01-20 at 15:24 +0100, Holger Brunck wrote:
> Hi all,
> I have got a general question to the MTD concat feature in Linux. Is it allowed
> to concatenate NOR flashes with different writebuffersizes? Currently the code
> allows this.
> If so I see a problem for different sizes when dealing with UBI volumes
> comprehending such flashes. Some days ago some patches were added to adjust the
> min I/O size for UBI to the writebuffersize of the flash. If now two flashes
> with different writebuffersizes are concatenated whats the way forward? I see
> two solutions:
> 1) Using the writebuffersize from the flash with the largest writebuffer for min
> I/O size in UBI.

I think this is the way to go.

> 2) Adapting the concat feature in Linux to forbid concatenating flashes with
> different writebuffersizes.


-- 
Best Regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list