Running user space application on T1040RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Running user space application on T1040RDB

338 Views
dipakkumar
Contributor I

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 ?

Labels (1)
0 Kudos
1 Reply

271 Views
Pavel
NXP Employee
NXP Employee

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://unix.stackexchange.com/questions/13391/getting-not-found-message-when-running-a-32-bit-binary...

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

0 Kudos