<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/flash_lock.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>2015-11-11T22:38:40+00:00</updated>
<entry>
<title>mtd-utils: Restructure the mtd-utils source.</title>
<updated>2015-11-11T22:38:40+00:00</updated>
<author>
<name>Dongsheng Yang</name>
<email>yangds.fnst@cn.fujitsu.com</email>
</author>
<published>2015-10-31T03:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=7d81790ced345585b1e647ca9d0f6678e7062fa4'/>
<id>urn:sha1:7d81790ced345585b1e647ca9d0f6678e7062fa4</id>
<content type='text'>
* There is no code modification in this commit, only moving
* the files to proper place.

The user tools looks a little messy as we place almost
the all tools in the root directory of mtd-utils. To make
it more clear, I propose to introduce the following structure
for our source code.

mtd-utils/
	|-- lib
	|-- include
	|-- misc-utils
	|-- jffsX-utils
	|-- nand-utils
	|-- nor-utils
	|-- ubi-utils
	|-- ubifs-utils
	`-- tests

Signed-off-by: Dongsheng Yang &lt;yangds.fnst@cn.fujitsu.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>flash_{lock,unlock}: merge into one util</title>
<updated>2011-06-06T12:32:43+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-06T04:09:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=cd494f74b780729817f7e3e3dd25138e3835eb54'/>
<id>urn:sha1:cd494f74b780729817f7e3e3dd25138e3835eb54</id>
<content type='text'>
Now that the utils have equivalent functionality, merge the two source
code bases so they can't diverge in the future.

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>flash_{lock,unlock}: merge functionality</title>
<updated>2011-06-06T12:26:15+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-06T04:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=6534b670520f7709b2ba73a853a50372653c4726'/>
<id>urn:sha1:6534b670520f7709b2ba73a853a50372653c4726</id>
<content type='text'>
The flash_lock util has a bit of extra argument checking, and it supports
a magic value of "-1" to mean "all blocks".

The flash_unlock util supports automatic 2nd/3rd arguments to unlock the
whole flash.  It also supports multiple bases (not just hex) for selecting
the range of the device to unlock.

So tweak both utilities so that they have equivalent functionality again
by adding the missing features to each.

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>flash_lock/flash_unlock/flash_info: clean up style</title>
<updated>2011-06-06T12:25:56+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-06T04:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3e4c601e5c00f3bb5844402954d9b9dcf9387da2'/>
<id>urn:sha1:3e4c601e5c00f3bb5844402954d9b9dcf9387da2</id>
<content type='text'>
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>mtd-utils: standardize PROGRAM_NAME</title>
<updated>2010-09-27T06:31:10+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-09-26T18:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=e960f7eb17f8d72f00364e9fc9f9a27b5563e318'/>
<id>urn:sha1:e960f7eb17f8d72f00364e9fc9f9a27b5563e318</id>
<content type='text'>
Make sure all the utils define PROGRAM_NAME and do so at the start of
the file so that sub-headers may assume it exists.

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>flash_lock: fix length being passed</title>
<updated>2009-12-08T12:17:58+00:00</updated>
<author>
<name>Vimal Singh</name>
<email>vimal.newwork@gmail.com</email>
</author>
<published>2009-12-02T14:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=43feb39f35a9ee0ed318df80433243c0bfe263ea'/>
<id>urn:sha1:43feb39f35a9ee0ed318df80433243c0bfe263ea</id>
<content type='text'>
This patch fixes the 'length' calculation.
Making it:
+       mtdLockInfo.length = (num_sectors - 1) * mtdInfo.erasesize;
Rather:
-       mtdLockInfo.length = num_sectors * mtdInfo.erasesize;

Say there are 240 blocks present in the device. Then:
offset starts from: 0x0
and full size of device: 0x1E00000

doing: 240 * 0x20000 gives -&gt; 0x1E00000
But last block address should be 0x1DE0000 (which spans for 0x20000
bytes, adding upto size of 0x1E00000)

Signed-off-by: Vimal Singh &lt;vimalsingh@ti.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.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>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>
