Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
derryuh
Posts: 7
Registered: ‎09-11-2010
0

Unable to execute a crosscompiled helloworld program on a PowerPC 440 embedded linux

Hi,

i have booted linux on the XC5VFX100T-2FF1136 based on the information i got here http://wiki.xilinx.com/powerpc-linux#toc11. Everything worked fine. But when i compile a hello_world program and test on the board, i get "command not found". When i test the file on my host machine (Ubuntu 10.10 x86_64) with "file hello_world", i get the following message "hello_world : ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped". I don't actually know what i might be doing wrong.   I crosscompiled the hello_world.c with both eldk 4.2 and 5.1.1 to be sure the problem doesn't really lie in the version, and the difference i got was just the GNU/Linux version in "hello_world : ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped" for eldk 5.1.1 (the one above is for eldk 4.2). 

Does anybody know what i might be doing wrong please?

Regards

Derick