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