Hi,
I am currently evaluating the evm-k2h platform.
I have built the ARM and DSP binaries following the documentation here: http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Developing_Transports#Heterogeneous_Processor_Test_2
I have started the rmServer.out process and loaded the DSP binary as described in the MCBSP UG.
However, I can't get this example to fully work. On the ARM side I get the following logs from the armEpTest_k2h.out:
********************************************************* * ARMv7 Linux TransportQmss Heterogeneous Test (ARM EP) * ********************************************************* TransportQmss Version : 0x02000001 Version String: Linux IPC Transports Revision: 2.0.0.01:Sep 7 2016:15:39:21 Process 1 : Initialized RM_Client0 Process 1 : Opening RM client socket /var/run/rm/rm_client0 Process 0 : Starting RM Message Hub Process 0 : Created RM hub queue: RM_Message_Hub, Qid: 0x80 Process 0 : Opening RM_Client_DSP_1 Process 1 : Creating TransportQmss instance Process 1 : Local MessageQ: TEST_MsgQ_Proc_0, QId: 0x81 Process 1 : Attempting to open DSP 1 queue: TEST_MsgQ_Proc_1
Here are the traces from the DSP core 0:
root@k2hk-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
3 Resource entries at 0x810000
Core 0 : ******************************************************
Core 0 : SYS/BIOS DSP TransportQmss Heterogeneous Test (DSP EP)
Core 0 : ******************************************************
Core 0 : Device name: TMS320TCI6636
Core 0 : Processor names: HOST,CORE0,CORE1
Core 0 : IPC Core ID: 1
Core 0 : Number of DSPs 2
Core 0 : Number of test iterations: 100
Core 0 : Starting IPC core 1 with name ("CORE0")
registering rpmsg-proto service on 61 with HOST
Here are the traces from DSP core 1:
root@k2hk-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/trace0
3 Resource entries at 0x810000
Core 1 : ******************************************************
Core 1 : SYS/BIOS DSP TransportQmss Heterogeneous Test (DSP EP)
Core 1 : ******************************************************
Core 1 : Device name: TMS320TCI6636
Core 1 : Processor names: HOST,CORE0,CORE1
Core 1 : IPC Core ID: 2
Core 1 : Number of DSPs 2
Core 1 : Number of test iterations: 100
Core 1 : Starting IPC core 2 with name ("CORE1")
registering rpmsg-proto service on 61 with HOST
ti.sysbios.knl.Semaphore: line 202: assertion failure: A_badContext: bad calling context. Must be called from a Task.
xdc.runtime.Error.raise: terminating execution
As you can see in the above trace, the DSP application in the second core is crashing badly...
Here some more information that could be useful in identifying the issue:
- I have made no modifications to the code for either the ARM application or the DSP application
- I am running the tisdk-server-rootfs-image on the evaluation board
- The multiProcessTest worked without any issues. So I know the RM server is working.
Am I missing something?
Regards,
- David