Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2015 11:32:19 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Berislav Purgar <bpurgar@gmail.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: avila boot2 problem ?
Message-ID:  <20150718183218.GI8523@funkthat.com>
In-Reply-To: <CAAUsrB4QWx-eJAw-JiUejMHX%2B9Z6tGY8rqgGiARe4ButjgJeAA@mail.gmail.com>
References:  <CAAUsrB4QWx-eJAw-JiUejMHX%2B9Z6tGY8rqgGiARe4ButjgJeAA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Berislav Purgar wrote this message on Sat, Jul 18, 2015 at 18:51 +0200:
> i got this when trying to compile boot2 for avila board :

Hmm.. maybe it's been a while since I built for arm, but this should
be easy to fix... Looks like the proper END is missing...

Can you try to see if this patch fixes things?  If it does, I'll commit
it...

Thanks for the report...

diff --git a/sys/boot/arm/ixp425/boot2/arm_init.S b/sys/boot/arm/ixp425/boot2/arm_init.S
index 9ede9fc..15e1e6c 100644
--- a/sys/boot/arm/ixp425/boot2/arm_init.S
+++ b/sys/boot/arm/ixp425/boot2/arm_init.S
@@ -43,6 +43,7 @@ ASENTRY_NP(start)
 /* main should not return.  If it does, spin forever		*/
 infiniteLoop:
 	b	infiniteLoop
+END(start)
 
 .Lstart:
 	.word	_edata
@@ -52,5 +53,6 @@ infiniteLoop:
 ENTRY(cpu_id)
 	mrc	p15, 0, r0, c0, c0, 0
 	RET
+END(cpu_id)
 
 /* End */

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150718183218.GI8523>