AnsweredAssumed Answered

.elf cannot be excuted in the Linux System?

Question asked by ADI_Wei on Jul 13, 2015
Latest reply on Jul 13, 2015 by mhennerich

Zynq & Altera SoC Quick Start Guide [Analog Devices Wiki]

 

I download the 6 February 2015 release (2014_R2) image via above link and then write to the SD card, the Linux system can boot normaly. Then I build a .elf file by using of the Xilinx SDK vision 2014.2. Copy the .elf file to the SD card root file folder.

But the lab_6.elf connot be excuted via below commands. Could you please help to give some comments on it? Thanks.

 

root@linaro-ubuntu-desktop:/home/analog/Downloads# ./lab_6.elf

-bash: ./lab_6.elf: No such file or directory

root@linaro-ubuntu-desktop:/home/analog/Downloads# chmod +x lab_6.elf

root@linaro-ubuntu-desktop:/home/analog/Downloads# ls

lab_6.elf

root@linaro-ubuntu-desktop:/home/analog/Downloads# ./lab_6.elf

-bash: ./lab_6.elf: No such file or directory

root@linaro-ubuntu-desktop:/home/analog/Downloads# ldd lab_6.elf

        not a dynamic executable

root@linaro-ubuntu-desktop:/home/analog/Downloads# file lab_6.elf

lab_6.elf: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped

 

root@linaro-ubuntu-desktop:/home/analog/Downloads# uname -a

Linux linaro-ubuntu-desktop 3.12.0-55371-gf6fc62e #1231 SMP PREEMPT Thu Dec 12 16:11:35 CET 2013 armv7l armv7l armv7l GNU/Linux

Outcomes