Hello,
I am using DM6467 and dvsdk_2_00_00_22, DSPLink version 1.61.03. I just followed the "UserGuide.pdf" and "InstallGuide_Linux_DM6446_DM6467.pdf" to build dsplink.
my bootargs setting is "bootargs mem=90M" and "bootargs mem=120M"...
With these setting, if I run the sample message application am getting the following error..
-----------------------------------------------------------------------------------------------------------------
root@192.168.1.34:~/message# insmod dsplinkk.ko
root@192.168.1.34:~/message# mknod /dev/dsplink c 230 0
root@192.168.1.34:~/message# lsmod
Module Size Used by
dsplinkk 218764 0
root@192.168.1.34:~/message# ./messagegpp message.out 8 0
========== Sample Application : MESSAGE ==========
Entered MESSAGE_Create ()
Unable to handle kernel paging request at virtual address fec40014
pgd = c3040000
[fec40014] *pgd=8046a011, *pte=00000000, *ppte=00000000
Internal error: Oops: 7 [#1]
Modules linked in: dsplinkk
CPU: 0
PC is at DM6467GEM_halPscEnable+0xc/0x9c [dsplinkk]
LR is at DM6467GEM_halPwrCtrl+0x4c/0xb0 [dsplinkk]
pc : [<bf00aa10>] lr : [<bf00ab00>] Not tainted
sp : c3bd1db8 ip : c3bd1dc8 fp : c3bd1dc4
r10: 00000000 r9 : c3bd1de0 r8 : bf0347e4
r7 : c6066000 r6 : 00000007 r5 : 00000000 r4 : c6096000
r3 : 00040000 r2 : 00000000 r1 : 00000000 r0 : fec40000
Flags: Nzcv IRQs on FIQs on Mode SVC_32 Segment user
Control: 5317F
Table: 83040000 DAC: 00000015
Process messagegpp (pid: 709, stack limit = 0xc3bd0258)
Stack: (0xc3bd1db8 to 0xc3bd2000)
1da0: c3bd1ddc c3bd1dc8
1dc0: bf00ab00 bf00aa14 c6096000 00008000 c3bd1e1c c3bd1de0 bf00b770 bf00aac4
1de0: 11f00000 00008000 c60a0000 00000000 c3bd1e0c bf033a48 00000000 00000028
1e00: 00008000 00000000 bf0351a8 00000000 c3bd1e34 c3bd1e20 bf00bd24 bf00b634
1e20: c6066000 00000000 c3bd1e7c c3bd1e38 bf017db4 bf00bce0 bf00a754 c6066024
1e40: bf033a48 c6064000 00008000 00000000 c3bd1e7c 00000000 00008000 bf033d48
1e60: 00000000 00000000 00000000 00000001 c3bd1ebc c3bd1e80 bf003f20 bf017ad4
1e80: c003951c 0000d200 c608f000 00000000 0000003c 00006c08 be83bbf4 00006c08
1ea0: c04f4b40 c0031fe8 c3bd0000 00000000 c3bd1f2c c3bd1ec0 bf00066c bf003b58
1ec0: c3bbbbf0 00000000 00000000 00000054 c3bd1f3c c3bd1ee0 c007fd44 c0039438
1ee0: 00001000 00000000 00000000 00000000 00008000 00000000 00000000 4001dbf8
1f00: be83bc14 be83bee4 0000072b c04f4b40 be83bbf4 00006c08 c04f4b40 c0031fe8
1f20: c3bd1f4c c3bd1f30 c00a692c bf00009c c3bd1f84 c04f4b40 00000003 be83bbf4
1f40: c3bd1f7c c3bd1f50 c00a6b4c c00a68b0 00000000 00015000 00000003 be83bbf4
1f60: 00006c08 c04f4b40 c0031fe8 c3bd0000 c3bd1fa4 c3bd1f80 c00a6c98 c00a694c
1f80: c3bd0000 00000000 00008000 00000000 be83bed8 00000036 00000000 c3bd1fa8
1fa0: c0031e40 c00a6c68 00008000 00000000 00000003 00006c08 be83bbf4 00000003
1fc0: 00008000 00000000 be83bed8 00000036 be83bed8 00000000 00000000 be83bbe4
1fe0: be83bee4 be83bac8 0000b808 400ff27c 80000010 00000003 00000000 00000000
Backtrace:
[<bf00aa04>] (DM6467GEM_halPscEnable+0x0/0x9c [dsplinkk]) from [<bf00ab00>] (DM6467GEM_halPwrCtrl+0x4c/0xb0 [dsplinkk])
[<bf00aab4>] (DM6467GEM_halPwrCtrl+0x0/0xb0 [dsplinkk]) from [<bf00b770>] (DM6467GEM_init+0x14c/0x224 [dsplinkk])
r5 = 00008000 r4 = C6096000
[<bf00b624>] (DM6467GEM_init+0x0/0x224 [dsplinkk]) from [<bf00bd24>] (DSP_init+0x54/0x64 [dsplinkk])
[<bf00bcd0>] (DSP_init+0x0/0x64 [dsplinkk]) from [<bf017db4>] (LDRV_PROC_init+0x2f0/0x424 [dsplinkk])
r5 = 00000000 r4 = C6066000
[<bf017ac4>] (LDRV_PROC_init+0x0/0x424 [dsplinkk]) from [<bf003f20>] (PMGR_PROC_attach+0x3d8/0x4e8 [dsplinkk])
[<bf003b48>] (PMGR_PROC_attach+0x0/0x4e8 [dsplinkk]) from [<bf00066c>] (DRV_Ioctl+0x5e0/0xc58 [dsplinkk])
[<bf00008c>] (DRV_Ioctl+0x0/0xc58 [dsplinkk]) from [<c00a692c>] (do_ioctl+0x8c/0x9c)
r8 = C0031FE8 r7 = C04F4B40 r6 = 00006C08 r5 = BE83BBF4
r4 = C04F4B40
[<c00a68a0>] (do_ioctl+0x0/0x9c) from [<c00a6b4c>] (vfs_ioctl+0x210/0x31c)
r6 = BE83BBF4 r5 = 00000003 r4 = C04F4B40
[<c00a693c>] (vfs_ioctl+0x0/0x31c) from [<c00a6c98>] (sys_ioctl+0x40/0x68)
r9 = C3BD0000 r8 = C0031FE8 r7 = C04F4B40 r6 = 00006C08
r5 = BE83BBF4 r4 = 00000003
[<c00a6c58>] (sys_ioctl+0x0/0x68) from [<c0031e40>] (ret_fast_syscall+0x0/0x2c)
r7 = 00000036 r6 = BE83BED8 r5 = 00000000 r4 = 00008000
Code: bf033a70 e1a0c00d e92dd800 e24cb004 (e5903014)
Segmentation fault
root@192.168.1.34:~/message#
-----------------------------------------------------------------------------------------------------------------
Note:
I am using the following to compile dsplink.
"perl dsplinkcfg.pl --platform=DAVINCIHD --nodsp=1 --dspcfg_0=DM6467GEMSHMEM --dspos_0=DSPBIOS5XX --gppos=MVL5G --comps=ponslrmc"