All of lore.kernel.org
 help / color / mirror / Atom feed
From: vibi <vibi_sreenivasan@cms.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] error compiling u-boot 1.1.5 for at91sam9260ek
Date: Tue, 18 Dec 2007 12:32:57 +0530	[thread overview]
Message-ID: <1197961377.2777.27.camel@root> (raw)
In-Reply-To: <3efb10970712170359j1f0e8448i5a1aaf4ba5e43eb2@mail.gmail.com>

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

  reply	other threads:[~2007-12-18  7:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-15  6:31 [U-Boot-Users] porting u-boot 1.1.5 to at91sam9260 vibi
2007-12-15  7:44 ` Marco Cavallini
2007-12-15  7:51   ` vibi
2007-12-17 10:50   ` [U-Boot-Users] error compiling u-boot 1.1.5 for at91sam9260ek vibi
2007-12-17 11:59     ` Remy Bohmer
2007-12-18  7:02       ` vibi [this message]
2007-12-15 18:48 ` [U-Boot-Users] porting u-boot 1.1.5 to at91sam9260 Alessandro Rubini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1197961377.2777.27.camel@root \
    --to=vibi_sreenivasan@cms.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.