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 ?