<feed xmlns='http://www.w3.org/2005/Atom'>
<title>svn-archive/archive/package/system/mtd/src, branch master</title>
<subtitle>OpenWrt SVN history</subtitle>
<id>https://git.openwrt.org/openwrt/svn-archive/archive/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/svn-archive/archive/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/'/>
<updated>2016-06-07T06:59:36Z</updated>
<entry>
<title>treewide: fix replace nbd@openwrt.org with nbd@nbd.name</title>
<updated>2016-06-07T06:59:36Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-06-07T06:59:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=b0684dafa3c9a4692bd965d1f2ed65c2c08bc6a1'/>
<id>urn:sha1:b0684dafa3c9a4692bd965d1f2ed65c2c08bc6a1</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;

SVN-Revision: 49379
</content>
</entry>
<entry>
<title>mtd: imagetag: fix compilation with changed mtd_fixtrx call</title>
<updated>2016-05-11T07:11:11Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-11T07:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=afe37f1141d09f5b383199c742fde66e14ce9471'/>
<id>urn:sha1:afe37f1141d09f5b383199c742fde66e14ce9471</id>
<content type='text'>
Function mtd_fixtrx was changed during trx improvements.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49371
</content>
</entry>
<entry>
<title>mtd: add -c option for specifying amount of data to be used for checksum</title>
<updated>2016-05-09T18:10:35Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-09T18:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=673ef9d6e4f85c2ec3964ad3e3f1ea9f033313fc'/>
<id>urn:sha1:673ef9d6e4f85c2ec3964ad3e3f1ea9f033313fc</id>
<content type='text'>
So far fixtrx was calculating checksum over amount of data matching
partition erase size. It was mostly a workaround of checksum problem
after changing anything in initial TRX content (e.g. formatting JFFS2).
Its main purpose was to make bootloader accept modified TRX. This didn't
provide much protection of flash data against corruption.

This new option lets caller request calculating checksum over a bigger
amount of data. It may be used e.g. to include whole kernel data for
checksum and hopefully make bootloader go info failsafe mode if
something goes wrong.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49317
</content>
</entry>
<entry>
<title>mtd: trx: use separated buffer for TRX header</title>
<updated>2016-05-09T18:10:30Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-09T18:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=aa113a1f5a0d63409a637d6ff8a7c761635624e5'/>
<id>urn:sha1:aa113a1f5a0d63409a637d6ff8a7c761635624e5</id>
<content type='text'>
We plan to adjust usage of the main buffer to allow reading custom
amount of data for CRC32. This means we need another buffer that will be
always block aligned.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49316
</content>
</entry>
<entry>
<title>mtd: seama: exit with error if Seama header wasn't found</title>
<updated>2016-05-09T15:33:42Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-09T15:33:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=e8d82c93f6b1286f9df5adfb928f26f5ac7bb1b5'/>
<id>urn:sha1:e8d82c93f6b1286f9df5adfb928f26f5ac7bb1b5</id>
<content type='text'>
Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49314
</content>
</entry>
<entry>
<title>mtd: seama: fix image data handling</title>
<updated>2016-05-09T12:53:39Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-09T12:53:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=e93447b5dd886598998dca40c46015b2d260e2c6'/>
<id>urn:sha1:e93447b5dd886598998dca40c46015b2d260e2c6</id>
<content type='text'>
1) Put sanity checks in one place
2) Respect provided offset
3) Read only as much data as needed for MD5 calculation

Thanks to the last change this is a great speedup and memory saver. On
devices with NAND flash we were allocating &amp; reading about 128 MiB while
something about 8 MiB is enough.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49309
</content>
</entry>
<entry>
<title>mtd: seama: move buf allocation to the MD5 function</title>
<updated>2016-05-09T12:53:36Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-09T12:53:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=099aae3864e33136a00a853e6118d5692123e2b9'/>
<id>urn:sha1:099aae3864e33136a00a853e6118d5692123e2b9</id>
<content type='text'>
This buf is only used in this function now, so lets move it there.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49308
</content>
</entry>
<entry>
<title>mtd: seama: update MD5 using header in the first block buffer</title>
<updated>2016-05-09T12:53:33Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-09T12:53:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=eff1ebc25f4e658bf541f719274547d0bf37c613'/>
<id>urn:sha1:eff1ebc25f4e658bf541f719274547d0bf37c613</id>
<content type='text'>
This will allow separating first block buffer from a buffer used for MD5
calculation.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49307
</content>
</entry>
<entry>
<title>mtd: seama: add md5 to header struct</title>
<updated>2016-05-09T12:53:29Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-09T12:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=20846abf99cb1f78d67adf950e4c7676e006f4b7'/>
<id>urn:sha1:20846abf99cb1f78d67adf950e4c7676e006f4b7</id>
<content type='text'>
This allows us to drop some extra offset calculations and simplifies
code a bit.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49306
</content>
</entry>
<entry>
<title>mtd: check for Seama magic early when fixing MD5</title>
<updated>2016-05-09T09:54:48Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-05-09T09:54:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=e1cfcdbbda5e9e4ae6d845966c9d09443eb5886e'/>
<id>urn:sha1:e1cfcdbbda5e9e4ae6d845966c9d09443eb5886e</id>
<content type='text'>
This avoid long (and unneeded) process of reading all data in case of
running on MTD not containig Seama entity.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 49304
</content>
</entry>
</feed>
