Other Parts Discussed in Thread: SYSBIOS
Tool/software: Linux
Hi to all
i success to rebuild Linux c6x kernel and rebuild syslink.ko and Notify example (rtos & hlos) on Linux using makefile (example work correctly with new new files). i try to create CCS project for Notify example based on this post (i can't find Syslink CCS example for c6678 on TI wiki) and include syslink_evmc6678.el_hardfp directory to project according to this post , but CCS report this error:
java.io.FileNotFoundException: E:\6678_Board\Doc\Linux C6x\syslink\syslink_evmc6678.el_hardfp\ti\syslink\ipc\rtos\package\package.bld.xml (The system cannot find the file specified)
i adding syslink_evmc6678.el instead of adding syslink_evmc6678.el_hardfp (i copy directory from Ubuntu to Windows)
what's difference between this directories?
CCS project build without error but when i replace .out file with original .xe66 and add "insmod /opt/syslink_evm6678.el/syslink.ko TRACE=1 TRACEFAILURE=1" in script and run it, error report and program not work
*** MemoryOS_alloc: Could not allocate memory Error [0x897d2001] at Line no: 302 in file /home/ubuntu/build-set/c66le/linux-c6x-2.0.0.63/Build/syslink_evmc6678.el/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c *** Memory_alloc: Failed to allocate memory! Error [0x8c97e001] at Line no: 139 in file /home/ubuntu/build-set/c66le/linux-c6x-2.0.0.63/Build/syslink_evmc6678.el/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/Memory.c *** Platform_loadCallback: Memory_alloc failed Error [0xffffffff] at Line no: 2062 in file /home/ubuntu/build-set/c66le/linux-c6x-2.0.0.63/Build/syslink_evmc6678.el/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/c667x/Platform.c *** Ipc_control: Platform_loadCallback failed! Error [0xffffffff] at Line no: 829 in file /home/ubuntu/build-set/c66le/linux-c6x-2.0.0.63/Build/syslink_evmc6678.el/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Ipc.c Assertion at Line no: 302 in /home/ubuntu/build-set/c66le/linux-c6x-2.0.0.63/Build/syslink_evmc6678.el/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Linux/IpcDrv.c: (status >= 0) : failed *** Notify_registerEvent: Notify driver not registered
i see this post from Rex Chang but i think my package version is correct
any body can help me how to use Syslink Notfy/MessageQ in CCS project?
thanks
Ebi