<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/mtd/src, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>packages: clean up the package folder</title>
<updated>2013-06-21T16:54:37+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2013-06-21T16:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4ebf19b48fafc8d94e14e4ba779969613b241a6a'/>
<id>4ebf19b48fafc8d94e14e4ba779969613b241a6a</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 37007
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 37007
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: do not include error.h</title>
<updated>2012-11-21T20:27:02+00:00</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2012-11-21T20:27:02+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7453b0dd8ec45a68dd3cd3ce0c37a3f5a4aa59d0'/>
<id>7453b0dd8ec45a68dd3cd3ce0c37a3f5a4aa59d0</id>
<content type='text'>
We do not use anything from it, and it is not available with all libcs.
Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;

SVN-Revision: 34294
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We do not use anything from it, and it is not available with all libcs.
Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;

SVN-Revision: 34294
</pre>
</div>
</content>
</entry>
<entry>
<title>linux: export bcm963xx_tag.h to userspace</title>
<updated>2012-11-06T15:21:46+00:00</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2012-11-06T15:21:46+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a50d121d8e7878e54f548e528b6946966e459b36'/>
<id>a50d121d8e7878e54f548e528b6946966e459b36</id>
<content type='text'>
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea &lt;cat@vv.carleton.ca&gt;
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;

SVN-Revision: 34103
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea &lt;cat@vv.carleton.ca&gt;
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;

SVN-Revision: 34103
</pre>
</div>
</content>
</entry>
<entry>
<title>package/mtd: add option for fixing seama images</title>
<updated>2012-10-18T07:22:59+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2012-10-18T07:22:59+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a67d5fd24fa80d3f0989f0e6a3f137b8c18cdc41'/>
<id>a67d5fd24fa80d3f0989f0e6a3f137b8c18cdc41</id>
<content type='text'>
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;

SVN-Revision: 33841
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;

SVN-Revision: 33841
</pre>
</div>
</content>
</entry>
<entry>
<title>package: mtd: use in-kernel bcm63xx image tag header</title>
<updated>2012-10-08T09:59:47+00:00</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2012-10-08T09:59:47+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=dd81dc48dd50dbee1cbaacc01935dab76cf32e7f'/>
<id>dd81dc48dd50dbee1cbaacc01935dab76cf32e7f</id>
<content type='text'>
Use the image tag header from the kernel instead of an external header
file.

SVN-Revision: 33654
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the image tag header from the kernel instead of an external header
file.

SVN-Revision: 33654
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: fix trx_fixup</title>
<updated>2012-07-25T17:28:32+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2012-07-25T17:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=5832e754fbf502a7d2f2d7bee054eae1b6ad0520'/>
<id>5832e754fbf502a7d2f2d7bee054eae1b6ad0520</id>
<content type='text'>
With the BRCM47xx image I have built (Linksys E3000), there are additional
writes following the completion of "mtd_replace_jffs2" which invalidate the
'trx_fixup' performed by 'mtd_replace_jffs2'.  Moving the 'trx_fixup' to somewhere
after all writes have completed fixes the problem.  I also noticed that 'erasesize'
used to compute 'block_offset' in 'mtd_fixtrx' is used before it is computed by
'mtd_check_open'; moving the call to 'mtd_check_open' up a few lines fixes this.

Unlike 'mtd_fixtrx', 'trx_fixup' appears to assume that the TRX header is always at
offset 0; which may be the cause of the problem described in Ticket #8960.

Signed-off-by: Nathan Hintz &lt;nlhintz@hotmail.com&gt;

SVN-Revision: 32866
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the BRCM47xx image I have built (Linksys E3000), there are additional
writes following the completion of "mtd_replace_jffs2" which invalidate the
'trx_fixup' performed by 'mtd_replace_jffs2'.  Moving the 'trx_fixup' to somewhere
after all writes have completed fixes the problem.  I also noticed that 'erasesize'
used to compute 'block_offset' in 'mtd_fixtrx' is used before it is computed by
'mtd_check_open'; moving the call to 'mtd_check_open' up a few lines fixes this.

Unlike 'mtd_fixtrx', 'trx_fixup' appears to assume that the TRX header is always at
offset 0; which may be the cause of the problem described in Ticket #8960.

Signed-off-by: Nathan Hintz &lt;nlhintz@hotmail.com&gt;

SVN-Revision: 32866
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd - remove partition table assumption when writing fis table</title>
<updated>2012-07-04T11:56:25+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jow@openwrt.org</email>
</author>
<published>2012-07-04T11:56:25+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=38cb1da868fc8ee3fd35a2260862dd0e20babdd0'/>
<id>38cb1da868fc8ee3fd35a2260862dd0e20babdd0</id>
<content type='text'>
When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
 * vmlinux.bin.l7 0xA8710000
 * rootfs         0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;

SVN-Revision: 32601
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
 * vmlinux.bin.l7 0xA8710000
 * rootfs         0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;

SVN-Revision: 32601
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd - add partition offset parameter</title>
<updated>2012-07-04T11:37:53+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jow@openwrt.org</email>
</author>
<published>2012-07-04T11:37:53+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0b837752020c98e26d6f66004b5c73855864d06f'/>
<id>0b837752020c98e26d6f66004b5c73855864d06f</id>
<content type='text'>
The offset parameter can be used to write the data at the offset
instead of writing it to the beginning of the partition.

Signed-off-by: Marek Linder &lt;lindner_marek@yahoo.de&gt;

SVN-Revision: 32600
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The offset parameter can be used to write the data at the offset
instead of writing it to the beginning of the partition.

Signed-off-by: Marek Linder &lt;lindner_marek@yahoo.de&gt;

SVN-Revision: 32600
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: define MTDREFRESH if not defined (external kernel)</title>
<updated>2012-02-06T17:15:40+00:00</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2012-02-06T17:15:40+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=486d54bf052f433a1c2f71e08aafa75ec0a23728'/>
<id>486d54bf052f433a1c2f71e08aafa75ec0a23728</id>
<content type='text'>
SVN-Revision: 30340
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 30340
</pre>
</div>
</content>
</entry>
<entry>
<title>target: linux: mtd: fix MTDREFRESH to an arbitrary high number</title>
<updated>2011-11-09T21:16:36+00:00</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2011-11-09T21:16:36+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f53128f79b8fa5ec781c6c8957477b46c6198e8f'/>
<id>f53128f79b8fa5ec781c6c8957477b46c6198e8f</id>
<content type='text'>
To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.

Also make mtd use the in-kernel mtd headers.

SVN-Revision: 28893
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.

Also make mtd use the in-kernel mtd headers.

SVN-Revision: 28893
</pre>
</div>
</content>
</entry>
</feed>
