I'm working with T10 series, specifically the T1023RDB.
Here's my problem:
- I compile a linux image, a root file system, and device tree for the target board
- bitbake fsl-image-core
- I boot from these binaries following the directions in the SDK manual.
- tftp 1000000 uImage
- tftp 4000000 fsl-image-core-t1023rdb.ext2.gz.u-boot
- tftp 9000000 uImage-t1023rdb.dtb
- bootm 1000000 4000000 9000000
- I build the toolchain and source the environment file (same board support package as the kernel image)
- bitbake fsl-toolchain
- bash tmp/deploy/sdk/(install-file-name).sh
- source /opt/fsl-qoriq/2.0/(environment-setup-name).sh
- I compile a simple C program with this environment
- $CC hello.c -o hello.x
- I try to run it on the board and I get this message : "cannot execute binary file"
- (configure the ethernet ports, acquire hello.x)
- . ./hello.x
- -sh: .: ./hello.x: cannot execute binary file
Frankly, I'm stumped. The interpreter is /lib/ld.so.1 which seems to be present on the board. Oddly enough, if I just let the board boot without using my images, the executable can run just fine.