Hello,
I need to use DSP to offload some OpenMP based algorithms. In order to use DSP's I followed the steps below: (i didnt mention all steps in detail here)
1) download and install Processor SDK for Linux ver. 6.01. Also install the gcc cross toolchain.
2) Create a SD-Card and boot the Beagleboard x15
3) Try to be sure that DSP's are running and OpenMP - OpenCL binaries are available. So I built "printf_debug" application in openmpacc examples directory.
4) This works without any glitches.
Then I built my own Kernel (linux-rt) and rootfs (for SDK 6.01 version) as shown in this link https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Overview_Building_the_SDK.html
But, the printf_debug example application didnt run. Then I realize that DSP firmwares, which are dra7-dsp(1-2)-fw.xe66.opencl-monitor, are different from the SDK which comes from SDK 6.01. All logs of building command are in the file attached at the end of this forum entry. I followed all the required steps in the link above and, I run this command:
MACHINE=am57xx-evm ARAGO_RT_ENABLE=1 bitbake opencl-monitor
While investigaiton of the problem, I tried to change dra7-dsp(1-2)-fw.xe66.opencl-monitor DSP firmwares with the ones that come from SDK 6.01 installation and voila! it works on BB X15.
Now the result is that I can't reproduce DSP firmware binaries as given in the am57xx-evm-linux-rt-06.01.00.08.img.zip. Here are my questions:
1) Is there any difference between Yocto SDK 6.01 and TI SDK am57xx-evm-linux-rt-06.01.00.08.img.zip? When I run opencl-monitor bitbake, The output files dra7-dsp(1-2)-fw.xe66.opencl-monitor have different filesizes from the binaries in installed SDK 6.01.
2) How should I run opencl-monitor recipe to get the same firmware files with the firmware files in installed SDK 6.01 targetNFS/lib/firmware directory?
3) For OpenCL and OpenMP binaries and libraries, are there any important issue which force me to change the SDK version higher to 6.02 or 6.03?
Thanks in advance,