Hello,
I have a dm3730 on which I'm trying to run the message program from dsplink samples.
I've compiled both gpp and dsp side of dsplink and the sample programs and when i try to run messagegpp i get this:
./messagegpp ./message.out 100
========== Sample Application : MESSAGE ==========
Entered MESSAGE_Create ()
PROC_setup (). Status = [0x8000]
PROC_attach () failed. Status = [0x8000800c]
PROC_setup () failed. Status = [0x8000800c]
Leaving MESSAGE_Create ()
Entered MESSAGE_Delete ()
Assertion failed (IS_VALID_MSGQ (msgqQueue)). File : msgq.c Line : 478
MSGQ_release () failed. Status = [0x8000800b]
Assertion failed (IS_VALID_MSGQ (msgqQueue)). File : msgq.c Line : 329
Leaving MESSAGE_Delete ()
====================================================
PROC_attach() is returing 0x8000800c (DSP_EMEMORY), which is strange since according to the proc.h file, PROC_attach should'nt return this error ...
Anyway I don't know how to fix this memory allocation failure. Can anyone help me?
This is what a dmesg gives me :
[ 1565.245635] WARNING: at arch/arm/mm/ioremap.c:207 __arm_ioremap_pfn_caller+0x48/0x188()
[ 1565.253692] Modules linked in: dsplinkk
[ 1565.257598] [<c003c208>] (unwind_backtrace+0x0/0xec) from [<c005d890>] (warn_slowpath_common+0x4c/0x7c)
[ 1565.267517] [<c005d890>] (warn_slowpath_common+0x4c/0x7c) from [<c005d8dc>] (warn_slowpath_null+0x1c/0x24)
[ 1565.277252] [<c005d8dc>] (warn_slowpath_null+0x1c/0x24) from [<c003de94>] (__arm_ioremap_pfn_caller+0x48/0x188)
[ 1565.287414] [<c003de94>] (__arm_ioremap_pfn_caller+0x48/0x188) from [<c003e044>] (__arm_ioremap_caller+0x58/0x60)
[ 1565.297882] [<c003e044>] (__arm_ioremap_caller+0x58/0x60) from [<bf017d64>] (MEM_Map+0x5c/0xe8 [dsplinkk])
[ 1565.307708] [<bf017d64>] (MEM_Map+0x5c/0xe8 [dsplinkk]) from [<bf0012cc>] (OMAP3530_init+0xcc/0x2bc [dsplinkk])
[ 1565.317962] [<bf0012cc>] (OMAP3530_init+0xcc/0x2bc [dsplinkk]) from [<bf000498>] (DSP_init+0x54/0x68 [dsplinkk])
[ 1565.328277] [<bf000498>] (DSP_init+0x54/0x68 [dsplinkk]) from [<bf003a78>] (LDRV_PROC_init+0x2e8/0x400 [dsplinkk])
[ 1565.338806] [<bf003a78>] (LDRV_PROC_init+0x2e8/0x400 [dsplinkk]) from [<bf01dcfc>] (PMGR_PROC_attach+0x150/0x488 [dsplinkk])
[ 1565.350250] [<bf01dcfc>] (PMGR_PROC_attach+0x150/0x488 [dsplinkk]) from [<bf01f2c4>] (DRV_Ioctl+0x378/0x7ec [dsplinkk])
[ 1565.361633] [<bf01f2c4>] (DRV_Ioctl+0x378/0x7ec [dsplinkk]) from [<c00cbcac>] (vfs_ioctl+0x60/0x70)
[ 1565.370758] [<c00cbcac>] (vfs_ioctl+0x60/0x70) from [<c00cc344>] (do_vfs_ioctl+0x4b8/0x500)
[ 1565.379150] [<c00cc344>] (do_vfs_ioctl+0x4b8/0x500) from [<c00cc3c4>] (sys_ioctl+0x38/0x5c)
[ 1565.387603] [<c00cc3c4>] (sys_ioctl+0x38/0x5c) from [<c0037f00>] (ret_fast_syscall+0x0/0x30)
[ 1565.396087] ---[ end trace 2507c381e0533cbc ]---
[ 1565.400726] Failure [0x8000800c] in [0x504] at line 453
[ 1565.406005] Failure [0x8000800c] in [0x801] at line 535
[ 1565.411285] Failure [0x8000800c] in [0x701] at line 362
[ 1565.416534] DSP_init status [0x8000800c]
[ 1565.420684] Assertion failed (dspState->halObject != NULL). File : /home/jdoe/igep/dsplink_linux_1_65_00_03/dsplink/gpp/src/../../gpp/src/arch/OMAP3530/omap3530.c Line : 650
[ 1565.436279] Failure [0x8000800c] in [0x300] at line 468
[ 1565.441558] Failure [0x8000800c] in [0x300] at line 555
Thanks for your help!
Jonathan