public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Umar Qureshey <umarq@quartics.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] LAN chip dead on ARM Integrator/CP board
Date: Wed, 21 Dec 2005 19:34:20 -0800	[thread overview]
Message-ID: <43AA1EBC.1000202@quartics.com> (raw)
In-Reply-To: <43AA1912.1020601@quartics.com>

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

      reply	other threads:[~2005-12-22  3:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21 20:17 [U-Boot-Users] LAN chip dead on ARM Integrator/CP board Umar Qureshey
2005-12-21 23:46 ` Wolfgang Denk
2005-12-22  0:21   ` Umar Qureshey
2005-12-22  0:33     ` Wolfgang Denk
2005-12-22  3:10       ` Umar Qureshey
2005-12-22  3:34         ` Umar Qureshey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43AA1EBC.1000202@quartics.com \
    --to=umarq@quartics.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox