Part Number:66AK2G02
Tool/software:TI-RTOS
HI,
I am using 66AK2G02 ti-processor-sdk-rtos-k2g-evm-04.01.00.06 and the same version SDK-Linux.
I build the 66AK2G_linux_elf/ex02_messageq examples,and copy it to the filesystem.
root@k2g-evm:~# uname -r 4.9.41-ge3a80a1c5c root@k2g-evm:~# root@k2g-evm:~# root@k2g-evm:~# ls app_host server_core0.xe66 root@k2g-evm:~# mpmcl reset dsp0 reset succeeded root@k2g-evm:~# mpmcl load dsp0 server_core0.xe66 load succeeded root@k2g-evm:~# mpmcl run dsp0 server_core0.xe66 [ 97.098845] remoteproc remoteproc0: powering up 10800000.dsp [ 97.109650] remoteproc remoteproc0: Booting unspecified pre-loaded fw image [ 97.127740] virtio_rpmsg_bus virtio0: rpmsg host is online [ 97.144046] connector-hdmi connector: failed to find video source [ 97.150748] remoteproc remoteproc0: registered virtio0 (type 7) [ 97.173064] remoteproc remoteproc0: remote processor 10800000.dsp is now up run succeeded root@k2g-evm:~# root@k2g-evm:~# ls app_host server_core0.xe66 root@k2g-evm:~# ./app_host CORE0 --> main: --> Main_main: --> App_create: file:App.c, function: App_create,line:82 file:App.c, function: App_create,line:90 msgqName: CORE0:MsgQ:01 file:App.c, function: App_create,line:99 msgqName: CORE0:MsgQ:01 file:App.c, function: App_create,line:99 msgqName: CORE0:MsgQ:01 file:App.c, function: App_create,line:99 msgqName: CORE0:MsgQ:01 file:App.c, function: App_create,line:99 ^CIpc: Caught SIGINT, calling Ipc_stop...
I use mpmcl command to reset\load\run the dsp0.
but the dsp0 do not work to create a messageQ,the app_host will stop at MessageQ_open.
The weird thing is I can not cat anything at /sys/kernel/debug/remoteproc/remoteproc0/trace0.
There is my question:
1.Why the /sys/kernel/debug/remoteproc/remoteproc0/trace0 is empty?the dsp core was waked up but not run?
2.How can I fix it and let the ex02_messageq example run?
Any help will be appreciated.
Thanks.