[RFC 1/2] MIPS: start.S: add "barebox" label at _start + 8
Antony Pavlov
antonynpavlov at gmail.com
Sat Apr 28 12:04:13 EDT 2012
On 28 April 2012 17:52, Antony Pavlov <antonynpavlov at gmail.com> wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
> arch/mips/boot/start.S | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S
> index b756d40..d8f4fd5 100644
> --- a/arch/mips/boot/start.S
> +++ b/arch/mips/boot/start.S
> @@ -52,6 +52,14 @@ _pc: addiu \rd, ra, \label - _pc # label is assumed to be
> .align 4
>
> EXPORT(_start)
> +
> + b __start
> + nop
> +
> + .ascii "barebox"
There is the problem with mips64 (thank to Jean-Christophe).
We must set offset for "barebox" string more explicitly.
I will remake the patches.
> + .byte 0
> +
> +__start:
> /* disable watchpoints */
> mtc0 zero, CP0_WATCHLO
> mtc0 zero, CP0_WATCHHI
> --
> 1.7.10
>
--
Best regards,
Antony Pavlov
More information about the barebox
mailing list