Hi everyone.
I am using a DM8168 board,
and my sdk version is
dm8168_ezsdk_5_02_02_60 ( omx_05_02_00_15, syslink_2_00_02_80 , c6run_0_98_00_00 )
Q1
When I run a program which is using openMax and C6run.
I got syslink errors like below:
-----------------------------------------------------------------------------------
Assertion at Line no: 1737 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-non
-linux-gnueabi/ti-syslink-2_00_02_80-r4i/syslink_2_00_02_80/packages/ti/syslink
utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/MessageQ.c: (Mes
ageQ_module->heaps [heapId] != NULL) : failed
Assertion at Line no: 1737 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-non
-linux-gnueabi/ti-syslink-2_00_02_80-r4i/syslink_2_00_02_80/packages/ti/syslink
utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/MessageQ.c: (Mes
ageQ_module->heaps [heapId] != NULL) : failed
-----------------------------------------------------------------------------------
What is the error mean?
Q2
openMax program and c6runLib program work fine respectively,
but program will stop at OMX_deinit() function.
(I found it stopped at syslink_destroy() be called, why)
When I use Ctrl+C to kill that process, message showed like below
-----------------------------------------------------------------------------------
Unable to handle kernel paging request at virtual address d08c7004
pgd = cb32c000
[d08c7004] *pgd=8c805011, *pte=00000000, *ppte=00000000
Internal error: Oops: 807 [#3]
last sysfs file: /sys/module/syslink/initstate
Modules linked in: cmemk bufferclass_ti omaplfb pvrsrvkm ti81xxhdmi ti81xxfb vpss syslink ipv6
CPU: 0 Tainted: G D (2.6.37 #2)
PC is at remove_wait_queue+0x20/0x44
LR is at OsalSemaphore_pend+0x224/0x2a8 [syslink]
pc : [<c007ed18>] lr : [<bf07cb70>] psr: 80000193
sp : c9865e98 ip : 80000113 fp : c9865ea4
r10: 00000000 r9 : c9864000 r8 : d08c7004
r7 : 7fffffff r6 : fffffe00 r5 : d08c7000 r4 : c9864000
r3 : 00100100 r2 : d08c7004 r1 : c9865eb4 r0 : d08c7004
Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 8b32c019 DAC: 00000015
Process PU0ServerTest (pid: 1142, stack limit = 0xc98642e8)
Stack: (0xc9865e98 to 0xc9866000)
5e80: c9865eec c9865ea8
5ea0: bf07cb70 c007ed04 ffffffff 455f5652 524f5252 00000001 cbf17600 c00657c4
5ec0: d08c7004 d08c7004 56500045 bf1431a8 00000000 c9865f70 00000028 5522cdd8
5ee0: c9865f4c c9865ef0 bf0c7590 bf07c958 5522cdd8 00000028 c9865f70 c9865f08
5f00: 00000000 00000000 0000046c 00000000 00000000 00000000 00000000 00000000
5f20: 00000000 00000000 cb3ae000 cb3ae000 5522cdd8 c9865f70 00000028 5522cdd8
5f40: c9865f6c c9865f50 c00bfb98 bf0c743c 00000000 00000000 cb3ae000 00000028
5f60: c9865fa4 c9865f70 c00bfc84 c00bfaf4 00000000 00000000 7ffbfeff 00000001
5f80: 00000000 00000000 5522cdd8 5522cdfc 00000003 c0042f48 00000000 c9865fa8
5fa0: c0042da0 c00bfc4c 00000000 5522cdd8 0000000c 5522cdd8 00000028 40281c3c
5fc0: 00000000 5522cdd8 5522cdfc 00000003 5522cdf4 5522cdec 5522cdf0 5522cde8
5fe0: 00000000 5522cd38 405031f4 404e8a54 60000010 0000000c 4655534e 49434946
Backtrace:
[<c007ecf8>] (remove_wait_queue+0x0/0x44) from [<bf07cb70>] (OsalSemaphore_pend+0x224/0x2a8 [syslink])
[<bf07c94c>] (OsalSemaphore_pend+0x0/0x2a8 [syslink]) from [<bf0c7590>] (NotifyDrv_read+0x160/0x2b4 [syslink])
r8:5522cdd8 r7:00000028 r6:c9865f70 r5:00000000 r4:bf1431a8
[<bf0c7430>] (NotifyDrv_read+0x0/0x2b4 [syslink]) from [<c00bfb98>] (vfs_read+0xb0/0xd8)
r8:5522cdd8 r7:00000028 r6:c9865f70 r5:5522cdd8 r4:cb3ae000
[<c00bfae8>] (vfs_read+0x0/0xd8) from [<c00bfc84>] (sys_read+0x44/0x70)
r7:00000028 r6:cb3ae000 r5:00000000 r4:00000000
[<c00bfc40>] (sys_read+0x0/0x70) from [<c0042da0>] (ret_fast_syscall+0x0/0x30)
r8:c0042f48 r7:00000003 r6:5522cdfc r5:5522cdd8 r4:00000000
Code: f10c0080 e59f3020 e5910010 e591200c (e5802000)
---[ end trace 6c4e3dc02046fb79 ]---
Segmentation fault
-----------------------------------------------------------------------------------
Can anyone give me some advises about these problems?
Any opinions will be greatly appreciated.
Regards,
Lei