From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 13 Dec 2011 14:00:18 -0600 Subject: [U-Boot] Segmented RAM, big userspace. In-Reply-To: <20111213160810.GA27440@build.ihdev.net> References: <20111213160810.GA27440@build.ihdev.net> Message-ID: <4EE7AED2.3090508@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/13/2011 10:08 AM, Sergey Lapin wrote: > It is possible to flash filesystems in parts, but for this to work > these are needed to be properly split. This raises a problem of > bad blocks - writing previous piece might end not where you expect it to > end, but a few blocks later. Hand-handling this case is too error-prone. Use a separate partition for each chunk. Each partition should have extra space for as many bad blocks as you reasonably anticipate in that partition. The start address of each partition is fixed, regardless of the number of bad blocks in previous partitions. -Scott