]> www.infradead.org Git - mtd-utils.git/log
mtd-utils.git
17 years agoRemove mkfs.jffs utility. The filesystem support was removed in the kernel
Josh Boyer [Mon, 26 Nov 2007 14:12:37 +0000 (08:12 -0600)]
Remove mkfs.jffs utility.  The filesystem support was removed in the kernel
in 2.6.21.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
17 years agoubi-utils: nand2bin had ECC calculation problems
Frank Haverkamp [Sat, 24 Nov 2007 10:04:51 +0000 (11:04 +0100)]
ubi-utils: nand2bin had ECC calculation problems

Fixed a problem when ECC was checked. The correction was not properly
done by subpage. Added more output for the moment to be able to figure
out more potential problems.

Added testcase: bin2nand2bin.sh and biterror inject program inject_biterror.pl

Interface
  o ECC correction disabled by default. Switch to turn it
    explicitly on. The user must specify what he wants to be done.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
17 years agoubi-utils: unubi add physical erase block number for analysis
Frank Haverkamp [Sat, 24 Nov 2007 10:04:51 +0000 (11:04 +0100)]
ubi-utils: unubi add physical erase block number for analysis

The number is usefull to analyze cards with broken flash content.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
17 years agoubi-utils: various fixes in unubi
Frank Haverkamp [Sat, 24 Nov 2007 10:04:51 +0000 (11:04 +0100)]
ubi-utils: various fixes in unubi

The extraction of data from blocks used for dynamic volumes was
totally broken. The data size was calculated wrong. This fix is not
perfect, the alignment is still ignored.

The parameter "header-size" is very misleading. It does not reflect
the vid hdr offset properly. I assume therefor that it only works for
the layout I am using where the vid hdr is at the _end_ of the 1st
NAND page (2048).

I added the generation of a textfile with information about the blocks
which are going into the internal graph representation.

Instead of a graph I think that a simple array will simplify the code
very much. The array must than be sorted properly to cope with older
and newer block-copies but that should not be a problem.

discussed the tool with my coleage Andreas Arnez and we found that it
might be a good idea to replace it even with a perl program for the
same purpose since that would offer the flexibility to change it on
the fly when needed. The tool is mainly used for crash analysis so it
could be an advantage to change it without needing a C-compiler.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
17 years agoubi-utils: Test-case for unubi
Frank Haverkamp [Sat, 24 Nov 2007 10:04:50 +0000 (11:04 +0100)]
ubi-utils: Test-case for unubi

We have no good testcases for this kind of tool yet. Adding a 1st
draft.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
17 years agoubi-utils: Update and bugfix unubi
Frank Haverkamp [Sat, 24 Nov 2007 10:04:50 +0000 (11:04 +0100)]
ubi-utils: Update and bugfix unubi

Drake Dawsett had done some changes to our unubi which where not yet
published. I hereby send his latest code and integrated the parameter
handling which was changed in our version. When reviewing this very
huge patch we need to ensure that possible changes of others are not
reversed.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
17 years agoubi-utils: migrate to new libubi
Alexander Schmidt [Wed, 3 Oct 2007 07:41:25 +0000 (10:41 +0300)]
ubi-utils: migrate to new libubi

This patchset migrates the remaining tools (pddcustomize, ubimirror and
pfiflash) to the new libubi.

Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoubi-utils: Nand2bin add more information when bad blocks occur
Frank Haverkamp [Wed, 26 Sep 2007 11:40:10 +0000 (13:40 +0200)]
ubi-utils: Nand2bin add more information when bad blocks occur

When bad blocks occur more debug information is needed.
To identify the bad blocks the blocksize is required.
The split block mode was added to generate files per
block. In split mode the bad block markers are analyzed
and a summary is printed at the end.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
17 years agoubi-utils: Fixup oob data generation
Frank Haverkamp [Wed, 26 Sep 2007 11:40:10 +0000 (13:40 +0200)]
ubi-utils: Fixup oob data generation

The filename for the OOB data was wrongly assigned.
OOB data could therefore not be dumped.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
17 years agofs-tests: fix bug in simple test_2
Adrian Hunter [Fri, 14 Sep 2007 15:00:19 +0000 (18:00 +0300)]
fs-tests: fix bug in simple test_2

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoAdd test program orph.c
Adrian Hunter [Fri, 20 Jul 2007 08:31:18 +0000 (11:31 +0300)]
Add test program orph.c

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoImprove option handling in nandtest, add markbad and offset/length options.
David Woodhouse [Tue, 11 Sep 2007 09:48:43 +0000 (11:48 +0200)]
Improve option handling in nandtest, add markbad and offset/length options.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoUpdate usage information for serve_image
David Woodhouse [Fri, 31 Aug 2007 23:58:41 +0000 (00:58 +0100)]
Update usage information for serve_image

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoubi-utils: remove useless build information
Artem Bityutskiy [Wed, 29 Aug 2007 16:03:56 +0000 (19:03 +0300)]
ubi-utils: remove useless build information

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoubi-utils: get rid of compile warnings
Artem Bityutskiy [Wed, 29 Aug 2007 15:51:07 +0000 (18:51 +0300)]
ubi-utils: get rid of compile warnings

Just silly hacks. Also remove udevsettle() invocation from UBI
library. If it must be called, it is not library's business
anyway. Wa added it to make scripts which use ubimkvol utility
run, so it is the only caller that really needs this. So
just move the cruft to the utility.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoubi-utils: add utils to make install
Artem Bityutskiy [Wed, 29 Aug 2007 15:06:45 +0000 (18:06 +0300)]
ubi-utils: add utils to make install

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoubi-utils: build utils from top dir
Artem Bityutskiy [Wed, 29 Aug 2007 14:28:08 +0000 (17:28 +0300)]
ubi-utils: build utils from top dir

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoubi-utils: do not interfer with system namespace
Artem Bityutskiy [Wed, 29 Aug 2007 13:01:26 +0000 (16:01 +0300)]
ubi-utils: do not interfer with system namespace

Rename __unused to ubi_unused to avoid clashes with system namespace

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoMake optflags easier for distros to override
David Woodhouse [Wed, 29 Aug 2007 10:59:47 +0000 (11:59 +0100)]
Make optflags easier for distros to override

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoImprove up recv_image error handling
David Woodhouse [Fri, 17 Aug 2007 08:26:36 +0000 (16:26 +0800)]
Improve up recv_image error handling

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoMake redundancy amount easier to change in serve_image
David Woodhouse [Wed, 15 Aug 2007 09:37:02 +0000 (17:37 +0800)]
Make redundancy amount easier to change in serve_image

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoImprove stats and output in recv_image
David Woodhouse [Wed, 15 Aug 2007 09:14:04 +0000 (17:14 +0800)]
Improve stats and output in recv_image

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoDouble packet size for multicast images
David Woodhouse [Wed, 15 Aug 2007 08:46:55 +0000 (16:46 +0800)]
Double packet size for multicast images

This halves the FEC decode time and doesn't seem to hurt the error rate
much.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoMore timing measurements
David Woodhouse [Wed, 15 Aug 2007 03:00:41 +0000 (11:00 +0800)]
More timing measurements

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoSwitch multicast distribution system to round-robin mode
David Woodhouse [Tue, 14 Aug 2007 14:54:49 +0000 (22:54 +0800)]
Switch multicast distribution system to round-robin mode

Send one packet from each eraseblock in turn, rather than all packets
for one eraseblock together. This means that bursts of loss are evenly
spread between blocks. It also makes the client side a bit more complex
if you can't assume that there's anywhere except the flash to store its
intermediate data.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoRearrange serve_image.c to allow for easily sending one packet per block
David Woodhouse [Tue, 14 Aug 2007 07:04:00 +0000 (15:04 +0800)]
Rearrange serve_image.c to allow for easily sending one packet per block
in round-robin fashion rather than full blocks one at a time.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoMerge branch 'master' of git+ssh://git.infradead.org/srv/git/mtd-utils
David Woodhouse [Tue, 14 Aug 2007 01:55:04 +0000 (09:55 +0800)]
Merge branch 'master' of git+ssh://git.infradead.org/srv/git/mtd-utils

17 years agoImport FEC code from Luigi Rizzo's RMDP
David Woodhouse [Mon, 13 Aug 2007 16:50:39 +0000 (00:50 +0800)]
Import FEC code from Luigi Rizzo's RMDP

Paper: http://info.iet.unipi.it/~luigi/mccr6.ps.gz
Code:  http://info.iet.unipi.it/~luigi/rmdp980703.tgz

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoubi-utils: add -m option to ubimkvol
Zoltan Sogor [Fri, 10 Aug 2007 09:37:56 +0000 (11:37 +0200)]
ubi-utils: add -m option to ubimkvol

Creates the volume with maximum available size

Signed-off-by: Zoltan Sogor <weth@inf.u-szeged.hu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
17 years agoFix timing calculations for serve_image
David Woodhouse [Sat, 11 Aug 2007 14:40:38 +0000 (22:40 +0800)]
Fix timing calculations for serve_image

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoMark blocks bad on failed write; don't abort.
David Woodhouse [Fri, 10 Aug 2007 09:22:53 +0000 (17:22 +0800)]
Mark blocks bad on failed write; don't abort.

17 years agoFine-tine the TX timing for serve_image.
David Woodhouse [Fri, 10 Aug 2007 06:40:01 +0000 (14:40 +0800)]
Fine-tine the TX timing for serve_image.

It just busy-waits until it's time to send the next packet now. Which
sucks, but gives us good timing for debugging. Needs work (and actually
if we have hrtimers we probably _can_ sleep and still have proper
timing).

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoFix repeated warning about ECC correction, in nandtest
David Woodhouse [Thu, 9 Aug 2007 15:25:04 +0000 (23:25 +0800)]
Fix repeated warning about ECC correction, in nandtest

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoChange multicast protocol to allow for a resending flag
David Woodhouse [Thu, 9 Aug 2007 13:44:16 +0000 (21:44 +0800)]
Change multicast protocol to allow for a resending flag

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoAdd utilities for multicast send/receive of MTD images.
David Woodhouse [Thu, 9 Aug 2007 08:23:56 +0000 (16:23 +0800)]
Add utilities for multicast send/receive of MTD images.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoAdd nand integrity testing utility.
David Woodhouse [Thu, 9 Aug 2007 08:23:19 +0000 (16:23 +0800)]
Add nand integrity testing utility.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoCopy with write errors in nandwrite, add 'markbad' option too.
David Woodhouse [Mon, 6 Aug 2007 08:13:30 +0000 (16:13 +0800)]
Copy with write errors in nandwrite, add 'markbad' option too.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
17 years agoIncrement mkfs.jffs2 version number v1.1.0
Josh Boyer [Fri, 3 Aug 2007 13:55:51 +0000 (08:55 -0500)]
Increment mkfs.jffs2 version number

Several change have gone into mkfs.jffs2 since we switch from CVS, but the
version number never got incremented.  Bump the version number up so people
can distinguish between older and newer versions.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
17 years agoRemove $Id:$ tags
Josh Boyer [Fri, 3 Aug 2007 13:49:10 +0000 (08:49 -0500)]
Remove $Id:$ tags

The $Id:$ tags are left over from the old CVS repository.  Several files have
since been changed, and they generally have little value in a git repo so they
should be removed.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
17 years agoDisable LZO compression by default
Josh Boyer [Fri, 3 Aug 2007 13:34:38 +0000 (08:34 -0500)]
Disable LZO compression by default

When the recent LZO compression support went into mtd-utils recently,
it was enabled by default.  This means that mkfs.jffs2 will default to
creating images with lzo compression as the default.

Older kernels cannot decompress such images, so lzo should be disabled
by default.  The patch below fixes this.  To enable lzo compression
from now on, simply pass '-X lzo' as an option to mkfs.jffs2.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoUse lzo2 libraries
Josh Boyer [Mon, 23 Jul 2007 14:15:29 +0000 (09:15 -0500)]
Use lzo2 libraries

Switch to using the more common lzo2 libraries for LZO compression.  They
should still work with the lzo1x interfaces.

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoAdd favourlzo compression mode
Richard Purdie [Tue, 10 Jul 2007 15:03:47 +0000 (16:03 +0100)]
Add favourlzo compression mode

Add a favourlzo compression mode to mtd-utils

This allows lzo compression to be used in the cases where the
compression ratio isn't quite as good zlib. This can make sense in
certain use cases because LZO decompression is much faster than zlib.

Signed-off-by: Richard Purdie <rpurdie@openedhand.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoAdd lzo support to mtd-utils
Richard Purdie [Tue, 10 Jul 2007 15:03:31 +0000 (16:03 +0100)]
Add lzo support to mtd-utils

Add LZO support to mtd-utils to generate LZO compressed jffs2 images

Unlike the kernel version, the standard lzo userspace library is used
along with lzo1x_999_compress rather than the lzo1x_1_compress version
since better compression ratios can be obtained (at no significant cost
to decompression time).

Signed-off-by: Richard Purdie <rpurdie@openedhand.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoAdd more information to integrity test error message
Adrian Hunter [Wed, 18 Jul 2007 08:50:53 +0000 (11:50 +0300)]
Add more information to integrity test error message

When the integrity test encounters a file that does not contain
the expected data, it lists the data that it expected to find
in terms of writes to the file.

Now the test also displays a list of "raw" writes that includes
writes that have been truncated away, or completely overwritten
by other writes.

The test also now displays the pid because it is used as the
initial random seed.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoCorrect integrity test calculations of free space
Adrian Hunter [Wed, 18 Jul 2007 08:45:08 +0000 (11:45 +0300)]
Correct integrity test calculations of free space

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoAmend tests not to insist that file system type is JFFS2
Adrian Hunter [Wed, 18 Jul 2007 08:41:51 +0000 (11:41 +0300)]
Amend tests not to insist that file system type is JFFS2

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
18 years agoUBI-utils: add compare feature
Alexander Schmidt [Tue, 10 Jul 2007 15:53:54 +0000 (17:53 +0200)]
UBI-utils: add compare feature

This is a new feature for pfiflash, called "--compare". It allows the user
to simulate a pfiflash session without actually changing the flash
content. If the flash content is equal to the data in the pfif file,
pfiflash returns zero. A positive value is returned when the flash
content differs from the pfi file, which indicates that an update is
necessary. This feature is useful when a controller mounts an NFS share
during boot and has to determine if a pfi file stored on this share
contains a code update. Modified PDD values are also registered by the
compare feature.

Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
18 years agoUBI-Utils: ubimirror discards returncode
Alexander Schmidt [Fri, 29 Jun 2007 10:46:11 +0000 (12:46 +0200)]
UBI-Utils: ubimirror discards returncode

Ubimirror compares volumes before they are mirrored, but discards the
result of the comparison and alway copies volumes.

I've tested this code with equal and unequal volumes and it seems to work
fine now.

Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>
18 years agoUBI-Utils: Cleanup of libubimirror
Alexander Schmidt [Thu, 28 Jun 2007 16:49:32 +0000 (18:49 +0200)]
UBI-Utils: Cleanup of libubimirror

libubimirror has several odd intendations and spacing errors.

Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>
18 years agoUBI: fix tests
Artem Bityutskiy [Mon, 18 Jun 2007 13:35:23 +0000 (16:35 +0300)]
UBI: fix tests

This patch fixes UBI tests and adds udev problems solution description.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
18 years agoMerge branch 'ubi'
Artem Bityutskiy [Fri, 4 May 2007 18:00:46 +0000 (21:00 +0300)]
Merge branch 'ubi'

18 years agoUBI-Utils: Add Artem's test programs
Adrian Hunter [Wed, 21 Mar 2007 09:55:30 +0000 (11:55 +0200)]
UBI-Utils: Add Artem's test programs

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
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 agoAdd fs-tests from Adrian Hunter
Adrian Hunter [Thu, 15 Mar 2007 13:45:19 +0000 (08:45 -0500)]
Add fs-tests from Adrian Hunter

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoMTD-Utils: fix handling of ioctl return value in nand-utils
Frank Haverkamp [Wed, 14 Mar 2007 13:17:07 +0000 (14:17 +0100)]
MTD-Utils: fix handling of ioctl return value in nand-utils

Older kernel do not implement the MTDFILEMODE ioctl. In this case
nandwrite and nanddump should have used MEMGETOOBSEL in combination
with MEMSETOOBSEL. Unfortunately the return value of the unsucessfull
ioctl is not -ENOTTY, but -1 and errno contains ENOTTY. This change
fixes this issue. I have not tested all cornercases. Would be
good if someone could do more careful testing than I did, or maybe
reviewing is sufficient in this case.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoUpdate header file to latest MTD ABI and fix mtd_debug to work properly
Josh Boyer [Thu, 15 Mar 2007 13:05:07 +0000 (08:05 -0500)]
Update header file to latest MTD ABI and fix mtd_debug to work properly

Signed-off-by: Josh Boyer <jwboyer@gmail.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 agoAdd feature removal schedule file
Josh Boyer [Sat, 10 Feb 2007 02:27:20 +0000 (20:27 -0600)]
Add feature removal schedule file

Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years ago[MTD] Utils: Add 1KB page & 32 bytes spare NAND
Kyungmin Park [Thu, 8 Feb 2007 11:55:31 +0000 (05:55 -0600)]
[MTD] Utils: Add 1KB page & 32 bytes spare NAND

Some OneNAND chips use this spec.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
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 agonanddump.c: fix up long_options
Timo Lindhorst [Tue, 5 Dec 2006 08:46:11 +0000 (09:46 +0100)]
nanddump.c: fix up long_options

Add the missing long option '--file'.

From: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
Signed-off-by: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
18 years agoPatch from KaiGai Kohei to enable building without xattr support
KaiGai Kohei [Wed, 15 Nov 2006 13:16:13 +0000 (07:16 -0600)]
Patch from KaiGai Kohei to enable building without xattr support

Signed-off-by: Josh Boyer <jwboyer@gmail.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>