<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/brcm63xx/image/lzma-loader/src/head.S, branch v17.01.2</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>brcm63xx/lzma-loader: fix O32 ABI conformance</title>
<updated>2016-03-10T19:10:54+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-03-10T19:10:54+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=01ca7a34f08856331f426c0e34d06d738e150b17'/>
<id>01ca7a34f08856331f426c0e34d06d738e150b17</id>
<content type='text'>
According to the calling convention of the o32 ABI the caller
function must reserve stack space for $a0-$a3 registers in case
the callee needs to save its arguments.

The assembly code of the loader does not reserve stack space for
these registers thus when the 'loader_main' function needs to save
its arguments, those will be stored in the 'workspace' area instead
of the stack.

Because the workspace area is also used by other part of the code, the
saved register values gets overwritten and this often leads to failed
kernel boots.

Fix the code to reserve stack space for the registers to avoid this
error.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
[noltari: apply the fix for brcm63xx too]
Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;

SVN-Revision: 48979
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to the calling convention of the o32 ABI the caller
function must reserve stack space for $a0-$a3 registers in case
the callee needs to save its arguments.

The assembly code of the loader does not reserve stack space for
these registers thus when the 'loader_main' function needs to save
its arguments, those will be stored in the 'workspace' area instead
of the stack.

Because the workspace area is also used by other part of the code, the
saved register values gets overwritten and this often leads to failed
kernel boots.

Fix the code to reserve stack space for the registers to avoid this
error.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
[noltari: apply the fix for brcm63xx too]
Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;

SVN-Revision: 48979
</pre>
</div>
</content>
</entry>
<entry>
<title>brcm63xx: add working lzma-loader and use it for initramfs</title>
<updated>2014-08-01T21:56:31+00:00</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2014-08-01T21:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=701e2a38fef4fce862eaeb21fc97874a6387a569'/>
<id>701e2a38fef4fce862eaeb21fc97874a6387a569</id>
<content type='text'>
Add a working lzma loader and use it for generating initramfs kernels
to allow easily netbooting elf kernels on devices with a 4 MiB CFE
size limit.

Based on ar71xx's lzma-loader.

Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;

SVN-Revision: 41940
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a working lzma loader and use it for generating initramfs kernels
to allow easily netbooting elf kernels on devices with a 4 MiB CFE
size limit.

Based on ar71xx's lzma-loader.

Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;

SVN-Revision: 41940
</pre>
</div>
</content>
</entry>
<entry>
<title>strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_&lt;ver&gt;_&lt;board&gt; becomes CONFIG_TARGET_&lt;board&gt;, same for profiles.</title>
<updated>2007-09-06T16:27:37+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2007-09-06T16:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=56231056ea784f1cec6450f649b1adaed1f56366'/>
<id>56231056ea784f1cec6450f649b1adaed1f56366</id>
<content type='text'>
SVN-Revision: 8653
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 8653
</pre>
</div>
</content>
</entry>
</feed>
