I have asked a question @ but I don't get the right answer. So I list my work and post it again.
1. I download the SDK both RTOS and Linux version and get the ipc_3_42_00_02 folder and ti-processor-sdk-linux-k2e-evm-02.00.01.07 folder.
2. I edit the products.mak in ipc_3_42_00_02 folder(content will be list below) and use the commands "make distclean"/"make –f ipc-linux.mak config"/"make"/"make install"/"make -f ipc-bios.mak all" to get ipc_3_42_00_02_lib and ti_platforms_evmC66AK2E_core0 folders.
3. I edit the products.mak in ex02_messageq folder(content will be list below) and use the command "make" to get bin folder both in core0 folder and host folder. Server_core0.xe66 exists in ex02_messageq/core0/bin/debug folder and app_host exists in ex02_messageq/host/bin/debug folder.
PS. In this step, it appears some errors say it can't find some head file so I change the path of head file to find them correctly.
4. I download the file server_core0.xe66 and app_host into the root path(/home/root) of Linux on K2E and I use the command "mpmcl load dsp0 server_core0.xe66" and "mpmcl run dsp0" successful. But when I use command "./app_host -l", it fails.
Does the path I download in Linux on K2E have an influence? Should I download the ipc_3_42_00_02_lib and ti_platforms_evmC66AK2E_core0 folders into Linux too?
I wll be so grateful to get your reply. Thanks!
Code in products.mak in ipc_3_42_00_02 folder DEPOT = /usr/local/ti PLATFORM = 66AK2E DESTDIR = /usr/local/ti/ipc_3_42_00_02/ipc_3_42_00_02_lib TOOLCHAIN_LONGNAME = arm-linux-gnueabihf TOOLCHAIN_INSTALL_DIR = /usr/local/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf TOOLCHAIN_PREFIX = $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)- KERNEL_INSTALL_DIR = /usr/local/ti/ti-processor-sdk-linux-k2e-evm-02.00.01.07/board-support/linux-4.1.13+gitAUTOINC+8dc66170d9-g8dc6617 XDC_INSTALL_DIR = /usr/local/ti/xdctools_3_32_00_06_core BIOS_INSTALL_DIR = /usr/local/ti/bios_6_45_01_29 BIOS_SMPENABLED=1 ti.targets.elf.C66 = /usr/local/ti/ccsv6/tools/compiler/C6000CGT7.4.4
Code in products.mak in ex02_messageq folder # look for other products.mak file to override local settings ifneq (,$(wildcard $(EXBASE)/../products.mak)) include $(EXBASE)/../products.mak else ifneq (,$(wildcard $(EXBASE)/../../products.mak)) include $(EXBASE)/../../products.mak/ # Define IPC_INSTALL_DIR since not defined in IPC top-level products.mak IPC_INSTALL_DIR = $(word 1,$(subst /examples, examples,$(CURDIR))) endif endif TOOLCHAIN_LONGNAME = arm-linux-gnueabihf TOOLCHAIN_INSTALL_DIR = /usr/local/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf TOOLCHAIN_PREFIX = $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)- BIOS_INSTALL_DIR = /usr/local/ti/bios_6_45_01_29 IPC_INSTALL_DIR = /usr/local/ti/ipc_3_42_00_02 XDC_INSTALL_DIR = /usr/local/ti/xdctools_3_32_00_06_core ti.targets.elf.C66 = /usr/local/ti/ccsv6/tools/compiler/C6000CGT7.4.4