<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/adm5120/base-files/lib/upgrade, 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>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>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>adm5120: improve sysupgrade support</title>
<updated>2010-01-03T12:14:17+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2010-01-03T12:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d256f20adcc54ff498b54a933281eff527d004dd'/>
<id>d256f20adcc54ff498b54a933281eff527d004dd</id>
<content type='text'>
SVN-Revision: 19016
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 19016
</pre>
</div>
</content>
</entry>
<entry>
<title>sysupgrade for adm5120</title>
<updated>2008-09-25T11:29:04+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2008-09-25T11:29:04+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=71b68efe914334ae4b8df912794ac94373124fee'/>
<id>71b68efe914334ae4b8df912794ac94373124fee</id>
<content type='text'>
Sysupgrade adapted from the bcm47xx one.

Add a hook to disable watchdog before upgrading.

Signed-off-by: Frédéric Moulins &lt;ffrrrr@gmail.com&gt;

SVN-Revision: 12694
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sysupgrade adapted from the bcm47xx one.

Add a hook to disable watchdog before upgrading.

Signed-off-by: Frédéric Moulins &lt;ffrrrr@gmail.com&gt;

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