<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/ubi-utils/src/libubi.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>2011-06-27T06:07:07+00:00</updated>
<entry>
<title>rewrite build system to avoid recursion</title>
<updated>2011-06-27T06:07:07+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-25T17:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3285a49dd871d54c1ec13076173ad617443baae1'/>
<id>urn:sha1:3285a49dd871d54c1ec13076173ad617443baae1</id>
<content type='text'>
The ubi-utils/src/ subdir is tossed as it just complicates things for no
real gain.  The dictionary.h header is relocated to the ubi-utils/include/
since other headers in there need it.

The top level clean is replaced with a `find -delete` on objects, so it
might prune more than necessary, but many projects now do this sort of
thing and no one complained there.

A "mkdep" helper generates the actual rule, and the variables are used
with "foreach" to expand these automatically.

The tests subdir is updated only to reflect the ubi-utils source move.
Otherwise, it is left untouched as making that non-recursive isn't really
worth the effort.

While we're gutting things, also through in kbuild style output while
building to make things more legible.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;dedekind1@gmail.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>ubi-utils: harmonize mtd device node variables</title>
<updated>2010-06-15T10:04:54+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-06-15T10:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=ccb2e466874c12fa060f9741f491bffa897a3a0c'/>
<id>urn:sha1:ccb2e466874c12fa060f9741f491bffa897a3a0c</id>
<content type='text'>
Consistently use 'mtd_dev_node' to name variables consining
MTD device node path.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libubi: provide mtd number in UBI device information</title>
<updated>2010-06-14T05:03:42+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-06-14T04:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=c7298da85e0e249ba237dcf158ec3e158e54fd40'/>
<id>urn:sha1:c7298da85e0e249ba237dcf158ec3e158e54fd40</id>
<content type='text'>
Add an 'mtd_num' field to the UBI device information structure.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libubi: remove few fields from volume info</title>
<updated>2010-06-14T05:02:38+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-06-14T05:00:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f8925c17b43d84cb6f56106e4ee2e10ee16b1a2a'/>
<id>urn:sha1:f8925c17b43d84cb6f56106e4ee2e10ee16b1a2a</id>
<content type='text'>
Remove the 'dev_major' and 'dev_minor' fields from the volume
information structure, because these fields should be provided
by the device information structure.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libubi: add support to attach/detach by MTD device path</title>
<updated>2010-02-18T13:42:50+00:00</updated>
<author>
<name>Mika Westerberg</name>
<email>ext-mika.1.westerberg@nokia.com</email>
</author>
<published>2010-02-01T09:03:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=a341ac7d0d5c23dd859136018ea6f7ecdc5f65e8'/>
<id>urn:sha1:a341ac7d0d5c23dd859136018ea6f7ecdc5f65e8</id>
<content type='text'>
struct ubi_attach_request now has additional field 'dev' that can contain path
to the MTD device node in the filesystem. Also there are two new functions that
are able to handle path to the MTD device node:

	ubi_attach() - attach MTD device by number or by path
	ubi_detach() - detach MTD device by path

ubi_attach() works like ubi_attach_mtd() when it is passed empty req-&gt;dev,
otherwise it looks up correct MTD device number based on the given device node
path.

Signed-off-by: Mika Westerberg &lt;ext-mika.1.westerberg@nokia.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libubi: fix wrong size calculation with sizes &gt; 4GiB</title>
<updated>2009-06-08T08:37:12+00:00</updated>
<author>
<name>Detlef Bardtholdt</name>
<email>bardtholdt.detlef@ng-litef.de</email>
</author>
<published>2009-06-08T07:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=e4d5eea6414093fb074b19585cb8bebadc2d3e0e'/>
<id>urn:sha1:e4d5eea6414093fb074b19585cb8bebadc2d3e0e</id>
<content type='text'>
This fixes the handling of total_bytes, avail_bytes and rsvd_bytes.
The result of the multiplication must be 64 Bit.

Signed-off-by: Detlef Bardtholdt &lt;bardtholdt.detlef@ng-litef.de&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>ubi-utils: fix memory corruptions</title>
<updated>2009-05-11T16:22:34+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-05-11T16:22:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=21a8b9c2ac453dce1cfe26cca6f2ba14964c29f5'/>
<id>urn:sha1:21a8b9c2ac453dce1cfe26cca6f2ba14964c29f5</id>
<content type='text'>
This patch contains changes similar to the ones in the previous
patch.

Also, it changes all invocations of memset and makes sure
the argument is 0, not '\0', because memset expects int,
not char.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libubi: fix multiple memory corruptions</title>
<updated>2009-05-11T15:30:30+00:00</updated>
<author>
<name>Corentin Chary</name>
<email>corentincj@iksaif.net</email>
</author>
<published>2009-05-09T09:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=dec7d7d8b1a42a927c497f120833166166d9c7f3'/>
<id>urn:sha1:dec7d7d8b1a42a927c497f120833166166d9c7f3</id>
<content type='text'>
The memset is obviously wrong, and valgrind tells
use there are some uninitialised bytes used after read()

Signed-off-by: Corentin Chary &lt;corentincj@iksaif.net&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libubi: add ubi_is_mapped() function</title>
<updated>2009-05-11T15:28:53+00:00</updated>
<author>
<name>Corentin Chary</name>
<email>corentincj@iksaif.net</email>
</author>
<published>2009-05-09T09:41:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=999757f7e892375b1a8dfe8b0ccb3a139d8c7f71'/>
<id>urn:sha1:999757f7e892375b1a8dfe8b0ccb3a139d8c7f71</id>
<content type='text'>
Signed-off-by: Corentin Chary &lt;corentincj@iksaif.net&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
</feed>
