[PATCH 0/8] ubi: fastmap: Support for preseeded fastmap

From: Richard Weinberger
Date: Mon May 14 2018 - 07:24:38 EST


This series implements support for preseeded fastmaps.
A preseeded fastmap is a fastmap created by tools such as ubinize.
That way fastmap deployment is less painful.

I will send a v2 series for sure since I'm still testing the approach,
so far none of my tests explodes.

Richard Weinberger (8):
ubi: fastmap: Add support for flags
ubi: fastmap: Add UBI_FM_SB_PRESEEDED_FLG flag
ubi: fastmap: Implement PEB fixup
ubi: fastmap: Handle bad block count for preseeded fastmap case
ubi: fastmap: Fixup pool sizes for preseeded fastmaps
ubi: fastmap: Scan empty space if fastmap is preseeded
ubi: fastmap: Relax size check
ubi: Fix assert in ubi_wl_init

drivers/mtd/ubi/attach.c | 1 +
drivers/mtd/ubi/fastmap.c | 244 ++++++++++++++++++++++++++++++++++++++++----
drivers/mtd/ubi/ubi-media.h | 15 ++-
drivers/mtd/ubi/ubi.h | 4 +
drivers/mtd/ubi/wl.c | 5 +-
5 files changed, 243 insertions(+), 26 deletions(-)

--
2.13.6