From mboxrd@z Thu Jan 1 00:00:00 1970 From: Umar Qureshey Date: Wed, 21 Dec 2005 19:34:20 -0800 Subject: [U-Boot-Users] LAN chip dead on ARM Integrator/CP board In-Reply-To: <43AA1912.1020601@quartics.com> References: <20051222003328.BC55D354042@atlas.denx.de> <43AA1912.1020601@quartics.com> Message-ID: <43AA1EBC.1000202@quartics.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >> > 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