]> www.infradead.org Git - mtd-utils.git/log
mtd-utils.git
18 years agoUBI-Utils: Add a run_all.sh script
Adrian Hunter [Wed, 21 Mar 2007 09:54:35 +0000 (11:54 +0200)]
UBI-Utils: Add a run_all.sh script

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoUBI-Utils: Convert to new ubi library
Adrian Hunter [Wed, 21 Mar 2007 09:53:25 +0000 (11:53 +0200)]
UBI-Utils: Convert to new ubi library

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoUBI-Utils: Rename old ubi library
Adrian Hunter [Wed, 21 Mar 2007 09:45:07 +0000 (11:45 +0200)]
UBI-Utils: Rename old ubi library

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoUBI-Utils: Updated scripts for latest UBI
Adrian Hunter [Fri, 16 Mar 2007 16:08:21 +0000 (18:08 +0200)]
UBI-Utils: Updated scripts for latest UBI

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoUBI-Utils: Updated libubi for latest UBI
Adrian Hunter [Fri, 16 Mar 2007 16:07:43 +0000 (18:07 +0200)]
UBI-Utils: Updated libubi for latest UBI

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoUBI-Utils: Updated headers for latest UBI
Adrian Hunter [Fri, 16 Mar 2007 16:06:30 +0000 (18:06 +0200)]
UBI-Utils: Updated headers for latest UBI

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoUBI Tools - problem with multiple ubi devices.
Alexander Schmidt [Wed, 28 Feb 2007 09:29:34 +0000 (10:29 +0100)]
UBI Tools - problem with multiple ubi devices.

Fix problem with multiple ubi devices

Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoUBI-Utils: Increment version of pfiflash
Frank Haverkamp [Wed, 21 Feb 2007 09:40:13 +0000 (10:40 +0100)]
UBI-Utils: Increment version of pfiflash

Incrementing the version number was forgotten in  the previous patch.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoUBI Utils: pfiflash did not erase block before writing to it
Alexander Schmidt [Wed, 21 Feb 2007 09:40:13 +0000 (10:40 +0100)]
UBI Utils: pfiflash did not erase block before writing to it

Pfiflash should erase raw flash regions before overwriting them and check for
bad blocks in case of NAND flash.

Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoUBI Utils: Fix uninitialized written parameter
Frank Haverkamp [Fri, 16 Feb 2007 15:22:26 +0000 (16:22 +0100)]
UBI Utils: Fix uninitialized written parameter

The variable written was not properly initialized. That causes the
-j option to fail.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoFix several issues when compiling for 64bit systems
Josh Boyer [Tue, 13 Feb 2007 02:41:17 +0000 (20:41 -0600)]
Fix several issues when compiling for 64bit systems

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years ago[PATCH] UBI Utils: Fix syntax description for ubiupdatevol
Timo Lindhorst [Fri, 26 Jan 2007 10:50:04 +0000 (11:50 +0100)]
[PATCH] UBI Utils: Fix syntax description for ubiupdatevol

Fix the syntax description in the help and usage messages for ubiupdatevol.

Signed-off-by: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
18 years ago[MTD] UBI Utils: Update testscripts
Frank Haverkamp [Wed, 20 Dec 2006 14:09:36 +0000 (15:09 +0100)]
[MTD] UBI Utils: Update testscripts

18 years ago[PATCH] Minor ubi utils cleanups
Josh Boyer [Tue, 12 Dec 2006 08:22:48 +0000 (09:22 +0100)]
[PATCH] Minor ubi utils cleanups

Remove getopt extern declarations

Minor whitespace cleanups

Remove incorrect program names that snuck in during getopt rewrite

Change comments to match reality

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI Utils: Tools should have individual version numbers
Frank Haverkamp [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[MTD] UBI Utils: Tools should have individual version numbers

The tools had a mixture of different version numbers. This is changed now.
The internal change to move to remove glibc dependencies should be reflected
by an increase of the version number, so that we can react if trouble is
seen with the new code.

Singed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI Utils: Fix pfiflash
Frank Haverkamp [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[MTD] UBI Utils: Fix pfiflash

Various little fixes including some whitespace fixups.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI Utils: Fix wrong handling of table containing strings
Frank Haverkamp [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[MTD] UBI Utils: Fix wrong handling of table containing strings

18 years ago[MTD] UBI Utils: Fix ubiupdatevol argument parsing
Frank Haverkamp [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[MTD] UBI Utils: Fix ubiupdatevol argument parsing

The file containing the data needs to be added as argument.
The support got lost when removing the argp parsing.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 13/13] Include stdlib.h for malloc
Josh Boyer [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[PATCH 13/13] Include stdlib.h for malloc

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 12/13] Convert unubi to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[PATCH 12/13] Convert unubi to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 11/13] Convert ubiupdatevol to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[PATCH 11/13] Convert ubiupdatevol to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 10/13] Convert ubirmvol to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[PATCH 10/13] Convert ubirmvol to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 9/13] Convert ubimkvol to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[PATCH 9/13] Convert ubimkvol to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 8/13] Convert ubimirror to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[PATCH 8/13] Convert ubimirror to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 7/13] Convert ubigen to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[PATCH 7/13] Convert ubigen to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 6/13] Convert pfiflash to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:23 +0000 (14:34 +0100)]
[PATCH 6/13] Convert pfiflash to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 5/13] Convert pfi2bin to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:22 +0000 (14:34 +0100)]
[PATCH 5/13] Convert pfi2bin to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 4/13] Convert pddcustomize to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:22 +0000 (14:34 +0100)]
[PATCH 4/13] Convert pddcustomize to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 3/13] Convert nand2bin to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:22 +0000 (14:34 +0100)]
[PATCH 3/13] Convert nand2bin to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 2/13] Convert mkbootenv to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:22 +0000 (14:34 +0100)]
[PATCH 2/13] Convert mkbootenv to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH 1/13] Convert bin2nand to use getopt option parsing
Josh Boyer [Mon, 11 Dec 2006 13:34:22 +0000 (14:34 +0100)]
[PATCH 1/13] Convert bin2nand to use getopt option parsing

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[PATCH] Try 2: Remove bogus copyright statement
Josh Boyer [Tue, 5 Dec 2006 21:56:29 +0000 (15:56 -0600)]
[PATCH] Try 2: Remove bogus copyright statement

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI: rework of off-line UBI analysis tool
Drake Dowsett [Mon, 6 Nov 2006 15:54:10 +0000 (16:54 +0100)]
[MTD] UBI: rework of off-line UBI analysis tool

The new version can create a gnuplot graph of the erase count statistics.
It can also extract UBI volumes and single blocks with a preanalysis of
the EC as well as the VID header. It has a manual page too ;-).

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI: pfiflash needs to flash raw sections and check CRC
Drake Dowsett [Mon, 6 Nov 2006 15:54:10 +0000 (16:54 +0100)]
[MTD] UBI: pfiflash needs to flash raw sections and check CRC

Flashing of raw partitions should be possible now.
CRC checking of pfi files before flashing the content was added.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI: Update testscripts
Frank Haverkamp [Mon, 6 Nov 2006 15:54:10 +0000 (16:54 +0100)]
[MTD] UBI: Update testscripts

The testscripts ensure the correct functionality of the UBI code on
my reference system.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI: Fixed 16 KiB blocksize problem.
Frank Haverkamp [Mon, 10 Jul 2006 13:47:05 +0000 (15:47 +0200)]
[MTD] UBI: Fixed 16 KiB blocksize problem.

18 years ago[MTD] UBI: Fixed program versions
Frank Haverkamp [Fri, 30 Jun 2006 12:28:31 +0000 (14:28 +0200)]
[MTD] UBI: Fixed program versions

18 years ago[MTD] UBI: Adaptations to new driver, reworked frontend
dedekind@linutronix.de [Fri, 30 Jun 2006 12:05:25 +0000 (14:05 +0200)]
[MTD] UBI: Adaptations to new driver, reworked frontend

18 years agoFix ubi-header.h to use userspace swab functions
Josh Boyer [Wed, 21 Jun 2006 13:37:06 +0000 (08:37 -0500)]
Fix ubi-header.h to use userspace swab functions

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years ago[MTD] UBI: Enhanced example for testing.
Frank Haverkamp [Wed, 21 Jun 2006 13:28:37 +0000 (15:28 +0200)]
[MTD] UBI: Enhanced example for testing.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI: fixed bug in bin2nand introduced by the previous change.
Frank Haverkamp [Wed, 21 Jun 2006 13:07:46 +0000 (15:07 +0200)]
[MTD] UBI: fixed bug in bin2nand introduced by the previous change.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years ago[MTD] UBI: Removed automake, autoconf, added ubi userspace headers.
Frank Haverkamp [Wed, 21 Jun 2006 12:26:02 +0000 (14:26 +0200)]
[MTD] UBI: Removed automake, autoconf, added ubi userspace headers.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years agoUBI - Unsorted Block Images
Frank Haverkamp [Wed, 14 Jun 2006 09:53:59 +0000 (11:53 +0200)]
UBI - Unsorted Block Images

UBI (Latin: "where?") manages multiple logical volumes on a single
flash device, specifically supporting NAND flash devices. UBI provides
a flexible partitioning concept which still allows for wear-levelling
across the whole flash device.

In a sense, UBI may be compared to the Logical Volume Manager
(LVM). Whereas LVM maps logical sector numbers to physical HDD sector
numbers, UBI maps logical eraseblocks to physical eraseblocks.

More information may be found in the UBI design documentation:
ubidesign.pdf. Which can be found here:
http://www.linux-mtd.infradead.org/doc/ubi.html

Partitioning/Re-partitioning

  An UBI volume occupies a certain number of erase blocks. This is
  limited by a configured maximum volume size, which could also be
  viewed as the partition size. Each individual UBI volume's size can
  be changed independently of the other UBI volumes, provided that the
  sum of all volume sizes doesn't exceed a certain limit.

  UBI supports dynamic volumes and static volumes. Static volumes are
  read-only and their contents are protected by CRC check sums.

Bad eraseblocks handling

  UBI transparently handles bad eraseblocks. When a physical
  eraseblock becomes bad, it is substituted by a good physical
  eraseblock, and the user does not even notice this.

Scrubbing

  On a NAND flash bit flips can occur on any write operation,
  sometimes also on read. If bit flips persist on the device, at first
  they can still be corrected by ECC, but once they accumulate,
  correction will become impossible. Thus it is best to actively scrub
  the affected eraseblock, by first copying it to a free eraseblock
  and then erasing the original. The UBI layer performs this type of
  scrubbing under the covers, transparently to the UBI volume users.

Erase Counts

  UBI maintains an erase count header per eraseblock. This frees
  higher-level layers (like file systems) from doing this and allows
  for centralized erase count management instead. The erase counts are
  used by the wear-levelling algorithm in the UBI layer. The algorithm
  itself is exchangeable.

Booting from NAND

  For booting directly from NAND flash the hardware must at least be
  capable of fetching and executing a small portion of the NAND
  flash. Some NAND flash controllers have this kind of support. They
  usually limit the window to a few kilobytes in erase block 0. This
  "initial program loader" (IPL) must then contain sufficient logic to
  load and execute the next boot phase.

  Due to bad eraseblocks, which may be randomly scattered over the
  flash device, it is problematic to store the "secondary program
  loader" (SPL) statically. Also, due to bit-flips it may become
  corrupted over time. UBI allows to solve this problem gracefully by
  storing the SPL in a small static UBI volume.

UBI volumes vs. static partitions

  UBI volumes are still very similar to static MTD partitions:

    * both consist of eraseblocks (logical eraseblocks in case of UBI
      volumes, and physical eraseblocks in case of static partitions;
    * both support three basic operations - read, write, erase.

  But UBI volumes have the following advantages over traditional
  static MTD partitions:

    * there are no eraseblock wear-leveling constraints in case of UBI
      volumes, so the user should not care about this;
    * there are no bit-flips and bad eraseblocks in case of UBI volumes.

  So, UBI volumes may be considered as flash devices with relaxed
  restrictions.

Where can it be found?

  Documentation, kernel code and applications can be found in the MTD
  gits.

What are the applications for?

  The applications help to create binary flash images for two
  purposes: pfi files (partial flash images) for in-system update of
  UBI volumes, and plain binary images, with or without OOB data in
  case of NAND, for a manufacturing step. Furthermore some tools
  are/and will be created that allow flash content analysis after a
  system has crashed.

Who did UBI?

  The original ideas, where UBI is based on, were developed by Andreas
  Arnez, Frank Haverkamp and Thomas Gleixner. Josh W. Boyer and
  some others were involved too. The implementation of the kernel
  layer was done by Artem B. Bityutskiy. The user-space applications
  and tools were written by Oliver Lohmann with contributions from
  Frank Haverkamp, Andreas Arnez, and Artem. Joern Engel contributed a
  patch which modifies JFFS2 so that it can be run on a UBI
  volume. Thomas Gleixner did modifications to the NAND layer and also
  some to JFFS2 to make it work.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
18 years agoFixup whitespace
Josh Boyer [Tue, 10 Oct 2006 01:49:57 +0000 (20:49 -0500)]
Fixup whitespace

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoReport compressed file sizes (including node headers) in mkfs.jffs2 stats.
Daniel P. Berrange [Mon, 18 Sep 2006 07:42:57 +0000 (08:42 +0100)]
Report compressed file sizes (including node headers) in mkfs.jffs2 stats.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
18 years agoAdd xseqno into jffs2_raw_xref on mkfs.jffs2
KaiGai Kohei [Mon, 7 Aug 2006 14:13:32 +0000 (09:13 -0500)]
Add xseqno into jffs2_raw_xref on mkfs.jffs2

Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoAdd patch from David Byron for separating source and build directories
David Byron [Thu, 3 Aug 2006 12:20:12 +0000 (07:20 -0500)]
Add patch from David Byron for separating source and build directories

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoAdded 64-bit swapping functions
Josh Boyer [Wed, 21 Jun 2006 13:29:56 +0000 (08:29 -0500)]
Added 64-bit swapping functions

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoFix swab32 to use standard types
Josh Boyer [Wed, 21 Jun 2006 13:08:25 +0000 (08:08 -0500)]
Fix swab32 to use standard types

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoRemove crufty autocrap Makefile
Josh Boyer [Wed, 14 Jun 2006 13:19:18 +0000 (08:19 -0500)]
Remove crufty autocrap Makefile

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoUpdate yet again to latest mtd-abi.h from kernel tree. And fix mtd_debug.c.
Josh Boyer [Wed, 31 May 2006 01:32:26 +0000 (20:32 -0500)]
Update yet again to latest mtd-abi.h from kernel tree.  And fix mtd_debug.c.
Again.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoAdd .gitignore file
Thomas Gleixner [Mon, 29 May 2006 22:48:28 +0000 (00:48 +0200)]
Add .gitignore file

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
19 years agoUpdate mtd-abi.h and use new NAND ECC functionality
Thomas Gleixner [Mon, 29 May 2006 22:41:57 +0000 (00:41 +0200)]
Update mtd-abi.h and use new NAND ECC functionality

The NAND rework exposes more information to userspace and
has a different mechanism to read raw FLASH contents without
ECC. Update nanddump and nandwrite. Use the new ECC statistics
ioctl to inform the user about corrected and uncorrectable
bitflips.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
19 years agoUpdate user headers from latest kernel tree
Josh Boyer [Mon, 29 May 2006 13:41:35 +0000 (08:41 -0500)]
Update user headers from latest kernel tree

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoFix mtd_debug for new upstream mtd-abi.h
Josh Boyer [Sat, 27 May 2006 15:15:07 +0000 (10:15 -0500)]
Fix mtd_debug for new upstream mtd-abi.h

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoMerge git://git.infradead.org/users/joern/utils
Josh Boyer [Sat, 27 May 2006 15:10:03 +0000 (10:10 -0500)]
Merge git://git.infradead.org/users/joern/utils

19 years agoUpdate mtd-abi.h from upstream kernel.
Josh Boyer [Sat, 27 May 2006 15:09:57 +0000 (10:09 -0500)]
Update mtd-abi.h from upstream kernel.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agos/oobblock/writesize/g
Joern Engel [Tue, 23 May 2006 17:53:16 +0000 (19:53 +0200)]
s/oobblock/writesize/g

Follow the kernel in the rename.

Signed-off-by: Joern Engel <joern@wh.fh-wedel.de>
19 years agoNeed to include stdint.h to use standard types
Josh Boyer [Wed, 17 May 2006 23:29:57 +0000 (18:29 -0500)]
Need to include stdint.h to use standard types

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoSwitch to using standard types. This is userspace, not kernel.
Josh Boyer [Wed, 17 May 2006 23:21:50 +0000 (18:21 -0500)]
Switch to using standard types.  This is userspace, not kernel.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoRemove ancient filesystem tool that never went anywhere
Josh Boyer [Wed, 17 May 2006 23:19:26 +0000 (18:19 -0500)]
Remove ancient filesystem tool that never went anywhere

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoConsolidate the swab macros into one location
Josh Boyer [Tue, 16 May 2006 10:39:27 +0000 (05:39 -0500)]
Consolidate the swab macros into one location

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoMTD Utils. (Resubmit as attachment)
Steve Finney [Thu, 11 May 2006 22:34:54 +0000 (15:34 -0700)]
MTD Utils. (Resubmit as attachment)

Modify nanddump to take a '-n' argument for reading
without error correction; also accept hex (and octal) for start and
length.

Signed-off-by: Steven Finney (sfinney@healthhero.com)
19 years agoMTD Utils. (Resubmit as attachment)
Steve Finney [Thu, 11 May 2006 22:34:09 +0000 (15:34 -0700)]
MTD Utils. (Resubmit as attachment)

Modify nandwrite to accept hex argument for "-s" argument; also
make an error message more accurate.

Signed-off-by: Steven Finney <sfinney@healthhero.com>
19 years agoMTD Utils. (Resubmit as attachment)
Steve Finney [Thu, 11 May 2006 22:33:12 +0000 (15:33 -0700)]
MTD Utils. (Resubmit as attachment)

Add a basic usage message to flash_erase.c.

Signed-off-by: Steven Finney <sfinney@healthhero.com>
19 years agoRemove XATTR struct typedefs
David Woodhouse [Sun, 14 May 2006 17:45:57 +0000 (18:45 +0100)]
Remove XATTR struct typedefs

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years agoAdd XATTR support to mkfs.jffs2
David Woodhouse [Sat, 6 May 2006 11:53:55 +0000 (12:53 +0100)]
Add XATTR support to mkfs.jffs2

Since this is optional, it might as well go in immediately.

19 years agoAdd GPL license text
Josh Boyer [Tue, 2 May 2006 00:54:45 +0000 (19:54 -0500)]
Add GPL license text

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoFix make install v1.0.0
David Woodhouse [Sun, 30 Apr 2006 21:26:48 +0000 (22:26 +0100)]
Fix make install

19 years agoFix mtd_debug after removal of some MTD types and flags
Josh Boyer [Sat, 22 Apr 2006 13:58:37 +0000 (08:58 -0500)]
Fix mtd_debug after removal of some MTD types and flags

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoUpdate ABI header with latest changes from kernel
Josh Boyer [Mon, 17 Apr 2006 17:02:40 +0000 (12:02 -0500)]
Update ABI header with latest changes from kernel

Signed-off-by: Josh Boyer <jwboyer@yoda.jdub.homelinux.org>
19 years agoFix cbuf free properly.
David Woodhouse [Wed, 12 Apr 2006 01:32:47 +0000 (20:32 -0500)]
Fix cbuf free properly.
Noted by Dan Berrange.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoFix memory leak in write_regular_file()
David Woodhouse [Wed, 12 Apr 2006 01:29:58 +0000 (20:29 -0500)]
Fix memory leak in write_regular_file()

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years ago- Update utils to build from in tree include files
Josh Boyer [Wed, 12 Apr 2006 01:05:27 +0000 (20:05 -0500)]
- Update utils to build from in tree include files
- Revert any ebh stuff for now

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoAdd include directory to new mtd-utils repo. This contains all the user space
Josh Boyer [Wed, 12 Apr 2006 01:04:37 +0000 (20:04 -0500)]
Add include directory to new mtd-utils repo.  This contains all the user space
include files needed for the utils

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
19 years agoInitial commit
David Woodhouse [Tue, 11 Apr 2006 23:09:16 +0000 (19:09 -0400)]
Initial commit