ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7800 Floating Point Performance

To:
Subject: [ts-7000] Re: TS-7800 Floating Point Performance
From: "delapluie" <>
Date: Wed, 06 Feb 2008 02:17:36 -0000
Well, I tried to cross compile the same code with the
gcc-4.0.1-glibc-2.3.5 I had been using on the 7260, and it ran ok on
the 7800 (albeit with the same slow performance as the native 7800
compile.)

Looking at the files I generated with the two different EABI cross
tools for the 7800 available here-

ftp://ftp.embeddedarm.com/ts-7800-linux-sd/cross-toolchains/

I got the following for file test -

:mike3# file test
test: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux
2.4.17, dy
namically linked (uses shared libs), not stripped
:mike3# ./test
-bash: ./test: No such file or directory

I'm guessing it's that SYSV that's the problem?  Any idea how I change
that in the cross compile?

-mike




--- In  Jim Jackson <> wrote:
>
> 
> On Tue, 5 Feb 2008, delapluie wrote:
> 
> > I was unsuccessful in getting the crosstools to work from Ubuntu.
> > When I ftp'd my executable to the 7800, and did a "chmod +x test", I
> > keep getting-"-bash: ./test: No such file or directory"  If anyone has
> > any thoughts on this problem, I'd appreciate it.
> 
> some ideas....
> 
>    sometimes ftp transfers files as "text" files, not binary. Which
>    can screw your file.
> 
>    try chmod 755 test and ./test
> 
>    using the name test is not recommended - there is utility called
>    "test" or "[" and there is real danger of confusion - executing
>    the existing system "test" utility instead of your program.
> 
>    what does
> 
>       file test
> 
>    report? It should be something like...
> 
>       test: ELF 32-bit LSB executable, ARM, version 1 (ARM), dynamically
>       linked (uses shared libs), not stripped
> 
>    anything else and you haven't done the cross-compile right.
> 
> >
> > But I'm really eager to determine if the 7800 can solve my performance
> > problem, so I ftp'd my source code over, and compiled it natively on
> > the 7800.  No compiler options (do I need any?)
> >
> > Strangely, benchmarking 1000 iterations of my algorithm, I got almost
> > exactly the same performance as with the 7260- about 54ms per
> > iteration.  I expected that even if EABI wasn't doing it's job, I
> > would at least get a 2.5 times speed up from the clock rate.  My test
> > code reads a line (maybe 100 bytes) from a data file in the NAND flash
> > once per iteration; otherwise, I can't think of anything outside the
> > processor that takes any time.
> >
> > Has anyone else benchmarked floating point on the 7800, and gotten
> > better results?  Any idea what I might be doing wrong?  Thanks,
> >
> > -Mike
> >
> >
>




 
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