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

Paul Burton paul.burton at imgtec.com
Tue Aug 6 12:13:46 CEST 2013


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

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

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

 common/cmd_mtdparts.c              | 54 ++++++++++++++++++---------------
 common/cmd_ubi.c                   | 62 +++++++++++++++++++++++++++++---------
 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, 120 insertions(+), 55 deletions(-)

-- 
1.8.3.4




More information about the U-Boot mailing list