
Hi,
Now you can use the latest UBI u-boot tree at http://git.denx.de/?p=u-boot/u-boot-ubi.git;a=summary
It has minor cleanup after previous post and provides the reference usage using apollon board which has OneNAND.
Makefile | 1 board/apollon/Makefile | 4 board/apollon/ubi.c | 55 + common/Makefile | 1 common/cmd_ubi.c | 535 +++++++++++++ drivers/mtd/Makefile | 1 drivers/mtd/mtdcore.c | 142 +++ drivers/mtd/mtdpart.c | 531 +++++++++++++ drivers/mtd/ubi/Makefile | 48 + drivers/mtd/ubi/build.c | 1182 ++++++++++++++++++++++++++++ drivers/mtd/ubi/crc32.c | 514 ++++++++++++ drivers/mtd/ubi/crc32defs.h | 32 + drivers/mtd/ubi/crc32table.h | 136 +++ drivers/mtd/ubi/debug.c | 192 +++++ drivers/mtd/ubi/debug.h | 152 ++++ drivers/mtd/ubi/eba.c | 1256 ++++++++++++++++++++++++++++++ drivers/mtd/ubi/io.c | 1274 +++++++++++++++++++++++++++++++ drivers/mtd/ubi/kapi.c | 638 +++++++++++++++ drivers/mtd/ubi/misc.c | 106 +++ drivers/mtd/ubi/scan.c | 1361 +++++++++++++++++++++++++++++++++ drivers/mtd/ubi/scan.h | 165 ++++ drivers/mtd/ubi/ubi-media.h | 372 +++++++++ drivers/mtd/ubi/ubi.h | 641 +++++++++++++++ drivers/mtd/ubi/upd.c | 441 +++++++++++ drivers/mtd/ubi/vmt.c | 862 +++++++++++++++++++++ drivers/mtd/ubi/vtbl.c | 837 ++++++++++++++++++++ drivers/mtd/ubi/wl.c | 1670 ++++++++++++++++++++++++++++++++++++++++ include/configs/apollon.h | 27 + include/linux/crc32.h | 27 + include/linux/mtd/mtd.h | 1 include/linux/mtd/partitions.h | 84 ++ include/linux/mtd/ubi.h | 186 ++++ include/linux/types.h | 24 + include/mtd/ubi-header.h | 372 +++++++++ include/mtd/ubi-user.h | 268 ++++++ include/ubi_uboot.h | 209 +++++ 36 files changed, 14343 insertions(+), 4 deletions(-)
Thank you, Kyungmin Park