[U-Boot-Users] LAN chip dead on ARM Integrator/CP board

Umar Qureshey umarq at quartics.com
Thu Dec 22 04:34:20 CET 2005


>>
> I applied the patch but the compiler still puked when compiling 
> cpu/arm926ejs/start.S.  It complained:
>
> cc1: invalid option 'abi=apcs-gnu'
>
> So I changed the cpu/arm926ejs/config.mk:
>
> --- config.mk   2005-12-21 18:07:33.773204149 -0800
> +++ config.mk.orig      2005-12-21 15:47:45.421844207 -0800
> @@ -30,5 +30,5 @@
> # Supply options according to compiler version
> #
> # 
> =========================================================================
> -PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32)
> +PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
> PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call 
> cc-option,-malignment-traps,))
>
>
> This got it to compile but 1.1.4 exhibits the same LAN problem.
>
> Regards,
> umar
>
Oops!  That patch is backwards.  It should be:

--- config.mk.orig      2005-12-21 15:47:45.421844207 -0800
+++ config.mk   2005-12-21 18:07:33.773204149 -0800
@@ -30,5 +30,5 @@
 # Supply options according to compiler version
 #
 # =========================================================================
-PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
+PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32)
 PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call 
cc-option,-malignment-traps,))

Regards,
umar





More information about the U-Boot mailing list