<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/ubi-utils, branch v2.1.5</title>
<subtitle>A mirror of http://git.infradead.org/mtd-utils.git</subtitle>
<id>https://git.infraroot.at/mtd-utils.git/atom?h=v2.1.5</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v2.1.5'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2022-06-13T11:39:05+00:00</updated>
<entry>
<title>ubinfo: Fix --vol_id return code for absent volume id</title>
<updated>2022-06-13T11:39:05+00:00</updated>
<author>
<name>Andrew Mellor</name>
<email>andrew.mellor@casa-systems.com</email>
</author>
<published>2022-06-06T06:38:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=9beb813521d23d7f957fc80c6603810893c8ee53'/>
<id>urn:sha1:9beb813521d23d7f957fc80c6603810893c8ee53</id>
<content type='text'>
When using --vol_id and that volume is missing, it should return
non-zero like the --name option does.

Signed-off-by: Andrew Mellor &lt;andrew.mellor@casa-systems.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add ubiscan utility</title>
<updated>2021-09-06T06:21:00+00:00</updated>
<author>
<name>Diego Ismirlian</name>
<email>dismirlian@gmail.com</email>
</author>
<published>2021-08-17T00:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f0b32c7ba5136151a961c3a43c8ff430b33d7c33'/>
<id>urn:sha1:f0b32c7ba5136151a961c3a43c8ff430b33d7c33</id>
<content type='text'>
ubiscan will scan the PEBs in a specific MTD device and print a summary of
the PEB erase counters and (optionally) details about each PEB's status.

Example output:

# ./ubiscan /dev/mtd6
Summary
=========================================================
mtd    : 6
type   : nand
size   : 110362624 bytes (105.2 MiB)
PEBs   : 842
min I/O: 2048 bytes

PEB erase counters
=========================================================
valid    : 834
empty    : 0
corrupted: 0
alien    : 0
bad      : 8

Histogram
=========================================================
from              to     count      min      avg      max
---------------------------------------------------------
0        ..        9:       55        1        4        9
10       ..       99:      174       10       48       99
100      ..      999:      514      103      287      987
1000     ..     9999:       91     1004     1880     2251
10000    ..    99999:        0        0        0        0
100000   ..      inf:        0        0        0        0
---------------------------------------------------------
Total               :      834        1      392     2251

If the --verbose switch is given, ubiscan will print PEB details:

# ./ubiscan --verbose /dev/mtd6

[... same output as before ...]

Details
=========================================================
PEB        0: 253
PEB        1: 1489
PEB        2: 1
PEB        3: 1
PEB        4: 1
PEB        5: 1
PEB        6: 1
PEB        7: 1
PEB        8: 1
PEB        9: 1
PEB       10: 1
...
PEB      832: 1225
PEB      833: 252
PEB      834: 111
PEB      835: 298
PEB      836: 1264
PEB      837: 11
PEB      838: EB_BAD
PEB      839: EB_BAD
PEB      840: EB_BAD
PEB      841: EB_BAD

Signed-off-by: Diego Ismirlian &lt;dismirlian@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: Automake: remove single use variables</title>
<updated>2021-01-20T10:53:58+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-10-19T09:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=a888044525d9f03290cc1afe62dcfa3bec4bc0b9'/>
<id>urn:sha1:a888044525d9f03290cc1afe62dcfa3bec4bc0b9</id>
<content type='text'>
Throughout the Automake files, there is a consistent pattern somewhat
like this:

    FOO_BINS = ....

    sbin_PROGRAMS += $(FOO_BINS)

This commit all such patterns whenever the variable is not used anywhere
else and appends to the target directly.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Remove headers from EXTRA_DIST</title>
<updated>2021-01-20T10:53:51+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-10-19T09:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=c41808cdc3a2c3c8ca5f73707745f48aae49e17e'/>
<id>urn:sha1:c41808cdc3a2c3c8ca5f73707745f48aae49e17e</id>
<content type='text'>
This commit removes the C header files from the EXTRA_DIST variables
and instead assigns them to the SOURCE variable of the respective
components they belong to.

This takes care of having them distributed in the release tar ball and
helps with dependency tracking a little.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix typos found by Debian's lintian tool</title>
<updated>2020-09-11T13:40:54+00:00</updated>
<author>
<name>Bastian Germann</name>
<email>bastiangermann@fishpost.de</email>
</author>
<published>2020-09-08T20:07:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=763a4b3a17e3fb4ab67c6105e06df891e60471bc'/>
<id>urn:sha1:763a4b3a17e3fb4ab67c6105e06df891e60471bc</id>
<content type='text'>
Signed-off-by: Bastian Germann &lt;bastiangermann@fishpost.de&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mtd-utils: Add checks to code that copies strings into fixed sized buffers</title>
<updated>2020-02-09T21:13:18+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-01-25T13:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3ea4705086b9b26a4acde7e83eb05be248ade503'/>
<id>urn:sha1:3ea4705086b9b26a4acde7e83eb05be248ade503</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libubi: remove private kernel header from includes</title>
<updated>2020-01-30T10:23:02+00:00</updated>
<author>
<name>Bastian Germann</name>
<email>bastiangermann@fishpost.de</email>
</author>
<published>2020-01-29T18:50:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=42e051acd32c28c2f93c946d0c4bf6f9eada2aa4'/>
<id>urn:sha1:42e051acd32c28c2f93c946d0c4bf6f9eada2aa4</id>
<content type='text'>
libubi.h includes ubi-media.h which was made private in the kernel a
long time ago. There are users of libubi.h, e.g. swupdate, which have to
have ubi-media.h available at build time with this inclusion.

However, libubi.h uses only one symbol from ubi-media.h. Define that symbol
in the header to enable using libubi.h without installing ubi-media.h.

Make up for the transitive symbol use in ubiformat.c by including ubi-media.h.

Signed-off-by: Bastian Germann &lt;bastiangermann@fishpost.de&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mtd-utils: Fix return value of ubiformat</title>
<updated>2020-01-13T09:37:37+00:00</updated>
<author>
<name>Barry Grussling</name>
<email>barry@grussling.com</email>
</author>
<published>2020-01-12T20:33:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=95633c4dfe943a701d4fcd809e6cabf4bf8710b8'/>
<id>urn:sha1:95633c4dfe943a701d4fcd809e6cabf4bf8710b8</id>
<content type='text'>
This changeset fixes a feature regression in ubiformat.  Older versions of
ubiformat, when invoked with a flash-image, would return 0 in the case no error
was encountered.  Upon upgrading to latest, it was discovered that ubiformat
returned 255 even without encountering an error condition.

This changeset corrects the above issue and causes ubiformat, when given an
image file, to return 0 when no errors are detected.

Tested by running through my loading scripts and verifying ubiformat returned
0.

Signed-off-by: Barry Grussling &lt;barry@grussling.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>ubihealthd: Build only if sys/random.h is present</title>
<updated>2019-12-08T22:02:57+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2019-12-04T17:11:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=1312aedbe0a346999581b243324594e1abe2cebf'/>
<id>urn:sha1:1312aedbe0a346999581b243324594e1abe2cebf</id>
<content type='text'>
The ubihealthd depends on sys/random.h , which is not present on some
older systems. Build ubihealthd only if sys/random.h is present.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>ubiformat: don't leak file descriptors</title>
<updated>2019-11-10T14:30:04+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-11-10T13:52:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=af06f37bdee2097d23832da99a3e7725de2f695e'/>
<id>urn:sha1:af06f37bdee2097d23832da99a3e7725de2f695e</id>
<content type='text'>
The original code had a 'goto out_close' directly after a return error
code, which is obviously not what was intended.

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