<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtl819xx/package/mtd/src, branch realtek-unstable</title>
<subtitle>Realtek rtl819xx port to OpenWrt</subtitle>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/'/>
<entry>
<title>[package] mtd: do not include error.h</title>
<updated>2012-11-21T20:27:02+00:00</updated>
<author>
<name>florian</name>
<email>florian@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-11-21T20:27:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=709b71128c1db1e9847a574493fe5bddd5873c58'/>
<id>709b71128c1db1e9847a574493fe5bddd5873c58</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34294 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34294 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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>jogo</name>
<email>jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-11-06T15:21:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=e1696ca671a6637ee951c84d1624095a4203513c'/>
<id>e1696ca671a6637ee951c84d1624095a4203513c</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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>juhosg</name>
<email>juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-10-18T07:22:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=c34b71fa3d6f389bd769256a8ab1e5fdc66bd400'/>
<id>c34b71fa3d6f389bd769256a8ab1e5fdc66bd400</id>
<content type='text'>
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33841 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33841 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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>jogo</name>
<email>jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-10-08T09:59:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=6b08cfb731a86c548c93ae426a668f6336f4be17'/>
<id>6b08cfb731a86c548c93ae426a668f6336f4be17</id>
<content type='text'>
Use the image tag header from the kernel instead of an external header
file.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33654 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33654 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: fix trx_fixup</title>
<updated>2012-07-25T17:28:32+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-25T17:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=a596792a94ce2d8018062a7193df5a60ae409fbf'/>
<id>a596792a94ce2d8018062a7193df5a60ae409fbf</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32866 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32866 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-04T11:56:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=dd97bbee8a27f628f820f135263d073bb435c493'/>
<id>dd97bbee8a27f628f820f135263d073bb435c493</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32601 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32601 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd - add partition offset parameter</title>
<updated>2012-07-04T11:37:53+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-04T11:37:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=6a288531d72ba465156ffefa3f0ce02e1935afdf'/>
<id>6a288531d72ba465156ffefa3f0ce02e1935afdf</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32600 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32600 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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</name>
<email>florian@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-02-06T17:15:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=68eac67f554c4730ac1ebd5406c353f46993f570'/>
<id>68eac67f554c4730ac1ebd5406c353f46993f570</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30340 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30340 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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>jogo</name>
<email>jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2011-11-09T21:16:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=4ef5b94744e34194d2b6dd09a32b345481add1d8'/>
<id>4ef5b94744e34194d2b6dd09a32b345481add1d8</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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28893 3c298f89-4303-0410-b956-a3cf2f4a3e73
</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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28893 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>package/mtd: don't append jffs2 data multiple times</title>
<updated>2011-07-02T08:38:00+00:00</updated>
<author>
<name>juhosg</name>
<email>juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2011-07-02T08:38:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=01b3fa0465671f536f1347c556931f722e1d56c1'/>
<id>01b3fa0465671f536f1347c556931f722e1d56c1</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27358 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27358 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
</feed>
