<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/flash_eraseall.c, branch v2.3.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.3.1</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v2.3.1'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2010-09-27T06:54:17+00:00</updated>
<entry>
<title>mtd-utils: unify flash_erase and flash_eraseall</title>
<updated>2010-09-27T06:54:17+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-09-27T06:50:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=a8801d8665bcc94c63a798e291a03c88f2af0215'/>
<id>urn:sha1:a8801d8665bcc94c63a798e291a03c88f2af0215</id>
<content type='text'>
These have overlapping functionality, and while flash_eraseall supports
newer 64bit ioctls, flash_erase does not.  So rather than graft support
onto flash_erase, merge the functionality of two into flash_erase so we
only have to support one util from now on.

A simple wrapper is provided to ease old flash_eraseall users into the
new combined flash_erase util.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>rename crc32 to mtd_crc32</title>
<updated>2010-09-01T11:31:52+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-09-01T11:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=8ab9e98ce27487c40289664d6cb1a58f963679cb'/>
<id>urn:sha1:8ab9e98ce27487c40289664d6cb1a58f963679cb</id>
<content type='text'>
Because of namespace collisions mkfs.ubifs uses crc32() implementation from
/lib/libz.so.1, which generates incompatible CRC and later on the kernel reports
many CRC errors.

Fix this by re-naming mtd-utils' crc32 function to mtd_crc32.

Reported-by: Jon Povey &lt;Jon.Povey@racelogic.co.uk&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>flash_eraseall: tweaks to make binary size smaller</title>
<updated>2010-08-30T10:41:21+00:00</updated>
<author>
<name>Ladislav Michl</name>
<email>ladis@linux-mips.org</email>
</author>
<published>2010-08-20T13:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f49f5405d6baeaf074b1803a6abc116caf130b9d'/>
<id>urn:sha1:f49f5405d6baeaf074b1803a6abc116caf130b9d</id>
<content type='text'>
Returning from main() instead of using exit() makes code more readable
and smaller (ARM EABI binary sizes)

   text    data     bss     dec     hex filename
  28882     436      44   29362    72b2 flash_eraseall
  28827     432      44   29303    7277 flash_eraseall.noexit

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>mtd: change flash_eraseall to use libmtd-wrapped ioctls</title>
<updated>2010-07-26T06:03:33+00:00</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2010-07-24T00:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=5dd7d09648bd4c1c87e7c155b960e500925571db'/>
<id>urn:sha1:5dd7d09648bd4c1c87e7c155b960e500925571db</id>
<content type='text'>
ERASE/ERASE64 were tested on 2.6.18 and 2.6.31. OOB is untested.

Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>mtd-utils: move libmtd source files to lib/ subdirectory</title>
<updated>2010-07-13T10:33:20+00:00</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2010-07-08T00:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=8f627247f651e80834d7b0441328151be180b335'/>
<id>urn:sha1:8f627247f651e80834d7b0441328151be180b335</id>
<content type='text'>
Source files for libmtd, crc32, and fec are scattered throughout the
tree.  Move them to a central location so they can be built into a
common "libmtd.a" library used by all mtd-utils programs.

This patch only renames/deletes files and does not change the content.

Also modify the build system and source code so that libmtd.a can be built
from a "common" location (lib/).  Statically link all utilities at the top
level with libmtd.a . Minor changes to mkfs.ubifs to allow using the common
crc32 implementation.

Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>flash_eraseall reports incorrect percentage</title>
<updated>2008-11-21T11:26:21+00:00</updated>
<author>
<name>Ladislav Michl</name>
<email>ladis@linux-mips.org</email>
</author>
<published>2008-11-18T18:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=c75b917f08b8ae070e61b57166b85a93eeea184f'/>
<id>urn:sha1:c75b917f08b8ae070e61b57166b85a93eeea184f</id>
<content type='text'>
Fix flash_eraseall percentage reporting:

# flash_eraseall /dev/mtd4
Erasing 128 Kibyte @ 2800000 -- 100 % complete.

flash_eraseall
 * fix percentage reporting
 * exit()ing from main() is overkill, just return

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>Remove $Id:$ tags</title>
<updated>2007-08-03T13:49:10+00:00</updated>
<author>
<name>Josh Boyer</name>
<email>jwboyer@gmail.com</email>
</author>
<published>2007-08-03T13:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=144b274bb155ea63e9093d24439bf45ce6320d80'/>
<id>urn:sha1:144b274bb155ea63e9093d24439bf45ce6320d80</id>
<content type='text'>
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 &lt;jwboyer@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixup whitespace</title>
<updated>2006-10-10T01:49:57+00:00</updated>
<author>
<name>Josh Boyer</name>
<email>jwboyer@gmail.com</email>
</author>
<published>2006-10-10T01:49:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=37f40f5574e04ae050507133ade8fe0e6bae2f0d'/>
<id>urn:sha1:37f40f5574e04ae050507133ade8fe0e6bae2f0d</id>
<content type='text'>
Signed-off-by: Josh Boyer &lt;jwboyer@gmail.com&gt;
</content>
</entry>
<entry>
<title>- Update utils to build from in tree include files</title>
<updated>2006-04-12T01:05:27+00:00</updated>
<author>
<name>Josh Boyer</name>
<email>jwboyer@gmail.com</email>
</author>
<published>2006-04-12T01:05:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=092338c8d5e0f05af4a2356d8ce601bd6cdf4c53'/>
<id>urn:sha1:092338c8d5e0f05af4a2356d8ce601bd6cdf4c53</id>
<content type='text'>
- Revert any ebh stuff for now

Signed-off-by: Josh Boyer &lt;jwboyer@gmail.com&gt;
</content>
</entry>
<entry>
<title>Initial commit</title>
<updated>2006-04-11T23:09:16+00:00</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@shinybook.infradead.org</email>
</author>
<published>2006-04-11T23:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=72212c137c574b564723327af751c4054c7cfca6'/>
<id>urn:sha1:72212c137c574b564723327af751c4054c7cfca6</id>
<content type='text'>
</content>
</entry>
</feed>
