<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git, branch v2.0.2</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.2</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2018-04-16T15:54:33+00:00</updated>
<entry>
<title>Release mtd-utils-2.0.2</title>
<updated>2018-04-16T15:54:33+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2018-04-16T15:54:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=bc63d36e39f389c8c17f6a8e9db47f2acc884659'/>
<id>urn:sha1:bc63d36e39f389c8c17f6a8e9db47f2acc884659</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix unit-test header and file paths for out of tree builds</title>
<updated>2018-04-16T15:50:37+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2018-04-16T15:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=4b315cd9a63e78737d3d856b3bb7ca340b8dec41'/>
<id>urn:sha1:4b315cd9a63e78737d3d856b3bb7ca340b8dec41</id>
<content type='text'>
If we build mtd-utils outside the source path, we cannot use relative
paths to refere to headers in the source tree. We have to specify
absoulte paths using the top_srcdir variable.

This was done right for the utility binaries, but overlooked for the
unit test porgrams.

This patch fixes the header paths and SYSROOT variable for the unit
tests, so they build and run propperly outside the source tree.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix unit test mockup for oobavail sysfs file</title>
<updated>2018-04-16T15:37:00+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2018-04-16T15:37:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=9ea54375c3ed1ba1c4ec8f6ddf80615fcb7fb073'/>
<id>urn:sha1:9ea54375c3ed1ba1c4ec8f6ddf80615fcb7fb073</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>misc-utils: flash_erase: Fix Jffs2 type flash erase problem</title>
<updated>2018-04-10T13:39:01+00:00</updated>
<author>
<name>Xiaolei Li</name>
<email>xiaolei.li@mediatek.com</email>
</author>
<published>2018-04-10T07:36:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=ba145d80e239fdac6414b347568c62bc2f6cb9a2'/>
<id>urn:sha1:ba145d80e239fdac6414b347568c62bc2f6cb9a2</id>
<content type='text'>
Currently, Jffs2 clean marker is not written actually, because the oob
write length is set to 0 when do mtd_write().

So, get OOB available size at first, and set the correct clean marker
length, then program clean marker to free OOB area.

Fixes: d7e86124d55b ("mtd-utils: Support jffs2 flash-erase for large OOB (&gt;32b)")
Signed-off-by: Xiaolei Li &lt;xiaolei.li@mediatek.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libmtd_legacy: Fix some function description mismatches</title>
<updated>2018-04-10T13:38:59+00:00</updated>
<author>
<name>Xiaolei Li</name>
<email>xiaolei.li@mediatek.com</email>
</author>
<published>2018-04-10T07:36:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=165f2cd9f5d63fb3b3200d2ad202cf3e4f820fc4'/>
<id>urn:sha1:165f2cd9f5d63fb3b3200d2ad202cf3e4f820fc4</id>
<content type='text'>
Signed-off-by: Xiaolei Li &lt;xiaolei.li@mediatek.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libmtd: Add support to access OOB available size</title>
<updated>2018-04-10T13:38:56+00:00</updated>
<author>
<name>Xiaolei Li</name>
<email>xiaolei.li@mediatek.com</email>
</author>
<published>2018-04-10T07:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=a10353584f93334b5687c598a15260c0fc5b8d3e'/>
<id>urn:sha1:a10353584f93334b5687c598a15260c0fc5b8d3e</id>
<content type='text'>
This patch exposes OOB available size to user. Then user can use
OOB free area according to OOB available size.

Steps to get OOB available size:
First, access /sys/class/mtd/mtdX/oobavail. If not exist, then
try to get ecc layout by ioctl "ECCGETLAYOUT". If none of them
work, set OOB available size to 0.

Signed-off-by: Xiaolei Li &lt;xiaolei.li@mediatek.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mtd-utils: ubifs: fix typo in without_lzo definition</title>
<updated>2018-04-05T12:49:07+00:00</updated>
<author>
<name>Koen Vandeputte</name>
<email>koen.vandeputte@ncentric.com</email>
</author>
<published>2018-04-05T07:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=044ed4c0dd788f980a3a1a6fc6bf855a239f12e5'/>
<id>urn:sha1:044ed4c0dd788f980a3a1a6fc6bf855a239f12e5</id>
<content type='text'>
Fixes: 1d04b4d5361a ("fix build when WITHOUT_LZO is set")

Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mkfs.ubifs: Allow root entry in device table</title>
<updated>2018-03-07T13:45:55+00:00</updated>
<author>
<name>David Engraf</name>
<email>david.engraf@sysgo.com</email>
</author>
<published>2018-03-06T08:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=80de29a464c7ed639ae337860b5fb346fde8abe5'/>
<id>urn:sha1:80de29a464c7ed639ae337860b5fb346fde8abe5</id>
<content type='text'>
When using a local root folder the permissions, user and group settings
are taken from the local folder. These permissions might be incorrect if
the folder has been created for the local user. Creating an UBIFS image
on my local system resulted in the following output on the target:

drwx------   17 1000     1000   1264 Jan  1 00:00 .
drwx------   17 1000     1000   1264 Jan  1 00:00 ..
drwxr-xr-x    2 root     root   9104 May 30  2017 bin
drwxr-xr-x    7 root     root   2760 Jan  1 00:00 dev
...

mkfs.ubifs aborts with an error message when the device table contains
a root entry. This patch allows setting the root folder permissions,
user and group to overwrite local configurations.

Signed-off-by: David Engraf &lt;david.engraf@sysgo.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mtd: tests: check erase block count in page test</title>
<updated>2018-03-05T11:22:39+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan@agner.ch</email>
</author>
<published>2018-03-03T22:39:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=414b71e9f9755e6d49f58eb303abc484115e9048'/>
<id>urn:sha1:414b71e9f9755e6d49f58eb303abc484115e9048</id>
<content type='text'>
When there is only a single erase block, the cross erase test
does not report sensible errors. Warn in case there is only
a single erase block instead of executing the test.

Signed-off-by: Stefan Agner &lt;stefan@agner.ch&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mtd: unittests: Stop testing stat() calls</title>
<updated>2018-02-14T14:52:27+00:00</updated>
<author>
<name>Balint Reczey</name>
<email>balint@balintreczey.hu</email>
</author>
<published>2018-02-05T22:31:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=9c6173559f95e939e66efb2ec3193d6f3618cf69'/>
<id>urn:sha1:9c6173559f95e939e66efb2ec3193d6f3618cf69</id>
<content type='text'>
Sometimes __xstat is called instead that makes tests fragile.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
