Skip to contentSkip to conversation

help : MPC8349EMDS

U-Boot Hubin 2 participants 2 messages Mar 5, 2010 – Mar 6, 2010

lore
Share & tools
lore

Hubin

author
#0 lore raw

My u-boot is u-boot-2009.11.1 My toolchain is freescale-4.4-79-powerpc-eabi (CodeSourcery:freescale-4.4-79-powerpc-eabi). I use the default configure of MPC8349EMDS, but when I build u-boot , I meet a error .
-------------------------------------------------------------------------------------------------------------------------

     $ tar xvjf u-boot-2009.11.1.tar.bz2
     $ cd u-boot-2009.11.1
     $ make distclean
     $ make MPC8349EMDS_config
     $ make CROSS_COMPILE=powerpc-eabi-
     Generating include/autoconf.mk
     Generating include/autoconf.mk.dep
     for dir in tools examples/standalone examples/api ; do make -C $dir _depend ; done
     make[1]: Entering directory `/home/Test/StudioNow/u-boot-2009.11.1/tools'
     make[1]: Leaving directory `/home/Test/StudioNow/u-boot-2009.11.1/tools'
     .................................................................
     .................................................................
     powerpc-eabi-ld: /home/Test/Softwares/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/powerpc-eabi/4.4.1/nof/libgcc.a(_udivdi3.o): compiled normally and linked with modules compiled with -mrelocatable
     powerpc-eabi-ld: failed to merge target specific data of file /home/Test/Softwares/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/powerpc-eabi/4.4.1/nof/libgcc.a(_udivdi3.o)
     make: *** [u-boot] error? 1
-------------------------------------------------------------------------------------------------------------------------
I try to build MPC8349ITX_config using the same toolchain and same source code(u-boot-2009.11.1), the building succeed.
Whether is there a error on MPC8349EMDS_config of u-boot-2009.11.1? Or Toolchain is error.
Thank!

__________ Information from ESET Smart Security, version of virus signature database 4918 (20100305) __________

The message was checked by ESET Smart Security.

http://www.eset.com

#1 lore raw
Quoted 6 lines · On Sat, 6 Mar 2010 00:44:01 +0800 Hubin <[email protected]> wrote:

powerpc-eabi-ld: /home/Test/Softwares/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/powerpc-eabi/4.4.1/nof/libgcc.a(_udivdi3.o): compiled normally and linked with modules compiled with -mrelocatable
powerpc-eabi-ld: failed to merge target specific data of file /home/Test/Softwares/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/powerpc-eabi/4.4.1/nof/libgcc.a(_udivdi3.o)
make: *** [u-boot] error 1
-------------------------------------------------------------------------------------------------------------------------
I try to build MPC8349ITX_config using the same toolchain and same source code(u-boot-2009.11.1), the building succeed.
Whether is there a error on MPC8349EMDS_config of u-boot-2009.11.1? Or Toolchain is error.

the MDS uses spd_sdram, which needs the divide operation - the ITX does not.

try a different toolchain - denx' ppc_6xx- works for me.

Kim