Other Parts Discussed in Thread: SYSBIOS
Can you please tell me how to reference or link to pdk csl package using IPC ex2_messageq?
I am trying to use pdk driver packages with messageq example under DRA7XX_linux_elf
How can I set the PATH to the dsp1 server app to locate the package 'ti.csl' ?
Please detail the steps to modify Dsp1.cfg and /ex02_messageq/shared/config.bld, include header or makefile
Little background, I am running the latest AM57 Linux RT image on idkAM572x generated using Yocto and SDK 3.
I have separately built and tested the following : IPC ex2_messageq and PDK gpio example (using SDK RTOS).
I am trying to demo using both examples together, the ARM running host_app and the DSP1 running the server_dsp1.xe66 (using IPC messageQ and toggle gpio)
/home/eng/ti/ipc_3_43_01_03/examples/DRA7XX_linux_elf/ex02_messageq
Here is what I get when I add the following to DSP1.cfg:
/*use CSL package*/
var socType = "am572x";
var Csl = xdc.loadPackage('ti.csl');
Csl.Settings.deviceType = socType;
/* Load the gpio package */
var GPIO = xdc.loadPackage('ti.drv.gpio');
GPIO.Settings.socType = socType;
I get the following make output:
make all
#
# Making dsp1 ...
make -C dsp1 PROCLIST="dsp1 host"
make[1]: Entering directory '/home/eng/ti/ipc_3_43_01_03/examples/DRA7XX_linux_elf/ex02_messageq/dsp1'
make PROFILE=debug PROCLIST="dsp1 host" server_dsp1.x
make[2]: Entering directory '/home/eng/ti/ipc_3_43_01_03/examples/DRA7XX_linux_elf/ex02_messageq/dsp1'
#
# Making bin/debug/configuro/.config ...
/home/eng/ti/xdctools_3_32_01_22_core/xs --xdcpath="/home/eng/ti/bios_6_45_01_29/packages;/home/eng/ti/ipc_3_43_01_03/packages;/home/eng/ti/xdctools_3_32_01_22_core/packages" \
xdc.tools.configuro -o bin/debug/configuro \
-t ti.targets.elf.C66 \
-c /home/eng/ti/ccsv6//tools/compiler/ti-cgt-c6000_8.1.1 \
-p ti.platforms.evmDRA7XX:dsp1 \
-b ../shared/config.bld -r debug \
Dsp1.cfg
configuring Dsp1.xe66 from package/cfg/Dsp1_pe66.cfg ...
js: "/home/eng/ti/ipc_3_43_01_03/examples/DRA7XX_linux_elf/ex02_messageq/dsp1/Dsp1.cfg", line 197: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.csl' along the path: '/home/eng/ti/bios_6_45_01_29/packages;/home/eng/ti/ipc_3_43_01_03/packages;/home/eng/ti/xdctools_3_32_01_22_core/packages;/home/eng/ti/xdctools_3_32_01_22_core/packages;..;'. Ensure that the package path is set correctly.
"./package/cfg/Dsp1_pe66.cfg", line 254
gmake: *** [package/cfg/Dsp1_pe66.xdl] Error 1
makefile:74: recipe for target 'bin/debug/configuro/.config' failed
make[2]: Leaving directory '/home/eng/ti/ipc_3_43_01_03/examples/DRA7XX_linux_elf/ex02_messageq/dsp1'
gmake: *** [package/cfg/Dsp1_pe66.xdl] Deleting file `package/cfg/Dsp1_pe66.h'
gmake: *** [package/cfg/Dsp1_pe66.xdl] Deleting file `package/cfg/Dsp1_pe66.c'
js: "/home/eng/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
make[2]: *** [bin/debug/configuro/.config] Error 1
makefile:55: recipe for target 'debug' failed
make[1]: Leaving directory '/home/eng/ti/ipc_3_43_01_03/examples/DRA7XX_linux_elf/ex02_messageq/dsp1'
makefile:50: recipe for target 'dsp1' failed
make[1]: *** [debug] Error 2
make: *** [dsp1] Error 2
