Skip to content

ubi-utils: migrate to new libubi

Alexander Schmidt linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 5 patches 7 repliesIn review

1 of 5 patches is in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ubi-utils: introduction of libubi_commonubi-utils/src/libubi_common.c ubi-utils/src/libubi_common.h+171 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ubi-utils: migrate to new libubi

This patchset migrates the remaining tools (pddcustomize, ubimirror and pfiflash) to the new libubi. It also introduces a new libubi_common.c file which contains some helper functions for the tools.

I've tested the new version with the scripts in ubi-utils/scripts/ubi_* and everything works fine.

 mtd-utils.orig/ubi-utils/inc/libubiold.h       |  310 ----------
 mtd-utils.orig/ubi-utils/src/libubiold.c       |  768 -------------------------
 mtd-utils.orig/ubi-utils/src/libubiold_int.h   |  119 ---
 mtd-utils.orig/ubi-utils/src/libubiold_sysfs.c |  232 -------
 mtd-utils.orig/ubi-utils/src/libubiold_sysfs.h |  109 ---
 mtd-utils/ubi-utils/src/libubi_common.c        |   93 +++
 mtd-utils/ubi-utils/src/libubi_common.h        |   78 ++
 ubi-utils/Makefile                             |    6
 ubi-utils/src/libpfiflash.c                    |  132 ++--
 ubi-utils/src/libubimirror.c                   |   21
 ubi-utils/src/pddcustomize.c                   |   44 -
 ubi-utils/src/pfiflash.c                       |    3
 ubi-utils/src/ubimirror.c                      |    3
 13 files changed, 306 insertions(+), 1612 deletions(-)

Kind regards,
Alexander Schmidt