public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] powerpc/85xx: select -mcpu=8540 to match -Wa, e500
Date: Thu, 24 Jan 2013 18:21:34 -0600	[thread overview]
Message-ID: <1359073294.24865.18@snotra> (raw)
In-Reply-To: <CAKWjMd7o9PDymrDFRpUtLUJWg2Q_s-C_AWJot8GoMD6sF4ayiQ@mail.gmail.com> (from afleming@gmail.com on Thu Jan 24 02:07:29 2013)

On 01/24/2013 02:07:29 AM, Andy Fleming wrote:
> Scott, I reverted this patch, and it fixed some build errors:
> 
> 20001122-1.c:1:0: error: E500 and FPRs not supported
> 20010114-2.c:1:0: error: E500 and FPRs not supported
> make[2]: ***
> [/local/afleming/u-boot/build/P2020DS/post/lib_powerpc/fpu/20001122-1.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: ***
> [/local/afleming/u-boot/build/P2020DS/post/lib_powerpc/fpu/20010114-2.o]
> Error 1
> make[1]: *** [postdeps] Error 2
> make: *** [/local/afleming/u-boot/build/P2020DS/post/libpost.o] Error  
> 2
> make: INTERNAL: Exiting with 4 jobserver tokens available; should be  
> 3!

Sigh.  Patch coming to use -mcpu=e500mc when appropriate, but...

> Similar errors were seen on all these boards:
> 
> P2041RDB_SRIO_PCIE_BOOT  P5020DS
> P3041DS                  P5020DS_NAND
> P2020DS               P3041DS_NAND             P5020DS_SDCARD
> P2020DS_36BIT         P3041DS_SDCARD           P5020DS_SECURE_BOOT
> P2020DS_DDR2          P3041DS_SECURE_BOOT      P5020DS_SPIFLASH
> P2020DS_SDCARD        P3041DS_SPIFLASH         P5020DS_SRIO_PCIE_BOOT
> P2020DS_SPIFLASH      P3041DS_SRIO_PCIE_BOOT   P5040DS
> P2041RDB              P4080DS                  xpedite520x
> P2041RDB_NAND         P4080DS_SDCARD           xpedite537x
> P2041RDB_SDCARD       P4080DS_SECURE_BOOT      xpedite550x
> P2041RDB_SECURE_BOOT  P4080DS_SPIFLASH
> P2041RDB_SPIFLASH     P4080DS_SRIO_PCIE_BOOT

...not all of these are e500mc derivatives (P2020DS and xpedite).  So  
it seems this patch found a bug in that some e500v2 boards are building  
normal FP code.

-Scott

      reply	other threads:[~2013-01-25  0:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09  1:43 [U-Boot] [PATCH] powerpc/85xx: select -mcpu=8540 to match -Wa, e500 Scott Wood
2013-01-19  1:38 ` [U-Boot] [PATCH v2] " Scott Wood
2013-01-24  8:07   ` Andy Fleming
2013-01-25  0:21     ` Scott Wood [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=1359073294.24865.18@snotra \
    --to=scottwood@freescale.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