Other Parts Discussed in Thread: OMAP3530
hi,my board is omap3530
when insmod cmemk.ko, I set cmem:CMEM_MODPARAMS="phys_start=0x85000000 phys_end=0x86000000 pools=20x4096,10x131072,2x1048576"
after ./loadmodules.sh, I run:./app_remote.xv5T, the linux crash
as follows:
=========================================================
[ 869.889648] CMEMK module: built on May 29 2013 at 18:40:59
[ 869.905487] Reference Linux version 2.6.32
[ 869.910369] File /usr/local/dvsdk/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 869.924896] allocated heap buffer 0xc8000000 of size 0xcac000
[ 869.931396] cmemk initialized
[ 870.256103] DSPLINK Module (1.65.00.02) created on Date: May 30 2013 Time: 11:29:26
[ 873.092834] Unable to handle kernel NULL pointer dereference at virtual address 00000050
[ 873.100982] pgd = c305c000
[ 873.103729] [00000050] *pgd=82833031, *pte=00000000, *ppte=00000000
[ 873.110076] Internal error: Oops: 17 [#1] PREEMPT
[ 873.114807] last sysfs file: /sys/devices/platform/gpio-keys/modalias
[ 873.121276] Modules linked in: lpm_omap3530 dsplinkk cmemk gpio_keys
[ 873.127746] CPU: 0 Not tainted (2.6.32 #564)
[ 873.132415] PC is at down_interruptible+0x18/0x6c
[ 873.137145] LR is at down_interruptible+0x18/0x6c
[ 873.141906] pc : [<c007f774>] lr : [<c007f774>] psr: 80000093
[ 873.141906] sp : c17dbe48 ip : c4805600 fp : 00000026
[ 873.153472] r10: c4875640 r9 : c3280000 r8 : 00000050
[ 873.158721] r7 : fffffff4 r6 : 00000000 r5 : a0000013 r4 : 00000050
[ 873.165313] r3 : 00000001 r2 : c17da000 r1 : 00000000 r0 : 00000001
[ 873.171905] Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 873.179168] Control: 10c5387d Table: 8305c019 DAC: 00000015
[ 873.184967] Process app_remote.xv5T (pid: 3946, stack limit = 0xc17da2e8)
============================================================
I debug the code ,find Engine_open cause crash.
can you help me?I don't know how to do?