<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/nand-utils, branch v2.0.1</title>
<subtitle>A mirror of http://git.infradead.org/mtd-utils.git</subtitle>
<id>https://git.infraroot.at/mtd-utils.git/atom?h=v2.0.1</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v2.0.1'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2017-06-28T08:27:35+00:00</updated>
<entry>
<title>Remove unused variables and functions</title>
<updated>2017-06-28T08:27:35+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2017-06-22T11:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=e511691315f6704961a0c8e3a9725f1a589a5c11'/>
<id>urn:sha1:e511691315f6704961a0c8e3a9725f1a589a5c11</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Eliminate warnings about missing prototypes</title>
<updated>2017-06-28T08:27:31+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2017-06-22T11:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=ca517e8b320c7a31c3a147fb1212ddb33cabd919'/>
<id>urn:sha1:ca517e8b320c7a31c3a147fb1212ddb33cabd919</id>
<content type='text'>
This patch eliminates warnings generated by the -Wmissing-prototypes
option. With this flag set, we are now forced to have prototypes for
all global, exported functions, that have to be made visible to the
definitions and we are forced to mark all local functions as static.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Use defines for exit code values</title>
<updated>2017-06-14T08:53:15+00:00</updated>
<author>
<name>Daniel Wagner</name>
<email>daniel.wagner@siemens.com</email>
</author>
<published>2017-06-12T10:50:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=ccffc105b0b361150666f97b59ac72cff8466e9b'/>
<id>urn:sha1:ccffc105b0b361150666f97b59ac72cff8466e9b</id>
<content type='text'>
Make the usage of exit consist. That is use the pre defined exit
values.

Signed-off-by: Daniel Wagner &lt;daniel.wagner@siemens.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>nanddump: Add --skip-bad-blocks-to-start option</title>
<updated>2017-01-18T13:42:25+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2017-01-17T11:54:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=44558d1de053cd2772b419bb306a926f07365ae6'/>
<id>urn:sha1:44558d1de053cd2772b419bb306a926f07365ae6</id>
<content type='text'>
The --skip-bad-blocks-to-start option will increase the start address by
the size of each bad block encountered between the start of the partition
and the specified start address.

This can be useful if other readers of the partition will be reading using
a simple bad-block-skipping algorithm.

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>nandwrite: Add --skip-bad-blocks-to-start option</title>
<updated>2017-01-18T13:42:10+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2017-01-17T11:54:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=2fc8058291e07f6ec143179db377a7d53f6dfa04'/>
<id>urn:sha1:2fc8058291e07f6ec143179db377a7d53f6dfa04</id>
<content type='text'>
The --skip-bad-blocks-to-start option will increase the seek offset by the
size of each bad block encountered between the start of the partition and
the specified start address.

This can be useful when writing part way through a partition that will be
read using a simple bad-block-skipping algorithm.

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>nandwrite: fix/cleanup bad block skipping</title>
<updated>2017-01-12T10:02:19+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2017-01-11T13:02:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=6df83fd628ece2a44da325951bbfc5c33e3c6866'/>
<id>urn:sha1:6df83fd628ece2a44da325951bbfc5c33e3c6866</id>
<content type='text'>
JFFS2 supports clustering erase blocks to virtual erase blocks.
nandwrite supports this, but previously mixed up virtual and
physical erase block numbers when checking for bad blocks.

This patch adds a function for checking if a virtual erase block
is bad and replaces the broken mtd_is_bad loop.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>nandwrite: replace erase loop with mtd_erase_multi</title>
<updated>2017-01-12T10:02:19+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2017-01-11T10:53:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=7b8981af83b2c6decad32673111dce8d416dbb2e'/>
<id>urn:sha1:7b8981af83b2c6decad32673111dce8d416dbb2e</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>nandwrite: add stricter sanity checking for blockalign</title>
<updated>2017-01-12T10:02:18+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2017-01-11T10:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=dffaa1d4d1cfabdf325967dd9766adde7320e05e'/>
<id>urn:sha1:dffaa1d4d1cfabdf325967dd9766adde7320e05e</id>
<content type='text'>
This patch makes sure that a virtual erase block is always
composed of a postivie number of erase blocks (i.e. 1 or more)
and enforces the block alignment to be a power of two as
suggested by the help text and assumed throughout the program.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>nandwrite: Factor out buffer checking code</title>
<updated>2016-12-09T08:06:45+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2016-12-09T01:47:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f5b47ef5112326b06fd875982379769c55a71703'/>
<id>urn:sha1:f5b47ef5112326b06fd875982379769c55a71703</id>
<content type='text'>
Pull the buffer content checking code into separate function and
simplify the code invoking it slightly.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>common: Fix 'unchecked return code' warnings</title>
<updated>2016-12-06T18:38:16+00:00</updated>
<author>
<name>Boris Brezillon</name>
<email>boris.brezillon@free-electrons.com</email>
</author>
<published>2016-11-25T17:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=bfb33f2f46a40023aa9820f4cdd99281e41250c1'/>
<id>urn:sha1:bfb33f2f46a40023aa9820f4cdd99281e41250c1</id>
<content type='text'>
Several tools are simply not checking return code of functions marked
with 'warn_unused_result'.

Provide wrappers for the read/write functions to avoid patching old
code and providing proper error handling.
Fix the remaining ones (calls to fgets() and system()).

Signed-off-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
</content>
</entry>
</feed>
