[U-Boot] [PATCH v1 6/7] dfu, nand, ubi: fix erasing after write finish

Scott Wood scott.wood at nxp.com
Wed May 25 07:33:59 CEST 2016


On 05/25/2016 12:07 AM, Heiko Schocher wrote:
> writting to ubi nand partitions need after write ends an erase
> of the remaining sectors. This fail, if dfu write size was not
> a multiple of erasesize, example log:
> 
> Failure erase: -1
> 
> Fix this error.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>

Why don't you just erase the whole partition up front?

-Scott



More information about the U-Boot mailing list