Board : bsc9131rdb
U-Boot : Poky (Yocto Project Reference Distro) 1.6
attempt to run ipc_integration demo from demos included with CW 10.5.2 Starcore
root@bsc9131rdb:~# ./ipc_9x31_dbg.bin
-sh: ./ipc_9x31_dbg.bin: cannot execute binary file: Exec format error
The readme for this demo says "execution can be done only through Linux console". I do see "-arch psc9131" appended to the arguments used to call psc913x_bin_creator.exe. I have also tried run other binaries that were created using the psc9131x_bin_creator (left the post-build step included w/ the demos unaltered) with the same error.
Solved! Go to Solution.
Documentation on loading the DSP from Linux and running the ipc test is in the infocenter. Were you able to open the link?
In SDOS demos, ipc_integration is to be run using dsp_bt (see infocenter) and ipc_demo_sc_only is to be run using CW for SC only.
Also please use WUSDK1.5 release, DSP_BT is not supported for 913x on SDK1.6.
See here the feature support:
http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F2880375.html
Did you load the image with dsp_bt?
Sep 9, 2014 9:48 AM
I am using the prebuilt images. For the ramdisk image, name is fsl-image-core-bsc9131rdb-20140610221219.rootfs.ext2.gz.u-boot
I believe the fsl-image-core has the necessary libraries in. Description in help is "This is a small image somewhat like “fsl-image-minimal” except It contains all of the Freescale-specific SDK packages such as USDPAA, etc."
Is there a quick way I can check if my ramdisk image has dsp_bt?
Sep 9, 2014 9:50 AM
I get the same error for other demos as well (not ipc related..) as I mentioned before in my 1st post.
Sep 11, 2014 2:03 PM
I have determined that my original image that I was using lacked ipc, but that was not the cause for the issue at hand. For some demos, I see messages like
$ ./basic_demo_9x31.bin: line 3: syntax error: unexpected ")"
which seems to say that my .bin is compiled for something else?
psc913x_bin_creator.exe makes a call to SC\StarCore_Support\compiler\bin\sc100-elf2xx.exe to make the .bin from the eld
Edit: consolidate replies so posts show in chronological order
The user guide for loading DSP images from Linux can be found here: Freescale Technical Information Center
To build the necessary Linux modules / apps (dsp_bt, ipc_test) you can use yocto (they are included in fsl-image-full, if you've already this rootfs).
Hope this helps
In the BSC9131 quick start guide,
Doc Number: BSC9131RDBQSG REV 0
On page 10, it seems to imply that I should not be using dsp_bt. I also compared the documentation for the IPC demo w/ codewarrior 10.6 (b4860) and 10.7 (psc913x) and it seems the instructions for loading w/ dsp_bt are on 10.6 but not on 10.7. Is there something I am missing?
Documentation on loading the DSP from Linux and running the ipc test is in the infocenter. Were you able to open the link?
In SDOS demos, ipc_integration is to be run using dsp_bt (see infocenter) and ipc_demo_sc_only is to be run using CW for SC only.
Thanks for clearing that up. So SDOS binaries can only be run on BSP through dsp_bt?
Hi, I confirm that this is the only way to boot SDOS from Linux.
I am not aware of other ways so far.