[U-Boot] U-Boot PXA support

Marek Vasut marex at denx.de
Thu May 16 15:02:58 UTC 2019


On 5/16/19 4:53 PM, 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.
> 
> The only issue is the missing DM_MMC and/or DM_USB conversion which I
> started working on a long time ago but never came around properly
> debugging. I may pick that one up tomorrow again.

Would you like to co-maintain the PXA ? :)

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list