Other Parts Discussed in Thread: SYSBIOS
Tool/software: Linux
I have been following the instructions to build and run the IPC examples for the AM5728 on the IDK board, but I am now having problems when trying to load the firmware for the ex02_messageq example onto the DSP1 of the SOC. I have linked the new server_dsp1.xe66 file to /lib/firmware/dra7-dsp1-fw.xe66, but when I go to load it with the unbind, bind sequence there is a crash in the DSP. See output below:
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 40800000.dsp > unbind [ 643.390844] omap_hwmod: mmu1_dsp1: _wait_target_disable failed [ 643.403893] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 643.409953] remoteproc remoteproc2: stopped remote processor 40800000.dsp [ 643.416969] remoteproc remoteproc2: releasing 40800000.dsp root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 41000000.dsp/ 55020000.ipu/ 58820000.ipu/ bind module/ uevent unbind root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 40800000.dsp > bind [ 673.678190] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000 [ 673.686099] remoteproc remoteproc2: 40800000.dsp is available root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# [ 673.696869] remoteproc remoteproc2: powerinp [ 673.705949] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 4206180 [ 673.720860] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 673.726760] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0 [ 673.732698] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0 [ 673.748086] virtio_rpmsg_bus virtio2: rpmsg host is online [ 673.753610] remoteproc remoteproc2: crash detected in 40800000.dsp: type watchdog [ 673.761192] remoteproc remoteproc2: registered virtio2 (type 7) [ 673.767143] remoteproc remoteproc2: remote processor 40800000.dsp is now up [ 673.774813] remoteproc remoteproc2: handling crash #1 in 40800000.dsp [ 673.781316] remoteproc remoteproc2: recovering 40800000.dsp [ 673.800912] omap_hwmod: mmu1_dsp1: _wait_target_disable failed [ 673.813972] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 673.819912] remoteproc remoteproc2: stopped remote processor 40800000.dsp [ 673.826738] remoteproc remoteproc2: powering up 40800000.dsp [ 673.837408] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 4206180 [ 673.852300] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 673.858195] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0 [ 673.864134] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0 [ 673.882852] virtio_rpmsg_bus virtio2: rpmsg host is online [ 673.888407] remoteproc remoteproc2: crash detected in 40800000.dsp: type watchdog [ 673.896004] remoteproc remoteproc2: registered virtio2 (type 7) [ 673.901984] remoteproc remoteproc2: remote processor 40800000.dsp is now up [ 673.909516] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
Then when I try to run the message_q example from the host by calling `./app_host DSP1`, I get the following output:
root@am57xx-evm:~/ex02_messageq/host/bin/debug# ./app_host DSP1
--> main:
--> Main_main:
--> App_create:
App_create: Failed opening MessageQ
<-- App_create:
<-- Main_main:
<-- main:
What could be going wrong?
