Simple Linux Hello word exe is NOT executing on mini2440 3.5
Posted: Sun Sep 27, 2009 7:11 am
Hello,
I am using mini2440 board, with 3.5 inch Touch Pannel.
I have loaded following images
supervivi_mini2440
zImage_n35
root_qutopia_tp.img
With This board is booting up and working fine.
Now I have setup my development PC with Fedora Core 10 Linux distribution.
I have installed arm-linux-gcc 4.3.2
I have written a simple Hello word program, which just prints on debug console.
I have build it using arm-linux-gcc 4.3.2: hello.bin
Using file command I verified that its a :- ELF 32 Bit LSB Executable, ARM, version 1 (SYSV) dynamically linked (user shared libs), for GNU/Linux 2.6.14
I have given correct permissions to the hello.bin
Using Serial , Hyperterminal using Transfer file ZModem option , I transfered this file to mini2440 board at /usr/sbin
BUT, When I try to execute this hello.bin on the board I get following error
//////
[root@FriendlyARM /]# ./usr/sbin/hello.bin
-sh: ./usr/sbin/hello.bin: not found
[root@FriendlyARM /]#
//////
I tried to execute it through script file. Tried arm-linux-strip and tried but always the same error.
If I create a script file which just echo some text to terminal, Then this scrip executes file on the board.
Please let me know and without this step I Can't conclude my Development environment is OK for further developments on the mini2440 board.
With Regards,
Satish
I am using mini2440 board, with 3.5 inch Touch Pannel.
I have loaded following images
supervivi_mini2440
zImage_n35
root_qutopia_tp.img
With This board is booting up and working fine.
Now I have setup my development PC with Fedora Core 10 Linux distribution.
I have installed arm-linux-gcc 4.3.2
I have written a simple Hello word program, which just prints on debug console.
I have build it using arm-linux-gcc 4.3.2: hello.bin
Using file command I verified that its a :- ELF 32 Bit LSB Executable, ARM, version 1 (SYSV) dynamically linked (user shared libs), for GNU/Linux 2.6.14
I have given correct permissions to the hello.bin
Using Serial , Hyperterminal using Transfer file ZModem option , I transfered this file to mini2440 board at /usr/sbin
BUT, When I try to execute this hello.bin on the board I get following error
//////
[root@FriendlyARM /]# ./usr/sbin/hello.bin
-sh: ./usr/sbin/hello.bin: not found
[root@FriendlyARM /]#
//////
I tried to execute it through script file. Tried arm-linux-strip and tried but always the same error.
If I create a script file which just echo some text to terminal, Then this scrip executes file on the board.
Please let me know and without this step I Can't conclude my Development environment is OK for further developments on the mini2440 board.
With Regards,
Satish