1、IPC demo on AM57xx EVM,1,AM57x,Default Software Architectures,IPC,OpenCL,ARM Cortex-A15s OS = Linux Dev Host = Linux,ARM Cortex-M4s OS = TI-RTOS Dev Host = Windows or Linux,DSPs OS = TI-RTOS Dev Host = Windows or Linux,PRUs OS = Bare Metal Dev Host = Windows or Linux,AM57x,Change to,IPC,IPC,ARM Cort
2、ex-A15s OS = Linux Dev Host = Linux,ARM Cortex-M4s OS = TI-RTOS Dev Host = Windows or Linux,DSPs OS = TI-RTOS Dev Host = Windows or Linux,PRUs OS = Bare Metal Dev Host = Windows or Linux,Compile Steps,Download and install processor sdk both rtos and linux version to the default path.(I used 02.00.01
3、.07 version to ubuntu 14.04) 1, Compile linux kernel.cd ti-processor-sdk-linux-am57xx-evm-02.00.01.07/make linux 2, modify ipc config file ipc_3_41_00_08products.maka, TOOLCHAIN_LONGNAME should be the same with processor linux version. b, Do not set the cgtools which doesnt necessary, like arm9 a8F
4、it may bring in some mistake.,Compile Steps,3, Compile IPC software package.make -f ipc-linux.mak configmakemake -f ipc-bios.mak all 4, Compile IPC demounzip ipc_3_41_00_08/examples/DRA7XX_linux_elf/ex02_messageq.zipmodify ipc_3_41_00_08/examples/DRA7XX_linux_elf/ex02_messageq/products.mak. TOOLCHAI
5、N_LONGNAME should be the same like processor sdk linux version.,Compile Steps,5, There is a bug in the main_host.c. please modified the code by moving the Ipc_transportConfig() before Main_parseArgs(). Int main(Int argc, Char* argv) Int status;printf(“ main:n“);/* configure the transport factory */
6、Ipc_transportConfig(make,Run the demo,6, Copy the demo to filesystem /lib/firmware/.ex02_messageqdsp1bindebugserver_dsp1.xe66ex02_messageqdsp2bindebugserver_dsp2.xe66ex02_messageqhostbindebugapp_hostex02_messageqipu1bindebugserver_ipu1.xem4ex02_messageqipu2bindebugserver_ipu2.xem4 7, link the demo.l
7、n -s server_dsp1.xe66 dra7-dsp1-fw.xe66ln -s server_dsp2.xe66 dra7-dsp2-fw.xe66ln -s server_ipu1.xem4 dra7-ipu1-fw.xem4ln -s server_ipu2.xem4 dra7-ipu2-fw.xem4,Run the demo,8, reboot the board, there is an known issue. To work around, please to restart the lad_dra7xx without -g, that is, /usr/bin/lad_dra7xx -l lad.txt. killall lad_dra7xx /usr/bin/lad_dra7xx -l lad.txt 9, run the demo,Run the demo,Run the demo,./app_host DSP1 ./app_host DSP2 ./app_host IPU1 ./app_host IPU2,