<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/system/mtd/Makefile, 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>mtd: improve check for TRX header being already fixed</title>
<updated>2018-07-15T21:27:09+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-07-15T21:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=82498a7f7aa86ad0e93ef60d50dccaa0a9549e4c'/>
<id>82498a7f7aa86ad0e93ef60d50dccaa0a9549e4c</id>
<content type='text'>
First of all lengths should be compared after checking all blocks for
being good/bad. It's because requested length may differ from a final
one if there were some bad blocks.

Secondly it makes sense to also compare crc32 since we already have a
new one calculated.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
First of all lengths should be compared after checking all blocks for
being good/bad. It's because requested length may differ from a final
one if there were some bad blocks.

Secondly it makes sense to also compare crc32 since we already have a
new one calculated.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: support bad blocks within the mtd_fixtrx()</title>
<updated>2018-07-15T14:51:41+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-07-15T14:51:41+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0f54489f754e7bd34e0430c57a11b6a54740d58e'/>
<id>0f54489f754e7bd34e0430c57a11b6a54740d58e</id>
<content type='text'>
Reading MTD data with (p)read doesn't return any error when accessing
bad block. As the result, with current code, CRC32 covers "data" stored
in bad blocks.

That behavior doesn't match CFE's one (bootloader simply skips bad
blocks) and may result in:
1) Invalid CRC32
2) CFE refusing to boot firmware with a following error:
Boot program checksum is invalid

Fix that problem by checking every block before reading its content.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reading MTD data with (p)read doesn't return any error when accessing
bad block. As the result, with current code, CRC32 covers "data" stored
in bad blocks.

That behavior doesn't match CFE's one (bootloader simply skips bad
blocks) and may result in:
1) Invalid CRC32
2) CFE refusing to boot firmware with a following error:
Boot program checksum is invalid

Fix that problem by checking every block before reading its content.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: mark as nonshared to fix FS#484</title>
<updated>2018-06-01T06:29:11+00:00</updated>
<author>
<name>Mirko Parthey</name>
<email>mirko.parthey@web.de</email>
</author>
<published>2018-05-31T13:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=46d7ced9d1e104693a9f995bfe8a6e28ac82b592'/>
<id>46d7ced9d1e104693a9f995bfe8a6e28ac82b592</id>
<content type='text'>
The mtd tool is built with different configurations depending on the
target. For example, brcm47xx adds the fixtrx subcommand, without which
an image fails when booting the second time.

Mark the mtd package as nonshared to really fix FS#484.

Signed-off-by: Mirko Parthey &lt;mirko.parthey@web.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mtd tool is built with different configurations depending on the
target. For example, brcm47xx adds the fixtrx subcommand, without which
an image fails when booting the second time.

Mark the mtd package as nonshared to really fix FS#484.

Signed-off-by: Mirko Parthey &lt;mirko.parthey@web.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>system/mtd: drop Build/Prepare rule in favor of default one</title>
<updated>2016-10-15T09:36:52+00:00</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2016-10-06T06:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=8ecf7443a42d96234bf1241ae3a8315057c8fa9e'/>
<id>8ecf7443a42d96234bf1241ae3a8315057c8fa9e</id>
<content type='text'>
Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mvebu: add support for the Linksys boot counter</title>
<updated>2015-08-19T08:31:23+00:00</updated>
<author>
<name>Imre Kaloz</name>
<email>kaloz@openwrt.org</email>
</author>
<published>2015-08-19T08:31:23+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=20fac016e432cf384289b3fefadf3f4909924faf'/>
<id>20fac016e432cf384289b3fefadf3f4909924faf</id>
<content type='text'>
The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.

Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;
Signed-off-by: Rob Mosher &lt;nyt-openwrt@countercultured.net&gt;
Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;

SVN-Revision: 46690
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.

Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;
Signed-off-by: Rob Mosher &lt;nyt-openwrt@countercultured.net&gt;
Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;

SVN-Revision: 46690
</pre>
</div>
</content>
</entry>
<entry>
<title>license info - revert r43155</title>
<updated>2014-11-03T09:56:44+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2014-11-03T09:56:44+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=74a3a77bcd6842b03806dcbdcd49e0bce8767174'/>
<id>74a3a77bcd6842b03806dcbdcd49e0bce8767174</id>
<content type='text'>
turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 43167
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 43167
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more license tags with SPDX identifiers</title>
<updated>2014-11-03T08:01:08+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2014-11-03T08:01:08+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=c10d97484a43375a0446dafc8cb4072e26502f37'/>
<id>c10d97484a43375a0446dafc8cb4072e26502f37</id>
<content type='text'>
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;

SVN-Revision: 43155
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;

SVN-Revision: 43155
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a few SPDX tags</title>
<updated>2014-11-02T12:20:54+00:00</updated>
<author>
<name>Steven Barth</name>
<email>cyrus@openwrt.org</email>
</author>
<published>2014-11-02T12:20:54+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=bec9d38fa4ed4dcf13230fe6b91b4ef81306accc'/>
<id>bec9d38fa4ed4dcf13230fe6b91b4ef81306accc</id>
<content type='text'>
Signed-off-by: Steven Barth &lt;steven@midlink.org&gt;

SVN-Revision: 43151
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Steven Barth &lt;steven@midlink.org&gt;

SVN-Revision: 43151
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: add a "mtd verify" call</title>
<updated>2013-11-19T20:56:23+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2013-11-19T20:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ee41b41a303009548b1510cade2f4845d094814e'/>
<id>ee41b41a303009548b1510cade2f4845d094814e</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 38871
</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: 38871
</pre>
</div>
</content>
</entry>
<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>
</feed>
