Part Number: AM5728
Hi,
I encountered a IPU and DSP loading problem. When system is ready, I manually insert cmemk, virtio_ring, virtio, virtio_rpmsg_bus, remoteproc, and omap_remoteproc modules.
There is a error occurred which leads to drive DSP and IPU all failed. As I know, DSP and IPU subsystem all belong to CPU. Kernel and device-tree won't affect these components.
I did enable IPUs and DSPs devices. I tried to use pre-built images(zImage, dtb) on our target board. The error is same as my images. My image are built under SDK-03.02 version.
Furthermore, I've tried to put my images(zImage, dtb) on evm board. It worked well. I use the same DSP and IPU firmware and same filesystem on these boards.
The error always happens while CPU or DSP tried to do hardreset no mater I use built-in module image or manually inserted modules. I can't figure out what the reason leads device to be busy?
Could be any hardware issue? Or do I need to build a specific firmware for our own?
By the way, we only have 1GB ram on target board. Is it a memory issue?
Here is error message after I insert modules.
[ 928.971149] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
[ 928.971209] remoteproc0: 58820000.ipu is available
[ 928.971219] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 928.971227] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 928.972640] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[ 928.972692] remoteproc1: 55020000.ipu is available
[ 928.972701] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 928.972708] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 928.974948] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ 928.974999] remoteproc2: 40800000.dsp is available
[ 928.975007] remoteproc2: Note: remoteproc is still under development and considered experimental.
[ 928.975014] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 928.976174] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
[ 928.976228] remoteproc3: 41000000.dsp is available
[ 928.976237] remoteproc3: Note: remoteproc is still under development and considered experimental.
[ 928.976246] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 929.485514] remoteproc1: powering up 55020000.ipu
[ 929.485533] remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743072
[ 929.485562] omap_device_deassert_hardreset: mmu_cache is doing hardreset...
[ 929.485573] omap_hwmod: mmu_ipu2: _lookup_hardreset: mmu_cache rst 2 st 0
[ 929.485603] omap_hwmod: mmu_ipu2: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.485613] omap_hwmod: mmu_ipu2: successed to hardreset!!!
[ 929.485613]
[ 929.485629] omap_device_deassert_hardreset: mmu_cache[0/1], ret=0...
[ 929.485629]
[ 929.485639] omap_hwmod: mmu_ipu2: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.485669] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[ 929.549200] omap_device_deassert_hardreset: cpu0 is doing hardreset...
[ 929.549216] omap_hwmod: ipu2: _lookup_hardreset: cpu0: rst 0 st 0
[ 929.565685] omap_hwmod: ipu2: failed to hardreset
[ 929.566161] omap_device_deassert_hardreset: cpu0[0/1], ret=-16...
[ 929.566161]
[ 929.566174] omap_rproc_device_enable: failed for proc 55020000.ipu
[ 929.613516] remoteproc1: rproc_boot() failed -16
[ 929.572428] omap-rproc 55020000.ipu: omap_device_enble failed: -16
[ 929.579714] remoteproc1: can't start rproc 55020000.ipu: -16
[ 929.613449] omap_hwmod: mmu_ipu2: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.613475] omap_hwmod: mmu_ipu2: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.613494] omap_hwmod: mmu_ipu2: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.613516] remoteproc1: rproc_boot() failed -16
[ 929.680136] virtio_rpmsg_bus: probe of virtio0 failed with error -16
[ 929.680161] remoteproc1: registered virtio0 (type 7)
[ 929.816424] omap_rproc_device_enable: failed for proc 58820000.ipu
[ 929.822673] omap-rproc 58820000.ipu: omap_device_enable failed: -16
[ 929.829187] remoteproc0: can't start rproc 58820000.ipu: -16
[ 929.838156] remoteproc0: rproc_boot() failed -16
[ 929.793725] remoteproc0: powering up 58820000.ipu
[ 929.793741] remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4890352
[ 929.793776] omap_device_deassert_hardreset: mmu_cache is doing hardreset...
[ 929.793785] omap_hwmod: mmu_ipu1: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.793814] omap_hwmod: mmu_ipu1: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.793823] omap_hwmod: mmu_ipu1: successed to hardreset!!!
[ 929.793823]
[ 929.793839] omap_device_deassert_hardreset: mmu_cache[0/1], ret=0...
[ 929.793839]
[ 929.793847] omap_hwmod: mmu_ipu1: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.793878] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
[ 929.799375] omap_device_deassert_hardreset: cpu0 is doing hardreset...
[ 929.799385] omap_hwmod: ipu1: _lookup_hardreset: cpu0: rst 0 st 0
[ 929.815761] omap_hwmod: ipu1: failed to hardreset
[ 929.816413] omap_device_deassert_hardreset: cpu0[0/1], ret=-16...
[ 929.816413]
[ 929.816424] omap_rproc_device_enable: failed for proc 58820000.ipu
[ 929.822673] omap-rproc 58820000.ipu: omap_device_enable failed: -16
[ 929.829187] remoteproc0: can't start rproc 58820000.ipu: -16
[ 929.838096] omap_hwmod: mmu_ipu1: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.838115] omap_hwmod: mmu_ipu1: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.838136] omap_hwmod: mmu_ipu1: _lookup_hardreset: mmu_cache: rst 2 st 0
[ 929.838156] remoteproc0: rproc_boot() failed -16
[ 929.843510] virtio_rpmsg_bus: probe of virtio1 failed with error -16
[ 929.843529] remoteproc0: registered virtio1 (type 7)
[ 931.346222] omap_rproc_device_enable: failed for proc 41000000.dsp
[ 931.352685] omap-rproc 41000000.dsp: omap_device_enable failed: -16
[ 931.309156] remoteproc3: powering up 41000000.dsp
[ 931.309175] remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21998880
[ 931.359086] remoteproc3: can't start rproc 41000000.dsp: -16
[ 931.309234] omap_device_deassert_hardreset: mmu_cache is doinghardreset...
[ 931.309246] omap_hwmod: mmu0_dsp2: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.309324] omap_hwmod: mmu0_dsp2: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.316253] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[ 931.316261] omap_hwmod: mmu0_dsp2: successed to hardreset!!!
[ 931.316261]
[ 931.316277] omap_device_deassert_hardreset: mmu_cache[0/1], ret=0...
[ 931.316277]
[ 931.316288] omap_hwmod: mmu0_dsp2: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.316321] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[ 931.316347] omap_hwmod: mmu1_dsp2: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.316376] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[ 931.329388] omap_device_deassert_hardreset: dsp is doing hardreset...
[ 931.329405] omap_hwmod: dsp2: _lookup_hardreset: dsp: rst 0 st 0
[ 931.345968] omap_hwmod: dsp2: failed to hardreset
[ 931.346210] omap_device_deassert_hardreset: dsp[0/1], ret=-16...
[ 931.346210]
[ 931.346222] omap_rproc_device_enable: failed for proc 41000000.dsp
[ 931.352685] omap-rproc 41000000.dsp: omap_device_enable failed: -16
[ 931.397081] remoteproc3: rproc_boot() failed -16
[ 931.359086] remoteproc3: can't start rproc 41000000.dsp: -16
[ 931.382775] omap_hwmod: mmu1_dsp2: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.382799] omap_hwmod: mmu1_dsp2: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.389855] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
[ 931.389943] omap_hwmod: mmu0_dsp2: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.389965] omap_hwmod: mmu0_dsp2: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.397028] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[ 931.397046] omap_hwmod: mmu0_dsp2: _lookup_hardreset: mmu_cach
[ 931.553567] omap_rproc_device_enable: failed for proc 40800000.dsp
[ 931.397081] remoteproc3: rproc_boot() failed -6
[ 931.486807] virtio_rpmsg_bus: probe of virtio2 failed with error -16
[ 931.486834] remoteproc3: registered virtio2 (type 7)
[ 931.585070] omap-rproc 40800000.dsp: omap_device_enable failed: -16
[ 931.608761] remoteproc2: can't start rproc 40800000.dsp: -16
[ 931.517537] remoteproc2: powering up 40800000.dsp
[ 931.51752] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21998880
[ 931.517597] omap_device_deassert_hardreset: mmu_cache is doing hardreset...
[ 931.517605] omap_hwmod: mmu0_dsp1: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.517680] omap_hwmod: mmu0_dsp1: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.524404] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 931.524411] omap_hwmod: mmu0_dsp1: successed to hardreset!!!
[ 931.524411]
[ 931.524426] omap_device_deassert_hardreset: mmu_cache[0/1], ret=0...
[ 931.524426]
[ 931.524435] omap_hwmod: mmu0_dsp1: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.524467] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 931.524535] omap_hwmod: mmu1_dsp1: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.524564] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 931.536500] omap_device_deassert_hardreset: dsp is doing hardreset...
[ 931.536514] omap_hwmod: dsp1: _lookup_hardreset: dsp: rst 0 st 0
[ 931.553221] omap_hwmod: dsp1: failed to hardreset
[ 931.553556] omap_device_deassert_hardreset: dsp[0/1], ret=-16...
[ 931.553556]
[ 931.553567] omap_rproc_device_enable: failed for proc 40800000.dsp
[ 931.585070] omap-rproc 40800000.dsp: omap_device_enable failed: -16
[ 931.608761] remoteproc2: can't start rproc 40800000.dsp: -16
[ 931.620245] omap_hwmod: mmu1_dsp1: _lookup_hardreset: mmu_cach: rst 1 st 0
[ 931.620266] omap_hwmod: mmu1_dsp1: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.626950] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 931.626998] omap_hwmod: mmu0_dsp1: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.627014] omap_hwmod: mmu0_dsp1: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.633703] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 931.633719] omap_hwmod: mmu0_dsp1: _lookup_hardreset: mmu_cache: rst 1 st 0
[ 931.634034] remoteproc2: rproc_boot() failed -16
[ 931.744779] virtio_rpmsg_bus: probe of virtio3 failed with error -16
[ 931.744798] remoteproc2: registered virtio3 (type 7)
Best Regards,
Neil