public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [ARM] TI DaVinci support, hopefully final [0/5]
Date: Wed, 08 Aug 2007 06:23:15 +0200	[thread overview]
Message-ID: <46B94533.5080304@googlemail.com> (raw)
In-Reply-To: <Pine.LNX.4.64ksi.0708071534130.6107@home-gw.koi8.net>

ksi at koi8.net wrote:
> On Tue, 7 Aug 2007, Zach Sadecki wrote:
> 
> That's MontaVista toolchain.

No, that's not a MontaVista specific issue. I have an other toolchain 
and it has similiar issues. Nor is it an ARM specific issue.

nand_utils.c uses 64bit division, and if you use stuff from 
nand_utils.c you may get these issues. So solution is to make U-Boot 
independent from toolchain for 64bit division used in nand_utils.c as 
already done with other math helpers in lib_arm.

Please apply

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/30484
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/30476

as well.

Best regards

Dirk

P.S.: Wolfgang: Sorry if I missed anything. Do I have to do anything 
more to get above patches applied? Thanks.

> I can post a proper RPM .spec file and all required patches for GCC 4.2.0
> based toolchain (arm-elf, for standalone applications e.g. U-Boot with
> almost complete multilib less EP9312 FPU) if somebody wants them...
....
>>But something breaks if I change the dvevm.h file to #define
>>CFG_USE_NAND.  The compile breaks at the end with warnings (warnings
>>that cause make to error out).  They have to do with "function
>>'__udivsi3'" being redifined (and the warning that stops the compile is
>>this: "arm_v5t_le-ld: Warning: size of symbol `__udivsi3' changed from
>>152 in lib_arm/libarm.a(_udivsi3.o) to 496 in
>>/opt/montavista-arm-v4.00-alt/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5
>>tl-montavista-linuxeabi/3.4.3/libgcc.a(_udivsi3.oS)"
>>
>>I got this same error last time I made a quick and dirty attempt to get
>>1.2.0 to compile for Davinci.

  reply	other threads:[~2007-08-08  4:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-07 21:07 [U-Boot-Users] [ARM] TI DaVinci support, hopefully final [0/5] ksi at koi8.net
2007-08-07 22:20 ` Zach Sadecki
2007-08-07 22:38   ` ksi at koi8.net
2007-08-08  4:23     ` Dirk Behme [this message]
2007-08-10  4:25       ` Stefan Roese
2007-08-10  8:37         ` Wolfgang Denk
2007-08-10 15:26           ` Dirk Behme
2007-08-10 17:21             ` Jon Loeliger
2007-08-10 18:07               ` Wolfgang Denk

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=46B94533.5080304@googlemail.com \
    --to=dirk.behme@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox