<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/ubi-utils, branch v1.3.0</title>
<subtitle>A mirror of http://git.infradead.org/mtd-utils.git</subtitle>
<id>https://git.infraroot.at/mtd-utils.git/atom?h=v1.3.0</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v1.3.0'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2009-12-09T14:42:59+00:00</updated>
<entry>
<title>ubiformat: fix error message</title>
<updated>2009-12-09T14:42:59+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-12-09T14:42:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=a4e502d99129da8ebba6d40b373a4422a175e9af'/>
<id>urn:sha1:a4e502d99129da8ebba6d40b373a4422a175e9af</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubiformat: check that min IO size is power of 2</title>
<updated>2009-12-09T14:31:41+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-12-09T14:31:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=34e28bf35f7cc7758f87e6a2b82adf6ca186afdb'/>
<id>urn:sha1:34e28bf35f7cc7758f87e6a2b82adf6ca186afdb</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubi-utils: add ubirsvol to .gitignore</title>
<updated>2009-11-26T09:40:18+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-11-26T09:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=27d38823cc38f30ea9e2cb580f171fd722dd1734'/>
<id>urn:sha1:27d38823cc38f30ea9e2cb580f171fd722dd1734</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubiformat: fix --erase-counter handling</title>
<updated>2009-11-26T09:38:45+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-11-26T09:38:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=14da740cec46d151e813905e449e7ff21e85c01f'/>
<id>urn:sha1:14da740cec46d151e813905e449e7ff21e85c01f</id>
<content type='text'>
The --erase-counter option did not work and this was reproted by
Darwin Rambo &lt;drambo@broadcom.com&gt;

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubi-utils: add ubirsvol tool to resize UBI volumes</title>
<updated>2009-10-05T08:14:57+00:00</updated>
<author>
<name>Arnaud Mouiche</name>
<email>arnaud.mouiche@thomson.net</email>
</author>
<published>2009-10-01T09:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f6055d453e196386f72b05d335c77791f1ab97a2'/>
<id>urn:sha1:f6055d453e196386f72b05d335c77791f1ab97a2</id>
<content type='text'>
This is nearly a copy/paste from ubirmvol.

Signed-off-by: Arnaud Mouiche &lt;arnaud.mouiche@thomson.net&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubinize/ubiformat: improve random number seeding</title>
<updated>2009-09-28T08:50:51+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-09-28T08:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=75d97ca45b74eccc01b18f44040f946d9d5df9f5'/>
<id>urn:sha1:75d97ca45b74eccc01b18f44040f946d9d5df9f5</id>
<content type='text'>
Add current time to the PID to improve the pseudo-random number
generator seeding. Also, use 'rand()' instead of 'random()', because
'srand()' is for 'rand()'.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubiformat/ubinize: Don't randomize 0xFFFFFFFF sequence number</title>
<updated>2009-09-28T08:19:14+00:00</updated>
<author>
<name>Michael Roth</name>
<email>mroth@nessie.de</email>
</author>
<published>2009-09-23T13:01:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=0e63a4c4f1ebc31f545835bd018174414928fc6f'/>
<id>urn:sha1:0e63a4c4f1ebc31f545835bd018174414928fc6f</id>
<content type='text'>
args.image_seq is of type uint32_t and was initialized to -1 which
becomes 0xFFFFFFFF in this case. Later the value -1 was used as a flag
that args.image_seq should be replaced with a randomized value.

With the option --image-seq (-Q) a user could provide any sequence
number at will.

But when the user provided sequence number was 0xFFFFFFFF this was
understood effectivly as -1 and got overridden by a randomized
sequence number.

So this patch change the programm flow to respect the principle of
least surprise and never use a randomized sequence number when the
user provide one at own will.

Signed-off-by: Michael Roth &lt;mroth@nessie.de&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubiformat/ubinize: fix more 64-bit image sequence number confusion</title>
<updated>2009-09-28T08:16:39+00:00</updated>
<author>
<name>Michael Roth</name>
<email>mroth@nessie.de</email>
</author>
<published>2009-09-23T13:01:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=145ee7ab6fc9c4ccb6f3497d5fb112ed6f696433'/>
<id>urn:sha1:145ee7ab6fc9c4ccb6f3497d5fb112ed6f696433</id>
<content type='text'>
The sequence number is only 32 bit as the strtoul() function.

Signed-off-by: Michael Roth &lt;mroth@nessie.de&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubiformat: add image sequence support</title>
<updated>2009-08-24T13:25:47+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-08-24T13:25:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=a8ce7c2668ef0781326f629eef02cef6c3962b8a'/>
<id>urn:sha1:a8ce7c2668ef0781326f629eef02cef6c3962b8a</id>
<content type='text'>
Similarly to ubinize, add image sequence number support.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>ubinize: fix 64-bit image sequence number confusion</title>
<updated>2009-08-24T12:43:36+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2009-08-24T12:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=5b2a65222065bfc56a938f658501018bc4a8bc82'/>
<id>urn:sha1:5b2a65222065bfc56a938f658501018bc4a8bc82</id>
<content type='text'>
UBI image sequence number which we store in EC headers is 32 bits,
not 64-bits. I was confused when noticed that the 'image_seq'
variable had type 'unsigned long long'. Turn it into a 'uint32_t'
type.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
</feed>
