avila boot2 problem ?

John-Mark Gurney jmg at funkthat.com
Sat Jul 18 18:32:20 UTC 2015


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."


More information about the freebsd-arm mailing list