[U-Boot] [PATCH v1 0/3] ubi, ubifs: sync with linux 4.2

Heiko Schocher hs at denx.de
Thu Oct 22 06:19:19 CEST 2015


sync ubi,ubifs code in U-Boot with linux 4.2

commit 64291f7db5bd8150a74ad2036f1037e6a0428df2
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Aug 30 11:34:09 2015 -0700

    Linux 4.2

This update is needed, as it turned out, that fastmap
was in experimental/broken state in kernel v3.15, which
was the last base for U-Boot

Tested this patchset on the aristainetos2 board on the NAND
and SPI NOR flash.

Ezequiel tested it also.


Heiko Schocher (3):
  linux, compat: add missing definitions for ubi
  ubi,ubifs: sync with linux v4.2
  UBI: Fastmap: Fix PEB array type

 README                          |   4 +
 common/cmd_ubi.c                |   6 +-
 drivers/mtd/ubi/attach.c        | 199 +++++------
 drivers/mtd/ubi/build.c         | 279 ++++++++--------
 drivers/mtd/ubi/debug.c         | 115 ++++++-
 drivers/mtd/ubi/debug.h         |  12 +
 drivers/mtd/ubi/eba.c           | 173 +++++++---
 drivers/mtd/ubi/fastmap-wl.c    | 372 +++++++++++++++++++++
 drivers/mtd/ubi/fastmap.c       | 617 +++++++++++++++++++----------------
 drivers/mtd/ubi/io.c            | 156 ++++-----
 drivers/mtd/ubi/kapi.c          | 119 +++++--
 drivers/mtd/ubi/misc.c          |   6 +-
 drivers/mtd/ubi/ubi-media.h     |   2 -
 drivers/mtd/ubi/ubi.h           | 128 ++++++--
 drivers/mtd/ubi/upd.c           |  10 +-
 drivers/mtd/ubi/vmt.c           | 173 ++++------
 drivers/mtd/ubi/vtbl.c          | 105 +++---
 drivers/mtd/ubi/wl.c            | 707 ++++++++++++----------------------------
 drivers/mtd/ubi/wl.h            |  34 ++
 drivers/usb/dwc3/linux-compat.h |   5 -
 fs/ubifs/budget.c               |   3 +-
 fs/ubifs/debug.c                | 200 ++++++------
 fs/ubifs/io.c                   |  68 ++--
 fs/ubifs/log.c                  |  35 +-
 fs/ubifs/lprops.c               |  94 +++---
 fs/ubifs/lpt.c                  |  64 ++--
 fs/ubifs/lpt_commit.c           |  45 +--
 fs/ubifs/master.c               |  13 +-
 fs/ubifs/orphan.c               |  27 +-
 fs/ubifs/recovery.c             |  49 ++-
 fs/ubifs/replay.c               |  51 +--
 fs/ubifs/sb.c                   |  34 +-
 fs/ubifs/scan.c                 |  38 +--
 fs/ubifs/super.c                | 148 +++++----
 fs/ubifs/tnc.c                  |  26 +-
 fs/ubifs/tnc_misc.c             |  24 +-
 fs/ubifs/ubifs.c                |  44 +--
 fs/ubifs/ubifs.h                |  71 ++--
 include/linux/compat.h          |  37 ++-
 include/linux/mtd/mtd.h         |   3 +
 include/linux/mtd/ubi.h         |  55 +++-
 41 files changed, 2506 insertions(+), 1845 deletions(-)
 create mode 100644 drivers/mtd/ubi/fastmap-wl.c
 create mode 100644 drivers/mtd/ubi/wl.h

-- 
2.1.0



More information about the U-Boot mailing list