<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/ubi-utils/new-utils/src/ubiformat.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>2009-03-17T08:16:38+00:00</updated>
<entry>
<title>ubi-utils: re-arrange directory layout</title>
<updated>2009-03-17T08:16:38+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-03-17T08:14:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=606f38a2221648ca5c5fa292c9f71d2ddd59fa66'/>
<id>urn:sha1:606f38a2221648ca5c5fa292c9f71d2ddd59fa66</id>
<content type='text'>
Move new-utils to ubi-utils and old ones to ubi-utils/old-utils.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubi-utils: fix compilation warnings</title>
<updated>2009-01-16T13:40:54+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-01-16T13:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=2416fefc0adc6061212e5ccbf166c8c987385527'/>
<id>urn:sha1:2416fefc0adc6061212e5ccbf166c8c987385527</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubiformat: nicify error messages</title>
<updated>2009-01-16T13:34:28+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-01-16T13:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=6d9a03eb4f0f5c0b5f917d1092c4d851a392b9fb'/>
<id>urn:sha1:6d9a03eb4f0f5c0b5f917d1092c4d851a392b9fb</id>
<content type='text'>
In case of error, ubiformat prints error messages at the same
line as the previous messages. Fix this.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubiformat.c: fix printf(%d, size_t) warning</title>
<updated>2008-12-09T15:08:02+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2008-12-09T13:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=c918deda83f257d379dc62d36ab176a1b5f5c619'/>
<id>urn:sha1:c918deda83f257d379dc62d36ab176a1b5f5c619</id>
<content type='text'>
A size_t should be printed using %zu (unsigned size_t) rather than %d.  This
fixes the following warning on my system:
gcc -O2 -Werror -Wall -Iinclude -Isrc -I../../include src/ubiformat.c -c -o ubiformat.o
cc1: warnings being treated as errors
src/ubiformat.c: In function ‘read_all’:
src/ubiformat.c:345: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
src/ubiformat.c:352: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
make: *** [ubiformat.o] Error 1

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: various fixes</title>
<updated>2008-12-08T18:45:47+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@embeddedalley.com</email>
</author>
<published>2008-12-08T08:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=a8c858c45470aa6165acec2b2a3ca156124fdb2e'/>
<id>urn:sha1:a8c858c45470aa6165acec2b2a3ca156124fdb2e</id>
<content type='text'>
gcc-4.3.x introduces a number of new warnings (and we use -Werror) for
things like not checking scanf return values and not using explicit
formatting.  Finally, it caught that we were overflowing our own buffer
in unubi.c, so increate the variable size as we want to declare and
clear PATH_MAX + 1, then use only PATH_MAX of the variable.

Signed-off-by: Tom Rini &lt;trini@embeddedalley.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubi-utils: allow 'ubiformat' to read from stdin</title>
<updated>2008-08-26T07:52:18+00:00</updated>
<author>
<name>Enrico Scholz</name>
<email>enrico.scholz@sigma-chemnitz.de</email>
</author>
<published>2008-08-25T19:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=b6a0dcf2591e809e929ba60aec72288c7b301356'/>
<id>urn:sha1:b6a0dcf2591e809e929ba60aec72288c7b301356</id>
<content type='text'>
This patch allows to read the image from stdin and adds an
'--image-size' option to specify its size.  'upiupdatevol' has this
feature already and it is useful for 'ubiformat' too.

It adds a read_all() function which reads a block of data. Plain
'read(2)' can fail on

  nc -l -p 1234 | ubiformat -f - -S 25427968

else.

Signed-off-by: Enrico Scholz &lt;enrico.scholz@sigma-chemnitz.de&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubi-utils: fixed and enhanced '--flash-image' option</title>
<updated>2008-08-26T07:02:14+00:00</updated>
<author>
<name>Enrico Scholz</name>
<email>enrico.scholz@sigma-chemnitz.de</email>
</author>
<published>2008-08-25T19:09:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f49af470bccb6097088e6542931530b7f305ac0b'/>
<id>urn:sha1:f49af470bccb6097088e6542931530b7f305ac0b</id>
<content type='text'>
The '--flash-image' option of 'ubiformat' requires an argument and
'.has_arg' must not be 0 hence.  The patch adds this option to the
commandline synopsis too.

Signed-off-by: Enrico Scholz &lt;enrico.scholz@sigma-chemnitz.de&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubiformat: reverse question about vid offset change</title>
<updated>2008-06-25T15:24:31+00:00</updated>
<author>
<name>Bernard Blackham</name>
<email>bernard@largestprime.net</email>
</author>
<published>2008-06-25T13:17:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=c55490a0224af1147677977b5895c619aead3949'/>
<id>urn:sha1:c55490a0224af1147677977b5895c619aead3949</id>
<content type='text'>
Users can pass the -O option to ubiformat to override the VID header
offset on the command-line. If for some reason, the new offset does
not match what is on flash, ubiformat currently prompts the user if
they'd rather use the *old* offsets.  This means that calling
ubiformat with --yes will not do what was requested on the
command-line.

This patch reverses the question so --yes is actually useful for
running in batch-mode.

Signed-off-by: Bernard Blackham &lt;bernard@largestprime.net&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubi-utils: fix typo in ubiformat</title>
<updated>2008-05-29T10:05:36+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2008-05-29T10:05:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=1fd1b5430221b99e05d4f63693ccb0ec11a4af7c'/>
<id>urn:sha1:1fd1b5430221b99e05d4f63693ccb0ec11a4af7c</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubi-utils: fix long options</title>
<updated>2008-04-23T15:21:03+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2008-04-23T15:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=d5f5e57b72289bb5f551a4e17be0132aa8dfb6c4'/>
<id>urn:sha1:d5f5e57b72289bb5f551a4e17be0132aa8dfb6c4</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
</feed>
