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

Richard Sandiford wrote:
That's odd.  Sorry to ask what's probably a patronising question,
but are you sure this is also the binary you're running on the board?
I used the same commands as you, again with 4.1-32, and got a binary of
the same size.  For reference, its md5sum is:

5a4947b1dc267e58d99f85192b383dc2  hello

And the binary works fine for me:

# /hello
Hello this is my First uClinux C++ Application

And David says it worked for him too.

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