[U-Boot] [PATCH v4] dfu, nand, ubi: add partubi alt settings for updating ubi partition

Scott Wood scottwood at freescale.com
Wed Jul 24 01:13:34 CEST 2013


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


More information about the U-Boot mailing list