Part Number: AM5728
Tool/software: Linux
Dear Champs,
Is it possible to run DSP SW using CCS after linux booting done?
My customer has troubles to run DSP SW from CCS when linux booting done, but I'm curious if this is possible to run DSP SW from CCS after linux booting done.
They are testing MCASP_Audio_evmAM572x_c66EampleProject examples, and there was no issue to run it using CCS before linux booting.
i.e. when they connect EVM5728 in CCS immediately before linux booting, there was no issue to run this example SW. But, when they connect CCS after linux booting done, they failed to run example SW with below errors.
에러 내용은 아래와 같습니다.
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc#
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc#
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc#
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc#
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# [ 4974.578247] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
[ 4974.585073] remoteproc2: crash detected in 40800000.dsp: type mmufault
[ 4974.591721] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xd49b10cc *pgd:px00000000
[ 4974.602046] remoteproc2: handling crash #1 in 40800000.dsp
[ 4974.607743] remoteproc2: recovering 40800000.dsp
[ 4974.635833] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 4974.648674] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 4974.654658] remoteproc2: stopped remote processor 40800000.dsp
[ 4974.671415] remoteproc2: powering up 40800000.dsp
[ 4974.676276] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 7945952
[ 4974.690311] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 4974.696209] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 4974.702146] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 4974.762987] remoteproc2: remote processor 40800000.dsp is now up
[ 4974.769473] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 4974.775029] remoteproc2: registered virtio2 (type 7)
[ 4974.781355] omap-rproc 40800000.dsp: received echo reply from 40800000.dsp
[ 4974.788357] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x36
[ 4974.796312] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x37
[ 4974.804308] virtio_rpmsg_bus virtio2: creating channel rpmsg-rpc addr 0x65
[ 4974.811446] rpmsg_rpc rpmsg18: probing service rpmsg-dce-dsp with src 1024 dst 101
[ 4974.819768] rpmsg_rpc rpmsg18: published functions = 9
They found the error was occurred while edma initialization as below source.
hEdma_0 = edma3init(0, &edmaResult); //jwkim 0 ---> 1
Could you please check this issue?
Thanks and Best Regards,
SI.