[U-Boot] [STATUS] [ARM]

Rob Herring robherring2 at gmail.com
Tue Feb 21 23:49:10 CET 2012


On 02/17/2012 02:45 AM, Albert ARIBAUD wrote:
> Le 14/02/2012 17:45, Rob Herring a écrit :
>> Albert,
>>
>> On 02/12/2012 04:18 AM, Albert ARIBAUD wrote:
>>> Hi all,
>>>
>>> I just did a ./MAKEALL arm with ELDK42 on the u-boot-arm/master for
>>> which I just sent a pull request.
>>>
>>> The raw result is:
>>>
>>> --------------------- SUMMARY ----------------------------
>>> Boards compiled: 283
>>> Boards with warnings or errors: 61 ( actux1_4_16 actux1_4_32 actux1_8_16
>>> actux1_8_32 actux2 actux3 actux4 ca9x4_ct_vxp cam_enc_4xx colibri_pxa270
>>> dvlhost efikamx efikasb ethernut5 flea3 harmony hawkboard hawkboard_uart
>>> highbank imx27lite imx31_litekit imx31_phycore imx31_phycore_eet
>>> km_kirkwood km_kirkwood_pci m28evk magnesium mcx medcom mgcoge3un
>>> mt_ventoux mx28evk mx31ads mx31pdk mx35pdk mx51evk mx53ard mx53evk
>>> mx53loco mx53smd mx6qarm2 mx6qsabrelite nhk8815 nhk8815_onenand
>>> omap1610h2_cs_autoboot omap1610inn_cs_autoboot paz00 pdnb3 plutux portl2
>>> qong scpu seaboard tt01 twister ventana vision2 vpac270_nor_128
>>> vpac270_nor_256 vpac270_ond_256 )
>>> ----------------------------------------------------------
>>>
>>> Of the 61 boards which partially or totally fail to build, some fail
>>> because the boards are big endian -- I don't count them in, that's my
>>> toolchain failing, not them. They are:
>>>
>>> actux1_4_16 actux1_4_32 actux1_8_16 actux1_8_32 actux2 actux3 actux4
>>> dvlhost pdnb3 scpu.
>>>
>>> However, 30 remainig boards share the same cause:
>>>
>>> ca9x4_ct_vxp colibri_pxa270 efikamx efikasb flea3 imx27lite
>>> imx31_litekit imx31_phycore_eet imx31_phycore m28evk magnesium mx28evk
>>> mx31ads mx31pdk mx35pdk mx51evk mx53ard mx53evk mx53loco mx53smd
>>> mx6qarm2 mx6qsabrelite nhk8815 nhk8815_onenand qong tt01 vision2
>>> vpac270_nor_128 vpac270_nor_256 vpac270_ond_256
>>>
>>> /home/uboot/src/u-boot-arm/common/main.c:717: undefined reference to
>>> `get_ticks'
>>> /home/uboot/src/u-boot-arm/common/main.c:717: undefined reference to
>>> `get_tbclk'
>>>
>>> (some only have one of the two errors)
>>>
>>> Also, 6 boards fail with the same error:
>>>
>>> harmony medcom paz00 plutux seaboard ventana (apparently all tegras)
>>>
>>> {standard input}: Assembler messages:
>>> {standard input}:568: Error: bad expression -- `ldr sp,=#1073872896'
>>>
>>> The rest:
>>>
>>> cam_enc_4xx ethernut5 hawkboard hawkboard_uart highbank km_kirkwood
>>> km_kirkwood_pci mcx mgcoge3un mt_ventoux omap1610h2_cs_autoboot
>>> omap1610inn_cs_autoboot portl2 twister
>>>
>>
>> I've posted a fix for highbank already:
>>
>> http://patchwork.ozlabs.org/patch/139020/
> 
> Now builds but still has warnings:

These are all unrelated to the fix.

> Configuring for highbank board...
> calxedaxgmac.c: In function 'xgmac_tx':
> calxedaxgmac.c:445: warning: passing argument 2 of
> 'desc_set_buf_addr_and_size' discards qualifiers from pointer target type
> cmd_pxe.c: In function 'do_pxe_get':
> cmd_pxe.c:334: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> cmd_pxe.c: In function 'get_relfile_envaddr':
> cmd_pxe.c:374: warning: dereferencing type-punned pointer will break
> strict-aliasing rules

I don't get these warnings with 4.6.1.

> highbank.c: In function 'board_eth_init':
> highbank.c:42: warning: implicit declaration of function
> 'calxedaxgmac_initialize'

This needs fixing.

> common/libcommon.o: In function `cread_line':
> /home/uboot/src/u-boot-arm/common/main.c:717: undefined reference to
> `get_tbclk'

Looks like it's gotten broken in a different way now. I'm sending out
some fixes in a minute.

Rob


More information about the U-Boot mailing list