I have a system with Digilent kernel and Linaro ALIP filesystem. Then I compile a Hello World using the Xilinx toolchain, and produce a binary named as zed_led_test.elf. I upload the resulting binary to the target, and try to start it from the command line. But the shell says:
root@linaro-alip:/home/linaro/bin# ./zed_led_test.elf
-bash: ./zed_led_test.elf: No such file or directory
Then I install GDB on the target and run "gdb zed_led_test.elf":
Reading symbols from /home/linaro/bin/zed_led_test.elf...done.
(gdb) run
Starting program: /home/linaro/bin/zed_led_test.elf
/bin/bash: /home/linaro/bin/zed_led_test.elf: No such file or directory
During startup program exited with code 127.
What could be the problem?