mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] update UBI support
Date: Tue, 23 Jul 2013 12:27:58 +0200	[thread overview]
Message-ID: <1374575282-9592-1-git-send-email-s.hauer@pengutronix.de> (raw)

This adds the UBI layer from Linux-3.10. Since the changes in the
UBI layer are huge I chose to remove the old UBI support first and
do a fresh start. This brings us fastmap support which for the
first time makes UBI a performant alternative to using the NAND
flash naked.

Sascha

----------------------------------------------------------------
Sascha Hauer (4):
      UBI: Add ubidetach command
      ubiattach command: Properly check return values
      UBI: remove old ubi support
      UBI: reimport UBI from Linux v3.10

 commands/Kconfig                |    6 +-
 commands/ubi.c                  |   39 +-
 drivers/mtd/Makefile            |    2 +-
 drivers/mtd/ubi/Kconfig         |   82 +-
 drivers/mtd/ubi/Makefile        |    6 +-
 drivers/mtd/ubi/attach.c        | 1728 +++++++++++++++++++++++++++++++++++++++
 drivers/mtd/ubi/build.c         |  828 +++++--------------
 drivers/mtd/ubi/cdev.c          |   26 +-
 drivers/mtd/ubi/crc32defs.h     |   32 -
 drivers/mtd/ubi/debug.c         |  223 ++---
 drivers/mtd/ubi/debug.h         |  178 ++--
 drivers/mtd/ubi/eba.c           |  485 ++++++-----
 drivers/mtd/ubi/fastmap.c       | 1514 ++++++++++++++++++++++++++++++++++
 drivers/mtd/ubi/io.c            |  815 ++++++++++--------
 drivers/mtd/ubi/kapi.c          |  177 ++--
 drivers/mtd/ubi/misc.c          |   64 +-
 drivers/mtd/ubi/scan.c          | 1359 ------------------------------
 drivers/mtd/ubi/scan.h          |  162 ----
 drivers/mtd/ubi/ubi-barebox.h   |  135 +--
 drivers/mtd/ubi/ubi.h           |  632 ++++++++++----
 drivers/mtd/ubi/upd.c           |  101 +--
 drivers/mtd/ubi/vmt.c           |  509 +++---------
 drivers/mtd/ubi/vtbl.c          |  365 +++++----
 drivers/mtd/ubi/wl.c            | 1677 +++++++++++++++++++++----------------
 include/linux/barebox-wrapper.h |    6 +
 include/linux/kernel.h          |   12 +
 include/linux/mtd/mtd.h         |    5 +
 include/linux/mtd/ubi.h         |  105 ++-
 include/mtd/ubi-media.h         |  157 +++-
 include/mtd/ubi-user.h          |  312 ++++---
 include/stdlib.h                |   10 +-
 lib/random.c                    |    4 +-
 32 files changed, 7010 insertions(+), 4746 deletions(-)
 create mode 100644 drivers/mtd/ubi/attach.c
 delete mode 100644 drivers/mtd/ubi/crc32defs.h
 create mode 100644 drivers/mtd/ubi/fastmap.c
 delete mode 100644 drivers/mtd/ubi/scan.c
 delete mode 100644 drivers/mtd/ubi/scan.h

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-07-23 10:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 10:27 Sascha Hauer [this message]
2013-07-23 10:27 ` [PATCH 1/4] UBI: Add ubidetach command Sascha Hauer
2013-07-23 10:28 ` [PATCH 2/4] ubiattach command: Properly check return values Sascha Hauer
2013-07-23 10:28 ` [PATCH 3/4] UBI: remove old ubi support Sascha Hauer
2013-07-23 10:28 ` [PATCH 4/4] UBI: reimport UBI from Linux v3.10 Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1374575282-9592-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox