<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/adm5120/base-files/lib, 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>treewide: remove obsolete sysupgrade watchdog kill</title>
<updated>2018-02-16T13:44:02+00:00</updated>
<author>
<name>Mathias Kresin</name>
<email>dev@kresin.me</email>
</author>
<published>2017-12-18T17:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6'/>
<id>c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6</id>
<content type='text'>
The watchdog kill command was meant for busybox watchdog. Busybox watchdog
was replaced by the procd watchdog mid 2013 with commit df7ce9301a25
("busybox: disable the watchdog utility by default"), which makes the kill
command obsolete since quite some time.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The watchdog kill command was meant for busybox watchdog. Busybox watchdog
was replaced by the procd watchdog mid 2013 with commit df7ce9301a25
("busybox: disable the watchdog utility by default"), which makes the kill
command obsolete since quite some time.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: populate boardname and model earlier</title>
<updated>2017-07-15T21:13:34+00:00</updated>
<author>
<name>Mathias Kresin</name>
<email>dev@kresin.me</email>
</author>
<published>2017-04-07T16:09:08+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ac3e05c5d757334944fbf1f14583164cd1d69172'/>
<id>ac3e05c5d757334944fbf1f14583164cd1d69172</id>
<content type='text'>
For targets using the generic board detection and board specific
settings in diag.sh, the board name is still unset at the time the
set_state() provided by diag.sh is called by 10_indicate_preinit.

Change the execution order to ensure the boardname is populated before
required the first time. Do the target specific board detection as
early as possible, directly followed by the generic one to allow a
seamless switch to the generic function for populating /tmp/sysinfo/.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For targets using the generic board detection and board specific
settings in diag.sh, the board name is still unset at the time the
set_state() provided by diag.sh is called by 10_indicate_preinit.

Change the execution order to ensure the boardname is populated before
required the first time. Do the target specific board detection as
early as possible, directly followed by the generic one to allow a
seamless switch to the generic function for populating /tmp/sysinfo/.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC</title>
<updated>2014-06-02T12:43:22+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2014-06-02T12:43:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f933a741a9c44cea58b2b3837dca99fc55d0b957'/>
<id>f933a741a9c44cea58b2b3837dca99fc55d0b957</id>
<content type='text'>
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] &amp;&amp; . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] &amp;&amp; . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf &lt;bittorf@bluebottle.com&gt;

SVN-Revision: 40915
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] &amp;&amp; . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] &amp;&amp; . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf &lt;bittorf@bluebottle.com&gt;

SVN-Revision: 40915
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: input/button drivers get loaded before preinit by procd</title>
<updated>2013-06-21T16:53:47+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2013-06-21T16:53:47+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=67f5f188b1f07726965e5c430a7657d836d67594'/>
<id>67f5f188b1f07726965e5c430a7657d836d67594</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 37000
</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: 37000
</pre>
</div>
</content>
</entry>
<entry>
<title>sysupgrade works on the wp54</title>
<updated>2011-03-21T16:52:14+00:00</updated>
<author>
<name>Travis Kemen</name>
<email>thepeople@openwrt.org</email>
</author>
<published>2011-03-21T16:52:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e9fdc5c9811cf3ab7ea17a0dd5b30004e1ac4ca6'/>
<id>e9fdc5c9811cf3ab7ea17a0dd5b30004e1ac4ca6</id>
<content type='text'>
SVN-Revision: 26257
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 26257
</pre>
</div>
</content>
</entry>
<entry>
<title>add support for generic eb214a, thanks cezary (#7027)</title>
<updated>2010-07-18T10:29:58+00:00</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2010-07-18T10:29:58+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=370e1f64dea4542709e9ab07b921fb5545e589dc'/>
<id>370e1f64dea4542709e9ab07b921fb5545e589dc</id>
<content type='text'>
SVN-Revision: 22275
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 22275
</pre>
</div>
</content>
</entry>
<entry>
<title>adm5120: Added preinit script to set vars based on cpuinfo during preinit main; This fixes a bug in which the per-board vars were not set due to cpuinfo not being mounted when the adm5120.sh was run</title>
<updated>2010-05-30T03:20:38+00:00</updated>
<author>
<name>Daniel Dickinson</name>
<email>crazycshore@gmail.com</email>
</author>
<published>2010-05-30T03:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=abb91e135f11c3b5cdf41085bce86b8cc7dce56d'/>
<id>abb91e135f11c3b5cdf41085bce86b8cc7dce56d</id>
<content type='text'>
SVN-Revision: 21633
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 21633
</pre>
</div>
</content>
</entry>
<entry>
<title>adm5120: Fixed name of preinit_iface scriptlet</title>
<updated>2010-05-30T03:20:27+00:00</updated>
<author>
<name>Daniel Dickinson</name>
<email>crazycshore@gmail.com</email>
</author>
<published>2010-05-30T03:20:27+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=50a5ef1200c8aab7a79283cc40132b436a1e7ca7'/>
<id>50a5ef1200c8aab7a79283cc40132b436a1e7ca7</id>
<content type='text'>
SVN-Revision: 21632
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 21632
</pre>
</div>
</content>
</entry>
<entry>
<title>preinit: fix mixup between led and reset button enable on some platforms (thx, cshore)</title>
<updated>2010-01-28T19:28:02+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2010-01-28T19:28:02+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0e84ed29ea6e824e01f24b9f0918e9f28ad583cd'/>
<id>0e84ed29ea6e824e01f24b9f0918e9f28ad583cd</id>
<content type='text'>
SVN-Revision: 19370
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 19370
</pre>
</div>
</content>
</entry>
<entry>
<title>add preinit modularization work by Daniel Dickinson (cshore)</title>
<updated>2010-01-25T17:11:17+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2010-01-25T17:11:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=56bc02a305ae8d8a7e927622d924cdab56d4f012'/>
<id>56bc02a305ae8d8a7e927622d924cdab56d4f012</id>
<content type='text'>
SVN-Revision: 19331
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 19331
</pre>
</div>
</content>
</entry>
</feed>
