<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git, 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>flash_unlock: enhancing for unlocking of specified number of blocks</title>
<updated>2009-12-09T10:32:50+00:00</updated>
<author>
<name>Vimal Singh</name>
<email>vimal.newwork@gmail.com</email>
</author>
<published>2009-12-02T14:30:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=2426f4b7219c77b3d33b40c01f6d97d0ca0adc5f'/>
<id>urn:sha1:2426f4b7219c77b3d33b40c01f6d97d0ca0adc5f</id>
<content type='text'>
This patch enhances the flash_unlock utility to be able to do
unlocking for specified blocks range.
This patch also fixes calculation of 'length' as in previous patch.

Say there are 240 blocks present in the device. Then:
offset starts from: 0x0
and full size of device: 0x1E00000

doing: 240 * 0x20000 gives -&gt; 0x1E00000
But last block address should be 0x1DE0000 (which spans for 0x20000
bytes, adding up to size of 0x1E00000)

Signed-off-by: Vimal Singh &lt;vimalsingh@ti.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>flash_lock: fix length being passed</title>
<updated>2009-12-08T12:17:58+00:00</updated>
<author>
<name>Vimal Singh</name>
<email>vimal.newwork@gmail.com</email>
</author>
<published>2009-12-02T14:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=43feb39f35a9ee0ed318df80433243c0bfe263ea'/>
<id>urn:sha1:43feb39f35a9ee0ed318df80433243c0bfe263ea</id>
<content type='text'>
This patch fixes the 'length' calculation.
Making it:
+       mtdLockInfo.length = (num_sectors - 1) * mtdInfo.erasesize;
Rather:
-       mtdLockInfo.length = num_sectors * mtdInfo.erasesize;

Say there are 240 blocks present in the device. Then:
offset starts from: 0x0
and full size of device: 0x1E00000

doing: 240 * 0x20000 gives -&gt; 0x1E00000
But last block address should be 0x1DE0000 (which spans for 0x20000
bytes, adding upto size of 0x1E00000)

Signed-off-by: Vimal Singh &lt;vimalsingh@ti.com&gt;
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>mkfs.ubifs: fix crosscompilation issues</title>
<updated>2009-10-24T17:12:24+00:00</updated>
<author>
<name>Matthias Fuchs</name>
<email>matthias.fuchs@esd.eu</email>
</author>
<published>2009-10-23T16:05:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=600337e7c81e812d34460b413c5b044f454bc49d'/>
<id>urn:sha1:600337e7c81e812d34460b413c5b044f454bc49d</id>
<content type='text'>
This patch adds support for passing the location of the lzo
library and headers.

Also BUILDDIR must be referenced to find the libubi.a archive.

Signed-off-by: Matthias Fuchs &lt;matthias.fuchs@esd.eu&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>
</feed>
