Skip to contentSkip to conversation

[U-Boot] [STATUS] [ARM]

U-Boot Albert ARIBAUD 7 participants 14 messages Feb 12, 2012 – Feb 21, 2012

lore
Share & tools
lore
#0 lore raw

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

Fail with various causes; I'll send out individual status mails (CC:
interested parties) later today.

Amicalement,

Signature · 1 line
Albert.
#1 lore raw
Quoted 21 lines

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 )
----------------------------------------------------------

Quoted 6 lines

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.

Yea ... I wonder if anyone actually tested those recently (in last 2-3 years).

Quoted 9 lines

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

Quoted 6 lines

/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)

PXA timer is broken. MX5 (efika) should be fixed by Stefano's patch.

Quoted 10 lines

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:

Quoted 8 lines

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

Fail with various causes; I'll send out individual status mails (CC:
interested parties) later today.

Amicalement,

Need sleep ...

M

#2 lore raw
Quoted 38 lines · Marek Vasut
Quoted 21 lines

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 )
----------------------------------------------------------

Quoted 6 lines

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.

Yea ... I wonder if anyone actually tested those recently (in last 2-3 years).

Quoted 9 lines

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

Quoted 8 lines
Quoted 6 lines

/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)

PXA timer is broken. MX5 (efika) should be fixed by Stefano's patch.

Yes. The MX27, MX28, MX31, MX35 and MX5/MX6 fixes for this:

http://lists.denx.de/pipermail/u-boot/2012-February/117605.html

http://lists.denx.de/pipermail/u-boot/2012-February/117528.html

http://lists.denx.de/pipermail/u-boot/2012-February/117381.html

http://lists.denx.de/pipermail/u-boot/2012-February/117380.html

http://lists.denx.de/pipermail/u-boot/2012-February/117382.html

Best regards

Dirk

#3 lore raw

Hi Dirk, Marek, Stefano,

Le 12/02/2012 12:25, Dirk Behme a ?crit :

Quoted 55 lines · Marek Vasut
Quoted 39 lines
Quoted 21 lines

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 )
----------------------------------------------------------

Quoted 6 lines

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.

Yea ... I wonder if anyone actually tested those recently (in last 2-3 years).

Quoted 9 lines

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

Quoted 8 lines
Quoted 6 lines

/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)

PXA timer is broken. MX5 (efika) should be fixed by Stefano's patch.

Yes. The MX27, MX28, MX31, MX35 and MX5/MX6 fixes for this:

http://lists.denx.de/pipermail/u-boot/2012-February/117605.html

http://lists.denx.de/pipermail/u-boot/2012-February/117528.html

Quoted 7 lines

http://lists.denx.de/pipermail/u-boot/2012-February/117381.html

http://lists.denx.de/pipermail/u-boot/2012-February/117380.html

http://lists.denx.de/pipermail/u-boot/2012-February/117382.html

Best regards

Ok, so should I expect a new imx pull request?

Quoted 1 line

Dirk

Amicalement,

Signature · 1 line
Albert.
#4 lore raw
Quoted 2 lines · Albert ARIBAUD

Hi Dirk, Marek, Stefano,

Hi Albert,

Quoted 8 lines
Quoted 8 lines

Yes. The MX27, MX28, MX31, MX35 and MX5/MX6 fixes for this:

http://lists.denx.de/pipermail/u-boot/2012-February/117605.html

http://lists.denx.de/pipermail/u-boot/2012-February/117528.html

http://lists.denx.de/pipermail/u-boot/2012-February/117381.html

Quoted 7 lines
Quoted 5 lines

http://lists.denx.de/pipermail/u-boot/2012-February/117380.html

http://lists.denx.de/pipermail/u-boot/2012-February/117382.html

Best regards

Ok, so should I expect a new imx pull request?

Yes - I would also push a couple of patches for i.MX6, this is the reason I defer my pull request. Then I will send to you my pull request.

Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
#5 lore raw
In reply to Albert ARIBAUD

hi Albert,

Quoted 22 lines · Albert ARIBAUD

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 )
------------------------------**----------------------------

<snip>

Quoted 10 lines

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

Fail with various causes; I'll send out individual status mails (CC:
interested parties) later today.

I pulled in a new u-boot-arm tree, and am able to compile both hawkboard and hawkboard_uart fine. I use a 4.6.2 based gcc(arm-none-eabi) and a 2.21 binutils. Can you please send me a log of the errors you get for the hawkboard. Thanks.

-sughosh

#6 lore raw
Quoted 34 lines

hi Albert,

On Sun, Feb 12, 2012 at 3:48 PM, Albert ARIBAUD

Quoted 20 lines · <[email protected]>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 )
------------------------------**----------------------------

<snip>

Quoted 6 lines

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

Quoted 7 lines
Quoted 2 lines

Fail with various causes; I'll send out individual status mails (CC:
interested parties) later today.

I pulled in a new u-boot-arm tree, and am able to compile both hawkboard and hawkboard_uart fine. I use a 4.6.2 based gcc(arm-none-eabi) and a 2.21 binutils. Can you please send me a log of the errors you get for the hawkboard. Thanks.

Can you please try with ELDK 5.1 and ELDK 4.2 ? These are toolchains that the u- boot has to be compilable with without errors. If it isn't, there's a problem in the code.

M

Quoted 2 lines

-sughosh

#7 lore raw
Quoted 37 lines · Marek Vasut
Quoted 37 lines

hi Albert,

On Sun, Feb 12, 2012 at 3:48 PM, Albert ARIBAUD

Quoted 20 lines · <[email protected]>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 )
------------------------------**----------------------------

<snip>

Quoted 8 lines

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

Fail with various causes; I'll send out individual status mails (CC:
interested parties) later today.

Quoted 8 lines
Quoted 4 lines

I pulled in a new u-boot-arm tree, and am able to compile both hawkboard and hawkboard_uart fine. I use a 4.6.2 based gcc(arm-none-eabi) and a 2.21 binutils. Can you please send me a log of the errors you get for the hawkboard. Thanks.

Can you please try with ELDK 5.1 and ELDK 4.2 ? These are toolchains that the u- boot has to be compilable with without errors. If it isn't, there's a problem in the code.

I'll grab those as well but we'll have different warnings with toolchains due to the rel.dyn/bss overlap issue that was eventually (apparently) fixed. I don't think any of these (of davinci/omap*/am33xx) are fatal, just warnings.

Signature · 1 line
Tom
#8 lore raw
In reply to Sughosh Ganu

Hi, Sughosh,

Le 12/02/2012 15:03, Sughosh Ganu a ?crit :

Quoted 36 lines

hi Albert,

Quoted 22 lines · Albert ARIBAUD

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 )
------------------------------**----------------------------

<snip>

Quoted 6 lines

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

Quoted 8 lines
Quoted 4 lines

Fail with various causes; I'll send out individual status mails (CC:
interested parties) later today.

I pulled in a new u-boot-arm tree, and am able to compile both hawkboard and hawkboard_uart fine. I use a 4.6.2 based gcc(arm-none-eabi) and a 2.21 binutils. Can you please send me a log of the errors you get for the hawkboard. Thanks.

Sure, here is what I get with ELDK4.2:

uboot at lilith:~/src/u-boot-arm$ ./MAKEALL hawkboard Configuring for hawkboard board... arch/arm/cpu/arm926ejs/davinci/libdavinci.o: In function `lldiv':
/home/uboot/src/u-boot-arm/include/div64.h:45: undefined reference to `__div64_32'
drivers/mtd/nand/libnand.o: In function `nand_command':
/home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:586: undefined reference to udelay' /home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:602: undefined reference to udelay' /home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:608: undefined reference to `udelay'
make[1]: *** [/home/uboot/src/u-boot-arm/spl/u-boot-spl] Erreur 1
make: *** [spl/u-boot-spl.bin] Erreur 2
text data bss dec hex filename
191224 6388 54664 252276 3d974 ./u-boot

--------------------- SUMMARY ---------------------------- Boards compiled: 1
Boards with warnings or errors: 1 ( hawkboard )
----------------------------------------------------------

Quoted 1 line

-sughosh

Amicalement,

Signature · 1 line
Albert.
#9 lore raw
Quoted 70 lines · Albert ARIBAUD

Hi, Sughosh,

Le 12/02/2012 15:03, Sughosh Ganu a ?crit :

Quoted 37 lines

hi Albert,

Quoted 23 lines · Albert ARIBAUD

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 )
------------------------------**----------------------------

<snip>

Quoted 6 lines

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

Quoted 8 lines
Quoted 4 lines

Fail with various causes; I'll send out individual status mails (CC:
interested parties) later today.

I pulled in a new u-boot-arm tree, and am able to compile both hawkboard and hawkboard_uart fine. I use a 4.6.2 based gcc(arm-none-eabi) and a 2.21 binutils. Can you please send me a log of the errors you get for the hawkboard. Thanks.

Sure, here is what I get with ELDK4.2:

uboot at lilith:~/src/u-boot-arm$ ./MAKEALL hawkboard Configuring for hawkboard board... arch/arm/cpu/arm926ejs/davinci/libdavinci.o: In function `lldiv':
/home/uboot/src/u-boot-arm/include/div64.h:45: undefined reference to `__div64_32'
drivers/mtd/nand/libnand.o: In function `nand_command':
/home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:586: undefined reference to udelay' /home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:602: undefined reference to udelay' /home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:608: undefined reference to `udelay'
make[1]: *** [/home/uboot/src/u-boot-arm/spl/u-boot-spl] Erreur 1
make: *** [spl/u-boot-spl.bin] Erreur 2
? text ? ?data ? ? bss ? ? dec ? ? hex filename
?191224 ? ?6388 ? 54664 ?252276 ? 3d974 ./u-boot

Quoted 4 lines

--------------------- SUMMARY ---------------------------- Boards compiled: 1
Boards with warnings or errors: 1 ( hawkboard )
----------------------------------------------------------

Hmm, built-in udelay w/ newer toolchains, not in older ones?

Signature · 1 line
Tom
#10 lore raw
Quoted 3 lines · Tom Rini

On Sun, Feb 12, 2012 at 7:35 AM, Albert ARIBAUD
<[email protected]> wrote:

<snip>

Quoted 30 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

Fail with various causes; I'll send out individual status mails (CC:
interested parties) later today.

I pulled in a new u-boot-arm tree, and am able to compile both hawkboard and hawkboard_uart fine. I use a 4.6.2 based gcc(arm-none-eabi) and a

2.21

Quoted 23 lines
Quoted 2 lines

binutils. Can you please send me a log of the errors you get for the hawkboard. Thanks.

Sure, here is what I get with ELDK4.2:

uboot at lilith:~/src/u-boot-arm$ ./MAKEALL hawkboard Configuring for hawkboard board... arch/arm/cpu/arm926ejs/davinci/libdavinci.o: In function `lldiv':
/home/uboot/src/u-boot-arm/include/div64.h:45: undefined reference to `__div64_32'
drivers/mtd/nand/libnand.o: In function `nand_command':
/home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:586: undefined reference to udelay' /home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:602: undefined reference to udelay' /home/uboot/src/u-boot-arm/drivers/mtd/nand/nand_base.c:608: undefined reference to `udelay'
make[1]: *** [/home/uboot/src/u-boot-arm/spl/u-boot-spl] Erreur 1
make: *** [spl/u-boot-spl.bin] Erreur 2
text data bss dec hex filename
191224 6388 54664 252276 3d974 ./u-boot

Quoted 8 lines
Quoted 4 lines

--------------------- SUMMARY ---------------------------- Boards compiled: 1
Boards with warnings or errors: 1 ( hawkboard )
----------------------------------------------------------

Hmm, built-in udelay w/ newer toolchains, not in older ones?

Or is it that function-sections is not working as expected with the older toolchains? The above error is with the nand_command function in the nand_base.c which should not be getting linked at all -- the nand_command function in the nand_spl_simple.c gets used for the spl build. The functions in nand_base.c should get discarded, which should take care of the undefined udelay. I disassembled the u-boot-spl file with my toolchain, and don't see a udelay getting included at all -- as is expected with the spl build. Btw, the nand_command function in nand_spl_simple.c is getting name mangled by the compiler.

-sughosh

#11 lore raw
In reply to Albert ARIBAUD

Albert,

Quoted 47 lines · Albert ARIBAUD

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)

Quoted 9 lines

{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/

There's also several other fixes and features:

http://patchwork.ozlabs.org/patch/139066/

Regards,
Rob

#12 lore raw

Le 14/02/2012 17:45, Rob Herring a ?crit :

Quoted 55 lines

Albert,

Quoted 52 lines · Albert ARIBAUD

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:

Quoted 8 lines
Quoted 4 lines

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:

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
highbank.c: In function 'board_eth_init':
highbank.c:42: warning: implicit declaration of function 'calxedaxgmac_initialize'
common/libcommon.o: In function `cread_line':
/home/uboot/src/u-boot-arm/common/main.c:717: undefined reference to `get_tbclk'

Quoted 6 lines

There's also several other fixes and features:

http://patchwork.ozlabs.org/patch/139066/

Regards,
Rob

Amicalement,

Signature · 1 line
Albert.
#13 lore raw
Quoted 61 lines · Albert ARIBAUD

Le 14/02/2012 17:45, Rob Herring a ?crit :

Quoted 60 lines

Albert,

Quoted 56 lines · Albert ARIBAUD

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

Quoted 5 lines
Quoted 3 lines

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.

Quoted 10 lines

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.

Quoted 3 lines

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

This needs fixing.

Quoted 3 lines

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