[U-Boot] [PATCH v2 0/4] MTD & UBI fixes

Paul Burton paul.burton at imgtec.com
Wed Sep 4 16:16:55 CEST 2013


This patchset corrects a few issues I've had whilst using UBI with U-boot.

The first 3 are bug fixes, the 4th is an addition I needed in order to write a
large root filesystem into my NAND device.

Changes since v1:
  - Fixed style issues in "cmd_ubi: add write.part command..." as per
    Stefan Roese's comments.
  - Expanded upon the condition patch 1 fixes in response to the
    queries from Stefan, see the commit message for further detail.
  - Added patch 3 "cmd_ubi: use int64_t volume size for 'ubi create'"
    which it seems appropriate to include in this series.

Paul Burton (4):
  mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN
  cmd_mtdparts: use 64 bits for flash size, partition size & offset
  cmd_ubi: use int64_t volume size for 'ubi create'
  cmd_ubi: add write.part command, to write a volume in multiple parts

 common/cmd_mtdparts.c              | 54 ++++++++++++++------------
 common/cmd_ubi.c                   | 79 +++++++++++++++++++++++++++-----------
 doc/README.ubi                     |  3 ++
 drivers/mtd/mtdcore.c              | 14 ++++++-
 drivers/mtd/mtdpart.c              | 12 +++---
 drivers/mtd/nand/nand_base.c       | 18 +++++++--
 drivers/mtd/onenand/onenand_base.c |  3 +-
 include/jffs2/load_kernel.h        |  6 +--
 include/linux/mtd/nand.h           |  3 ++
 9 files changed, 129 insertions(+), 63 deletions(-)

-- 
1.8.3.4




More information about the U-Boot mailing list