[U-Boot-Users] error compiling u-boot 1.1.5 for at91sam9260ek

vibi vibi_sreenivasan at cms.com
Tue Dec 18 08:02:57 CET 2007


hello Remy,
	thanks for your support.
	the error i got is this

arm-linux-ld:
ERROR: /usr/local/arm/4.1/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.6/libgcc.a(_udivdi3.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of
file /usr/local/arm/4.1/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.6/libgcc.a(_udivdi3.oS)
arm-linux-ld:
ERROR: /usr/local/arm/4.1/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.6/libgcc.a(_clz.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of
file /usr/local/arm/4.1/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.6/libgcc.a(_clz.oS)

and i solved this by commenting the "-msoft-float " option for compiler
in cpu/arm926ejs/config.mk & cpu/arm926ejs/at91sam926x/config.mk

but what makes me think is that same flag was given for at91rm9200
and it worked.

thanks & regards

vibi sreenivasan


On Mon, 2007-12-17 at 12:59 +0100, Remy Bohmer wrote:
> Hello vibi,
> 
> I have similar problems on the AT91SAM9261-ek, and I use a hack
> (attached) to be able to compile the code. It is not nice, but it
> worked for me until I (or someone else) have time to figure it out
> more deeply.
> 
> Maybe you have the same problem?
> 
> 
> Kind Regards,
> 
> Remy
> 
> 2007/12/17, vibi <vibi_sreenivasan at cms.com>:
> > hi,
> >         i have tried that patch.but when i compile the source for at91sam9260ek
> > i am getting error that u-boot uses soft floating point where as
> > libgcc.a in my cross-compiler tool chain uses hard floating point .
> > but i compiled a working u-boot for at91rm9200dk using this tool chain,
> > and here also -msoft-float option was given.
> >
> > has any one faced this kind of problem before?
> >
> > thanks & regards
> > vibi sreenivasan
> >
> > On Sat, 2007-12-15 at 08:44 +0100, Marco Cavallini wrote:
> > > vibi ha scritto:
> > > > hello,
> > > >     is there any one working on porting u-boot 1.1.5 to at91sam9260 soc.
> > > >
> > > > i am going to do this activity,if there is anyone who is already working
> > > > on this please let me know.
> > > >
> > >
> > > vibi,
> > > this project already exists :-)
> > >
> > > Getting the AT91 u-boot bootloader
> > > ---------------------------------------
> > > To get the u-boot bootloader up and running on an AT91 product you have
> > > to go through the following steps:
> > >
> > >    1. identify on which u-boot revision the patches will apply
> > >    2. download the corresponding u-boot
> > >
> > >       # wget ftp://ftp.denx.de/pub/u-boot/u-boot-x.x.x.tar.bz2
> > >       # tar xvjf u-boot-x.x.x.tar.bz2
> > >       # cd cd u-boot-x.x.x
> > >
> > >    3. take the AT91 u-boot patch set and apply it on top of the original
> > > u-boot:
> > >
> > >       # wget
> > > http://www.at91.com/repFichier/Project-218/u-boot-x.x.x_atmel_y.y.diff.bz2
> > >       # bzcat u-boot-x.x.x_atmel_y.y.diff.bz2 | patch -p1
> > >
> > > You will now have a fresh copy of the AT91 u-boot.
> > >
> >
> >
> > -------------------------------------------------------------------------
> > SF.Net email is sponsored by:
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services
> > for just about anything Open Source.
> > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/u-boot-users
> >





More information about the U-Boot mailing list