That was it!
The FTP client I was using had the transfer mode set to "auto". The
funny thing is, I have a ts-7260 board that worked just fine when I
FTP'd it there (even with the "auto" setting.)
none the less, problem solved. Thanks so much Niels!
-Derek
--- In "Niels LaWhite" <> wrote:
>
> Could your ftp transfer have been done in 'ascii' mode?
> If so, ftp will mess up the file as it puts it.
> Use the ftp command 'binary' before the put.
>
>
>
> ________________________________
>
> From:
> On Behalf Of dwreck_stg
> Sent: Monday, May 05, 2008 10:34 AM
> To:
> Subject: [ts-7000] segmentation fault right away
>
>
>
> I just began working with ts-7200. Trying to execute a hello
> world file.
> Using Cygwin & crosstool to compile. Then FTP to board. when I
> try to
> run I get the following seg fault. (See further below for all
> code and
> scripts... Any help would be appreciated!
>
> Thanks!
>
> <SegFault>
>
> pc : [<2aab3a3c>] lr : [<2aaaccdc>] Tainted: P
> sp : 7ffff8bc ip : 2aac78f0 fp : 7ffff994
> r10: 2aac76b8 r9 : 00000000 r8 : 00000000
> r7 : 2aac73f4 r6 : 00000001 r5 : 2aac78f0 r4 : 2aac78f0
> r3 : 00000000 r2 : 00000000 r1 : 00000001 r0 : 2aac78f0
> Flags: nZCv IRQs on FIQs on Mode USER_32 Segment user
> Control: C000317F Table: 01154000 DAC: 00000015
> Segmentation fault
>
> </SegFault>
>
> <code>
>
> #include<unistd.h>
> #include<sys/types.h>
> #include<sys/mman.h>
> #include<stdio.h>
> #include<fcntl.h>
> #include<string.h>
>
> int main(int argc, char **argv)
> {
> printf("Hello World");
> }
>
> </code>
>
> My compile script is also pretty simple...
>
> <compile_script>
>
> export
>
> PATH=/usr/local/bin:/usr/bin:/bin:/opt/crosstool/arm-unknown-linux-gnu/g
> cc-3.3.2-glibc-2.3.2/bin
> rm simple
> arm-unknown-linux-gnu-gcc.exe -o simple simple.c
> chmod +x ./simple
>
> </compile_script>
>
------------------------------------
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/
|