[U-Boot] U-Boot PXA support

Tom Rini trini at konsulko.com
Thu May 16 17:49:35 UTC 2019


On Thu, May 16, 2019 at 02:53:55PM +0000, Marcel Ziswiler wrote:
> Hi Tom
> 
> On Mon, 2019-05-06 at 09:26 -0400, Tom Rini wrote:
> > Hey folks,
> > 
> > I'm attempting, again, to see what we need to do in order to use gcc-
> > 8.x
> > for U-Boot and ran into, again:
> > https://patchwork.ozlabs.org/patch/920329/ which in short is that
> > when
> > using -mcpu=xscale gcc-8.x throws an odd error:
> > cc1: error: switch -mcpu=xscale conflicts with -march=armv5te switch
> > [-Werror]
> > 
> > Now note, U-Boot isn't passing -march= at all, just -mcpu=xscale
> > which
> > suggests perhaps something broke in upstream gcc.  Looking at the
> > kernel, it's not used -mcpu=xscale ever, just -mtune=xscale but that
> > leads to different failures (seen here with gcc-7.3):
> >   CC      drivers/usb/gadget/pxa25x_udc.o
> > {standard input}: Assembler messages:
> > {standard input}:779: Error: selected processor does not support `pld
> > [lr]' in ARM mode
> > {standard input}:1201: Error: selected processor does not support
> > `pld [r7]' in ARM mode
> > {standard input}:2519: Error: selected processor does not support
> > `pld [r3]' in ARM mode
> > {standard input}:2796: Error: selected processor does not support
> > `pld [r3]' in ARM mode
> > 
> > So, what should we do about this?  Is there still active interest in
> > supporting the PXA platforms?  Thanks folks!
> 
> We are actually still shipping Colibri PXA270 modules for another one
> or two years I believe after which Marvell stops selling us chips.
> 
> The strange thing is that I build U-Boot master more or less daily
> without any known issues currently using the regular gcc 8.2 2019.01
> tool chain from ARM.

Oh, that is interesting.  The failure that triggers this comes from
https://cdn.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.1.0/x86_64-gcc-8.1.0-nolibc-arm-linux-gnueabi.tar.xz

Can you point me at the gcc-8.2 toolchain you're talking about please?
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190516/248eb2b4/attachment.sig>


More information about the U-Boot mailing list