public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Rob Herring <robherring2@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Testing report for i.MX51 using Linaro/Ubuntu gcc 4.6.3 (from Precise repositories), libgcc, etc.
Date: Sat, 04 Aug 2012 16:58:00 -0500	[thread overview]
Message-ID: <501D9AE8.2030904@gmail.com> (raw)
In-Reply-To: <CAKGA1b=KecRhXzJWor6xRTY2p6A1ukofoPoHm-1DwQqRw8aCOQ@mail.gmail.com>

On 08/02/2012 12:49 PM, Matt Sealey wrote:
> Marek Vasut insists I report this to the list, so here goes;
> 
> Compiling a U-Boot for i.MX51 here (for the Efika MX) basically
> doesn't operate well. Among other things, we got data aborts in
> several places, most annoyingly sometime after boot_relocate_fdt. This
> was using a 64-bit Ubuntu Precise Pangolin (12.04) installation, the
> standard "arm-linux-gnueabi-gcc-4.6" (4.6.3-1ubuntu5) compiler and
> other toolchain components (no modifications made).
> 
> Using USE_PRIVATE_LIBGCC=yes solved the issues, as did changing to the
> gcc 4.4.7 (4.4.7-1ubuntu2) and using either private libgcc or the one
> provided by the toolchain.
> 
> This is not the first problem we've ever had with the Linaro gcc
> toolchain, especially not with 4.6. So far, reverting to building
> using gcc 4.4.7 has solved all the problems, and we're using
> USE_PRIVATE_LIBGCC by default now anyway because I don't see the point
> in using the one provided with the toolchain if it is such a huge
> unknown and U-Boot provides a compatible feature anyway.
> 
> I'm not sure what anyone on the list is going to make of this or if it
> influences some design decisions anywhere else in U-Boot, just that I
> was nagged incessantly to "report my findings" - we all knew the
> Linaro compiler generally sucks already, though, right?

Do you have unaligned-accesses disabled? This version of the compiler
and gcc 4.7 or later will generate unaligned accesses which u-boot does
not enable the h/w for. There was a patch recently to address this.

Rob

  parent reply	other threads:[~2012-08-04 21:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02 17:49 [U-Boot] Testing report for i.MX51 using Linaro/Ubuntu gcc 4.6.3 (from Precise repositories), libgcc, etc Matt Sealey
2012-08-02 19:41 ` Wolfgang Denk
2012-08-04 21:58 ` Rob Herring [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-06 22:37 Michael Hope

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=501D9AE8.2030904@gmail.com \
    --to=robherring2@gmail.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