ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7800 Floating Point Performance - Anything to do with s

To:
Subject: [ts-7000] Re: TS-7800 Floating Point Performance - Anything to do with shared libraries?
From: "alexanchoragealaska" <>
Date: Sat, 09 Feb 2008 02:21:40 -0000
OK, I tried several different things, and I got quite confused.  I
will appreciate help with any questions listed below.

1) As Andy suggested, I boot TS-7260 into Debian Linux following 
instructions from "Linux for Arm On TS-72xx" and USB flash that came
with TS-Arm Development kit .  In other words, I boot TS-7260 with
TS-Linux, and then ran scripts: /usr/bin/loadUSBModules.sh  and
/usr/bin/loadUSB.sh.  I assume that I am running Debian OS now. I
tried to use ldd command, but I am still getting "-sh: ldd: not found"
error.  (I also tried to configure network settings, but there is no
/etc/network/ directory available). Does it mean that I don't have
full version of Debian installed? (I am using COM1 for communication,
 when I type in uname -arv, I am getting response Linux ts-7200
2.4.26-t11 ....) How can I install full Debian  Linux on TS-7260 to be
able to use native compilers and the rest of tools?

2) "Technologic Systems" provided answer to floating point performance
(EABI / use static libraries) for TS-7800 using EABI crosstool.  Is
there similar EABI cross-tool available for TS-7260? 

3) I tried to use -static option for regular cross-tool (hoping to get
better performance), but it looks like the compiler can't find static
libraries for math.h.  The error I am getting is: "undefined reference
to 'log10' ".  If I use shared libraries, I don't have this error. Are
the static libraries available for math.h and how can I show the
cross-tool the location for these libraries?

4) Cirrus has a post with some info on the hardware coprocessor for
floating point operation (aka "crunch") on EP93xx
(http://arm.cirrus.com/files/linux/crunch/docs/crunch_user_guide.text).
 The embeddedarm ftp web-site has a directory called "crunch" with
tool-chain (ftp://oz.embeddedarm.com/crunch/toolchain/).  Does anybody
has experience with this tool-chain? Is it taking advantage of
coprocessor on EP-93xx for floating point calculations?  If "yes", any
examples how to use it?

I know that I probably should start separate message threads for these
questions, but it sounds like a lot of users who are starting with
TS-7xxx will benefit from step-by-step instructions or an example
showing how to correctly compile applications without floating
performance issue on the TS-Arm boards.  


--- In  "Andy Mercier" <> wrote:
>
> 
> --- In  "alexanchoragealaska" <alex@> wrote:
> >
> > I tried to use ldd on Cygwin (desktop) and on the TS-Linux (TS-7260).
> >  In both cases I am getting: command not found.  I believe I have full
> > installation of Cygwin, so is their something I need to add to the
> > PATH n order to be able to use LDD?
> >
> > -- In  "Andy Mercier" andynmercier@ wrote:
> > >
> > > --- In  "alexanchoragealaska" <alex@> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I have similar problem with TS-7260. It's extremely slow doing
> > > > floating point calculations (log(), sqrt() function).
> > > >
> > > > I am wondering if I have the same issue on TS-7260 as Mike had on
> > > > TS-7800.  How can I figure out what libraries are called by cross
> > > > compiled executable?
> > > >
> > > > I started with Linux and TS-7260 few months ago. So, I don't have
> much
> > > > experience with cross compiling and gcc.
> > > >
> > > > I am running TS-Linux, cygwin-gcc-3.3.2-glibc-2.3.3 toolchain and
> I am
> > > > using next compile option:
> > > > arm-unknown-linux-gnu-cc -lm -Wall -O2 -o Executable MyProgram.c
> > > >
> > > > Thanks in advance,
> > > >
> > > > - Alex
> > >
> > > Alex,
> > > Use the ldd command on your executable since it looks like you're
> > > compiling with shared libraries. Any questions about ldd just use
> man
> > > ldd on Debian or Google "man ldd".
> > >
> > > ----
> > > Andy
> > >
> >
> 
> --- In  "alexanchoragealaska" <alex@> wrote:
> >
> > I tried to use ldd on Cygwin (desktop) and on the TS-Linux (TS-7260).
> >  In both cases I am getting: command not found.  I believe I have
> > full installation of Cygwin, so is their something I need to add to
> > the PATH n order to be able to use LDD?
> >
> > -- In  "Andy Mercier" <andynmercier@> wrote:
> > >
> > > --- In  "alexanchoragealaska" <alex@> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I have similar problem with TS-7260. It's extremely slow doing
> > > > floating point calculations (log(), sqrt() function).
> > > >
> > > > I am wondering if I have the same issue on TS-7260 as Mike had on
> > > > TS-7800.  How can I figure out what libraries are called by cross
> > > > compiled executable?
> > > >
> > > > I started with Linux and TS-7260 few months ago. So, I don't have
> much
> > > > experience with cross compiling and gcc.
> > > >
> > > > I am running TS-Linux, cygwin-gcc-3.3.2-glibc-2.3.3 toolchain and
> I am
> > > > using next compile option:
> > > > arm-unknown-linux-gnu-cc -lm -Wall -O2 -o Executable MyProgram.c
> > > >
> > > > Thanks in advance,
> > > >
> > > > - Alex
> > >
> > > Alex,
> > > Use the ldd command on your executable since it looks like you're
> > > compiling with shared libraries. Any questions about ldd just use
> man
> > > ldd on Debian or Google "man ldd".
> > >
> > > ----
> > > Andy
> > >
> >
> Alex,
> 
> Let me clarify. Debian on your TS-7260 is what you need -OR-
> cross-compiling and other development on a Linux installation, say in
> QEmu or native (i.e. an installation) will avoid issues like this... You
> need better tools.
> 
> Now that the floating point question has been answered by Technologic...
> this is way OT and I've modified the "Subject:" to reflect that, a
> little.
> 
> I don't have a TS-7260 but I do have Debian on a TS-7250, TS-7300 and
> TS-7400 and it helps... a lot. You can get it onto your TS-7260 with an
> SD Card or a USB flash drive but it depends on how you ordered your
> board (Standard order is XDIO unless you specify and pay for SD card),
> in either configuration a USB flash drive should work.
> 
> Anyway, I learned something... ldd isn't in Cygwin! I checked
> http://www.cygwin.com/packages/ which provides a search of all the files
> and it doesn't appear where it should (the hits that come up aren't the
> ldd we need - We need the one that's part of the library tools.)
> 
> You have reached the limits of what you can do with Cygwin when
> cross-compiling because it doesn't have the ARM loader which is used by
> ldd which is a script. The script won't work with Busybox unless
> something's modified - BusyBox or the script.
> 
> Good luck.
> 
> ----
> Andy
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU