Hi,
I am currently working on T1040RDB and using linux-5.4.3 compiled from SDK-3.1. I tried to run the applications which were cross compiled using the fsl-networking/QorIQ-SDK-V1.7 toolchain but giving the following errors.
-sh: ./phytool: cannot execute binary file: Exec format error
The info of the application is shown as this.
file phytool
phytool: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /lib64/ld64.so.1, for GNU/Linux 2.6.16, BuildID[sha1]=c2b6e5134fd08940ec76cd39d3b6edd256e48f16, with debug_info, not stripped
Please suggest.Thanks in advance
phytool recipe is provided in Yocto SDK 3.1, in your Yocto SDK 3.1 build environment, please execute command "bitbake phytool", you will get phytool image in folder build_t1040d4rdb/tmp/work/ppce5500-fsl-linux/phytool/2+gitAUTOINC+8882328c08-r0/image/usr/bin, please copy it to your target board to check whether it can work.
what if i want to write any application and compile and use it on the board?
How to do that
Please provide a toolchain so that i can compile applications to work on linux 5.4.3 generated from SDK 3.1
In SDK 3.1 build environment, please execute command "bitbake fsl-toolchain", you will get toolchain installation file in "build_t1040d4rdb/tmp/deploy/sdk/fsl-qoriq-glibc-x86_64-fsl-toolchain-ppce5500-toolchain-3.1.1.sh", please execute this file to install toolchain.