public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 07/11] arm: pxa: colibri_pxa270: fix boot hang
Date: Sun, 16 Aug 2015 05:31:58 +0200	[thread overview]
Message-ID: <201508160531.58469.marex@denx.de> (raw)
In-Reply-To: <1439691396-28809-7-git-send-email-marcel@ziswiler.com>

On Sunday, August 16, 2015 at 04:16:32 AM, Marcel Ziswiler wrote:
> Fix boot hang caused by incompatible libgcc which has been observed
> when using later Linaro toolchains like
> gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux or
> gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf.

That's no surprise, since U-Boot links libgcc into itself. And since PXA2xx
is armv5-compatible, you'd need armv5 toolchain. The hang you're observing
is most likely happening in some aeabi_* function pulled in from libgcc,
which contains some armv7 instruction(s), which in turn upsets the xscale.

I would suggest that we drop this patch, but I would also suggest that we do
the same thing kernel does and just enable CONFIG_USE_PRIVATE_LIBGCC globally 
for everyone to break this constant nonsensical influx of toolchain-related 
problems. This nonsense has been dragging on for too long. Tom? Albert?

> Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
> ---
> 
>  configs/colibri_pxa270_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/colibri_pxa270_defconfig
> b/configs/colibri_pxa270_defconfig index 3963a50..2ef9ccb 100644
> --- a/configs/colibri_pxa270_defconfig
> +++ b/configs/colibri_pxa270_defconfig
> @@ -4,3 +4,4 @@ CONFIG_TARGET_COLIBRI_PXA270=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_SETEXPR is not set
> +CONFIG_USE_PRIVATE_LIBGCC=y

Best regards,
Marek Vasut

  reply	other threads:[~2015-08-16  3:31 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-16  2:16 [U-Boot] [PATCH 01/11] arm: pxa: clean-up include file order Marcel Ziswiler
2015-08-16  2:16 ` [U-Boot] [PATCH 02/11] arm: pxa: mmc: " Marcel Ziswiler
2015-08-16  2:16 ` [U-Boot] [PATCH 03/11] arm: tegra: " Marcel Ziswiler
2015-08-16 21:11   ` Simon Glass
2015-08-16 21:19     ` Marcel Ziswiler
2015-08-16 21:26       ` Simon Glass
2015-08-16 21:34         ` Marcel Ziswiler
2015-08-17 20:55           ` Tom Warren
2015-08-18  8:13             ` Marcel Ziswiler
2015-08-17 22:14           ` Simon Glass
2015-08-18  8:11             ` Marcel Ziswiler
2015-08-18 12:44               ` Simon Glass
2015-08-18 19:00                 ` Tom Warren
2015-08-19 16:00                 ` Marcel Ziswiler
2015-08-19 17:50                   ` Simon Glass
2015-08-16  2:16 ` [U-Boot] [PATCH 04/11] serial: pxa: " Marcel Ziswiler
2015-08-16  2:16 ` [U-Boot] [PATCH 05/11] usb: pxa27x_udc: " Marcel Ziswiler
2015-08-16  2:16 ` [U-Boot] [PATCH 06/11] lcd: pxa: " Marcel Ziswiler
2015-08-16  2:16 ` [U-Boot] [PATCH 07/11] arm: pxa: colibri_pxa270: fix boot hang Marcel Ziswiler
2015-08-16  3:31   ` Marek Vasut [this message]
2015-08-16  8:03     ` Marcel Ziswiler
2015-08-16 14:34       ` Marek Vasut
2015-08-16  2:16 ` [U-Boot] [PATCH 08/11] arm: pxa: palmtreo680: get rid of obsolete CONFIG_SYS_LCD_PXA_NO_L_BIAS Marcel Ziswiler
2015-08-16  2:16 ` [U-Boot] [PATCH 09/11] arm: pxa: colibri_pxa270: add some more nor flash details Marcel Ziswiler
2015-08-16  2:16 ` [U-Boot] [PATCH 10/11] arm: pxa: colibri_pxa270: add optional lcd support Marcel Ziswiler
2015-08-16  2:16 ` [U-Boot] [PATCH 11/11] arm: pxa: colibri_pxa270: add optional i2c support Marcel Ziswiler
2015-08-16 16:53 ` [U-Boot] [PATCH 01/11] arm: pxa: clean-up include file order Marek Vasut
2015-08-16 17:16   ` Marcel Ziswiler
2015-08-16 17:26     ` Marek Vasut
2015-08-16 21:27       ` Marcel Ziswiler

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=201508160531.58469.marex@denx.de \
    --to=marex@denx.de \
    --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