[RFC] UBIFS unpacker v0
Richard Weinberger
richard at nod.at
Sat Oct 31 04:15:49 PDT 2015
Hi!
This is the first public release of the UBIFS unpack tool.
Using this tool you can unpack an UBIFS to a local directory,
it can operate directly on UBI volumes (i.e. /dev/ubiX_Y)
or nanddumps (without OOB!). If you dump from a nandump,
you have to specify the UBI volume ID you want to dump from.
So far it is rather strict and refuses to unpack if the filesystem
is corrupted. We plan to implement also a "fuzzy unpack" mode.
The patches apply on Yang's mtd-utils restructure work.
Thanks,
//richard
David Gstir (10):
ubifs: fix typo in ubifs_read
Make cli byte parsing from ubi-utils available for all tools
ubifs: add decompression functions
ubifs: remove ununsed ubifs context from key helpers
ubifs: keep scan buffer in ubifs_info
ubifs: extend master scanning code
ubifs: add missing include to defs.h
ubifs: Add more key helper functions
ubifs: add emubi, a minimal UBI emulation layer
ubifs: add ubifs_unpack
Richard Weinberger (1):
ubifs: add complete version of list.h
Makefile | 11 +-
include/common.h | 90 ++++
ubi-utils/include/ubiutils-common.h | 2 -
ubi-utils/mtdinfo.c | 6 +-
ubi-utils/ubiattach.c | 6 +-
ubi-utils/ubiformat.c | 8 +-
ubi-utils/ubimkvol.c | 6 +-
ubi-utils/ubinfo.c | 10 +-
ubi-utils/ubinize.c | 10 +-
ubi-utils/ubirsvol.c | 2 +-
ubi-utils/ubiutils-common.c | 93 ----
ubifs-utils/include/compr.h | 1 +
ubifs-utils/include/defs.h | 1 +
ubifs-utils/include/emubi.h | 82 +++
ubifs-utils/include/io.h | 2 +
ubifs-utils/include/key.h | 102 +++-
ubifs-utils/include/list.h | 305 +++++++----
ubifs-utils/include/list_sort.h | 11 +
ubifs-utils/include/master.h | 7 +
ubifs-utils/include/ubifs.h | 62 +++
ubifs-utils/lib/compr.c | 75 +++
ubifs-utils/lib/emubi.c | 371 ++++++++++++++
ubifs-utils/lib/io.c | 65 ++-
ubifs-utils/lib/list_sort.c | 157 ++++++
ubifs-utils/lib/master.c | 311 ++++++++++++
ubifs-utils/lib/scan.c | 20 +-
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 66 +--
ubifs-utils/ubifs_dump/ubifs_dump.c | 89 +---
ubifs-utils/ubifs_unpack/index.c | 648 ++++++++++++++++++++++++
ubifs-utils/ubifs_unpack/replay.c | 865 ++++++++++++++++++++++++++++++++
ubifs-utils/ubifs_unpack/ubifs_unpack.c | 619 +++++++++++++++++++++++
ubifs-utils/ubifs_unpack/ubifs_unpack.h | 107 ++++
32 files changed, 3832 insertions(+), 378 deletions(-)
More information about the linux-mtd
mailing list