From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.de.keymile.com ([195.8.104.1]) by canuck.infradead.org with smtp (Exim 4.72 #1 (Red Hat Linux)) id 1PfvRW-0007r5-VB for linux-mtd@lists.infradead.org; Thu, 20 Jan 2011 14:24:55 +0000 Message-ID: <4D3845AE.2040002@keymile.com> Date: Thu, 20 Jan 2011 15:24:46 +0100 From: Holger Brunck MIME-Version: 1.0 To: linux-mtd@lists.infradead.org Subject: MTD concat support for linux and UBI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Stefan Roese , "agust@denx.de" , Detlev Zundel List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. 2) Adapting the concat feature in Linux to forbid concatenating flashes with different writebuffersizes. Best regards Holger Brunck