Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

SYS/LINK DSP MMU issue on DM3730

$
0
0

hi, all

I'm using EZSDK 5.05,  when I run program through SYS/LINK, there is a exception:

[t=0x00053ab9] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+E] Memory_alloc> Enter(0x34)
[t=0x00053af6] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+X] Memory_alloc> return (0xd9638)
[t=0x00053b33] [tid=0x40020b90] ti.sdo.ce.Engine: [+[ 2688.703125] *** _OMAP3530_halMmuEnable: iommu_get failed!
[ 2688.703125] Error [0x86a85003] at Line no: 359 in file /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/fc
1] Engine addEngineToList> Addin[ 2688.734375] *** OMAP3530_halMmuCtrl: Failed to configure DSP MMUat _OMAP3530_halMmuEnable
[ 2688.734375] Error [0x86a85003] at Line no: 168 in file /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/fc
g desc: name = remote_copy_DSP, [ 2688.757812] *** OMAP3530PROC_attach: Failed to enable the slave MMU
[ 2688.757812] Error [0x86a85003] at Line no: 1073 in file /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/c
remoteName = all_DSP.xe64P
[t=0[ 2688.789062] *** Processor_attach: Failed to attach to the specific Processor!
[ 2688.789062] Error [0x86a85003] at Line no: 110 in file /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/pc
x00053b70] [tid=0x40020b90] ti.s[ 2688.812500] *** ProcMgr_attach: Processor_attach failed!
[ 2688.812500] Error [0x86a85003] at Line no: 978 in file /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/pc
do.ce.Engine: [+E] Engine addEng[ 2688.835937] *** ProcMgrDrv_ioctl: Kernel-side ProcMgr_attach failed
[ 2688.835937] Error [0x86a85003] at Line no: 882 in file /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/pc
ineToList(0xaadf8, 1) 
[t=0x00053b8f] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+E] Memory_alloc> Enter(0x34)
[t=0x000a5523] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+X] Memory_alloc> return (0xd9670)
[t=0x000a5560] [tid=0x40020b90] ti.sdo.ce.Engine: [+1] Engine addEngineToList> Adding desc: name = local, remoteName = (null)
[t=0x000a55bc] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+E] Memory_alloc> Enter(0x18)
[t=0x000a55da] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+X] Memory_alloc> return (0xd96a8)
[t=0x000a5636] [tid=0x40020b90] ti.sdo.ce.osal.Global: [+E] Global_atexit> Enter (fxn=0x333e8)
[t=0x000a5673] [tid=0x40020b90] ti.sdo.ce.Server: [+E] Server_init()
[t=0x000a56b0] [tid=0x40020b90] ti.sdo.ce.osal.Global: [+E] Global_atexit> Enter (fxn=0x2837c)
[t=0x000a56ed] [tid=0x40020b90] xdc.runtime.Main: [+2] main> Welcome to app's main().
[t=0x000a57c2] [tid=0x40020b90] xdc.runtime.Main: [+1] App-> Application started, procId DSP engineName remote_copy_DSP input-file ./in.dat output-file ./out.
[t=0x000a583c] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+4] Memory_contigAlloc> CMEM_alloc(0x400) = 0x4001f000.
[t=0x000a587a] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+4] Memory_contigAlloc> CMEM_getPhys(0x4001f000) = 0x90fff000.
[t=0x000a58d5] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+4] Memory_contigAlloc> CMEM_alloc(0x400) = 0x40022000.
[t=0x000a5912] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+4] Memory_contigAlloc> CMEM_getPhys(0x40022000) = 0x90ffe000.
[t=0x000a596e] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+4] Memory_contigAlloc> CMEM_alloc(0x400) = 0x40023000.
[t=0x000a59ab] [tid=0x40020b90] ti.sdo.ce.osal.Memory: [+4] Memory_contigAlloc> CMEM_getPhys(0x40023000) = 0x90ffd000.
[t=0x000a5a25] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] Engine_open> Enter('remote_copy_DSP', 0xbed0bc10, 0xbed0bb74)
[t=0x000a5a62] [tid=0x40020b90] ti.sdo.ce.Engine: [+1] Engine_open> desc->memMap [0x0], desc->useExtLoader [0]
[t=0x000a5a9f] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rmsInit> Enter(engine=0xd9a10, ec=0xbed0bb74)
[t=0x000a5adc] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rmsInit> engine->desc = 0xd9640
[t=0x000a5afa] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rmsInit> engine->desc->algTab = 0xaacb8
[t=0x000a5b37] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rmsInit> found remote alg sphenc_copy
[t=0x000a5b56] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rmsInit> engine has server!
[t=0x000a5b93] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rmsInit> engine->procId = DSP
[t=0x000a5bb2] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rmsInit> engine->coreId = 0
[t=0x000a5bef] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rserverOpen('all_DSP.xe64P'), count = 0
[t=0x000a5c0d] [tid=0x40020b90] ti.sdo.ce.Engine: [+E] rserverOpen >, memMap = 0x0, useExtLoader = 0
[t=0x000a5c4a] [tid=0x40020b90] ti.sdo.ce.ipc.Processor: [+E] Processor_create> Enter(imageName='all_DSP.xe64P', memMap='(null)', attrs=0xbed0bb60)
[t=0x000a5ca6] [tid=0x40020b90] ti.sdo.ce.ipc.Processor: [+E] doCmd> Enter (cmdId=1, proc=0xd9a58)
[t=0x000a5d20] [tid=0x4119f490] ti.sdo.ce.ipc.Processor: [+X] getCmd_d> Exit (result=1)
[t=0x000a5d3e] [tid=0x4119f490] ti.sdo.ce.ipc.Processor: [+E] Processor_create_d> Enter(proc=0xd9a58)
[t=0x000a5d7b] [tid=0x4119f490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Retrieving CPU ID for 'DSP'...
[t=0x000a5db8] [tid=0x4119f490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Opening DSP ProcMgr for cpuId 0...
[t=0x000a5ffc] [tid=0x4119f490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Attaching to DSP...
[t=0x000cd4b2] [tid=0x4119f490] ti.sdo.ce.ipc.Processor: [+7] Processor_create_d> ProcMgr_attach() failed: -2035789821
[t=0x000cd50d] [tid=0x4119f490] ti.sdo.ce.ipc.Processor: [+7] Processor_create_d> Loading and starting DSP server 'all_DSP.xe64P' FAILED, status=[0x86a85003]
[t=0x000cd54a] [tid=0x4119f490] ti[ 2689.203125] Assertion at Line no: 365 in /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../..d
.sdo.ce.ipc.Processor: [+E] Proc[ 2689.218750] Assertion at Line no: 219 in /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../.d
essor_delete_d> Enter (proc=0xd9[ 2689.242187] Assertion at Line no: 377 in /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../.d
a58)
[t=0x000cd587] [tid=0x4119[ 2689.257812] *** MemoryOS_free: Pointer NULL for free
[ 2689.257812] Error [0x897d2002] at Line no: 385 in file /opt/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/uc
f490] ti.sdo.ce.ipc.Processor: [[ 2689.289062] Unable to handle kernel NULL pointer dereference at virtual address 00000000
+2] Processor_delete_d> Not call[ 2689.296875] pgd = c7818000
ing Ipc_control(STOPCALLBACK) be[ 2689.304687] [00000000] *pgd=8785b031cause startCallBackStatus = 0xf, *pte=00000000fffffff [-1]
[t=0x000cd5c5] [ti, *ppte=00000000d=0x4119f490] ti.sdo.ce.ipc.Proc
essor: [+2] Processor_delete_d> [ 2689.320312] Internal error: Oops: 17 [#2]

I tried to disable MMU, but can't resolve this fault.

Can anyone guide me to fix this issue?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>