From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 23 Jul 2013 18:13:34 -0500 Subject: [U-Boot] [PATCH v4] dfu, nand, ubi: add partubi alt settings for updating ubi partition In-Reply-To: <51EE8123.8020402@denx.de> (from hs@denx.de on Tue Jul 23 08:12:03 2013) Message-ID: <1374621214.15592.42@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/23/2013 08:12:03 AM, Heiko Schocher wrote: > Hello Scott, > > Am 22.07.2013 23:24, schrieb Scott Wood: >> On 07/18/2013 11:32:14 PM, Heiko Schocher wrote: >>> - This patch is also a good starting point to fix up updating ubi, >>> as >>> we currently use "nand erase" for erasing the sektors. This is >>> not the prefered way for writing an ubi image, see: >>> http://www.linux-mtd.infradead.org/faq/ubi.html#L_flash_img >>> >>> This must be fixed ... we have no "ubiformat" in u-boot, or? >> >> In the meantime, should you be using WITH_DROP_FFS when "ubi" is >> set? Though we really should be skipping FFs at the end of each >> block, rather than just at the end of the image. > > Yes, but this would be another patch, as this patch did not > touch the nand write part ...! It was a response to the comment, not to the patch. -Scott