[PATCH] mtd-utils: ubiformat: Add fastmap support

Sascha Hauer s.hauer at pengutronix.de
Wed Oct 22 00:48:29 PDT 2014


When flashing an image with ubiformat fastmap is not supported since
the first 64 eraseblocks are occupied with data, so the fastmap code
does not find a place to put the fastmap anchor. This series changes
this and allows to use fastmap with ubiformat flashed images.

Sascha Hauer (2):
      ubiformat: Factor out a write_eraseblock function
      ubiformat: Leave space for fastmap anchor

 ubi-utils/ubiformat.c | 251 +++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------
 1 file changed, 121 insertions(+), 130 deletions(-)




More information about the linux-mtd mailing list