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

Alexander Schmidt alexs at linux.vnet.ibm.com
Fri Jul 27 11:23:38 EDT 2007


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



More information about the linux-mtd mailing list