Praveen Chandrasekharaiah <[EMAIL PROTECTED]> writes:
> Hmmm. This is really strange: why am I not able to get it to work. I have
> double checked all the paths to ensure i am using the correct tool chain. Do
> you think the uClinux image on the board could be wrong. Would it be possible
> for me to get the uClinux image / config file from one of you.

I don't have one for the same board that you're using, sorry.

> I am sure that i am transferring the correct binary onto the board.
> Given below is the output
> /var/tmp> tftp 192.168.10.80
> tftp> binary
> tftp> get hello
> Received 506344 bytes in 1.8 seconds
> tftp> /var/tmp>
> /var/tmp>
> /var/tmp> ls -al
> drwxr-xr-x   2   0         0            1024   Nov 30 00:01   .
> drwxr-xr-x   7   0         0            1024   Nov 30 00:00   ..
> -rwxrwxrwx   1   0         0            107520   Nov 30 00:03 hello
> /var/tmp>
> /var/tmp> ./hello
> BINFMT_FLAT: reloc outside program 0xefeec7cd (0 - 0xfffdf1b4/0x5da20), 
> killing
> hello!
> /var/tmp>
>
> The ls -al command shows a different size. Could this be a problem.

Yeah, I expect that's the problem.  Could it be that you're running
out of room, and that tftp doesn't notice?  That'd explain why it
worked when you were using C; the C versions would be much smaller.

Richard
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to