I use the T1040RDB and the SDK 2.0 (Target - 32bit), I compiled smcroute application using SDK2.0, copy it to nandflash /dev/mtdblock3 . My u-boot, uImage, rootfs write to norflsh and boot from it.
I use these command to download and run the smcroute app:
$mount -t jffs2 /dev/mtdblock3 /mnt
$cd /mnt
$tftp 192.168.104.120
tftp> bi
tftp> get smcroute
Received 102816 bytes
tftp>by
$ chmod 777 smcroute
$./smcroute
It gives following error :-
No such file or directory.
When we check file size
$ ls -lrt /mnt
it displays file with correct size.
Experts Please tell us how we can execute application on T1040RDB ?
It looks like that you try to run a 32-bit binary on a 64-bit system that doesn't have 32-bit support installed.
See the following pages:
http://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists
http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------