From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 16 Aug 2015 05:31:58 +0200 Subject: [U-Boot] [PATCH 07/11] arm: pxa: colibri_pxa270: fix boot hang In-Reply-To: <1439691396-28809-7-git-send-email-marcel@ziswiler.com> References: <1439691396-28809-1-git-send-email-marcel@ziswiler.com> <1439691396-28809-7-git-send-email-marcel@ziswiler.com> Message-ID: <201508160531.58469.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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