hi
when ever i try to load the cmemk.ko module... it outputs the error as
below
insmod cmemk.ko "phys_start=0x85000000 phys_end=0x86000000
pools=20x4096,10x131072,2x1048576"
[ 53.959259] CMEMK module: built on Jun 6 2011 at 14:42:19
[ 53.969543] Reference Linux version 2.6.32
[ 53.974273] File /media/disk-2/dvsdk/linuxutils_2_25_05_11/
packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 53.987152] CMEMK Error: CMEM phys_start (0x85000000) overlaps
kernel (0x80000000 -> 0x89000000)
insmod: error inserting 'cmemk.ko': -1 Invalid parameters
what are hte valid parameters for cmemk.ko ?
kiran nayak wrote:
hi
when ever i try to load the cmemk.ko module... it outputs the error as
below
insmod cmemk.ko "phys_start=0x85000000 phys_end=0x86000000
pools=20x4096,10x131072,2x1048576"
[ 53.959259] CMEMK module: built on Jun 6 2011 at 14:42:19
[ 53.969543] Reference Linux version 2.6.32
[ 53.974273] File /media/disk-2/dvsdk/linuxutils_2_25_05_11/
packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 53.987152] CMEMK Error: CMEM phys_start (0x85000000) overlaps
kernel (0x80000000 -> 0x89000000)
insmod: error inserting 'cmemk.ko': -1 Invalid parameters
what are hte valid parameters for cmemk.ko ?
the cmem parameters are OK, but you need to reserve the memory
for CMEM and DSP by giving less to the linux kernel using
bootargs
'mem=80M@0x80000000' for 128MB
'mem=80M@0x80000000 mem=128M@0x88000000' for 256MB
'mem=99M@0x80000000 mem=384M@0x88000000' for 512MB
hi vladimir
even i tried with the bootargs u mentioned but the result is same...
i m using beaglboard-xm with 256MB of RAM
insmod cmemk.ko "phys_start=0x85000000 phys_end=0x86000000
pools=20x4096,10x131072,2x1048576"
insmod cmemk.ko "phys_start=0x85000000 phys_en
d=0x86000000 pools=20x4096,10x131072,2x1048576"
[ 78.105285] CMEMK module: built on Jun 6 2011 at 14:42:19
[ 78.115112] Reference Linux version 2.6.32
[ 78.119812] File /media/disk-2/dvsdk/linuxutils_2_25_05_11/
packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 78.132720] CMEMK Error: CMEM phys_start (0x85000000) overlaps
kernel (0x80000000 -> 0x8d000000)
insmod: error inserting 'cmemk.ko': -1 Invalid parameters
my boot args:
setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw init=/
init ip=off mem=80M@0x80000000 mpurate=1000
omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:8M
mem=128M@0x88000000 omapfb.mode=dvi:1280x720MR-16 omapdss.def_disp=dvi
rootwait vram=8M'
fatload mmc 0 80200000 uImage
bootm 80200000
if i m giving 80MB then the kernel should occupy form 0x80000000 to
0x85000000.. but why it is showing "overlaps kernel (0x80000000 ->
0x8d000000)"
anything missing in the bootargs?
kiran nayak wrote:
hi vladimir
even i tried with the bootargs u mentioned but the result is same...
i m using beaglboard-xm with 256MB of RAM
insmod cmemk.ko "phys_start=0x85000000 phys_end=0x86000000
pools=20x4096,10x131072,2x1048576"
insmod cmemk.ko "phys_start=0x85000000 phys_en
d=0x86000000 pools=20x4096,10x131072,2x1048576"
[ 78.105285] CMEMK module: built on Jun 6 2011 at 14:42:19
[ 78.115112] Reference Linux version 2.6.32
[ 78.119812] File /media/disk-2/dvsdk/linuxutils_2_25_05_11/
packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 78.132720] CMEMK Error: CMEM phys_start (0x85000000) overlaps
kernel (0x80000000 -> 0x8d000000)
insmod: error inserting 'cmemk.ko': -1 Invalid parameters
add allowOverlap=1 to cmem insmod
if i m giving 80MB then the kernel should occupy form 0x80000000 to
0x85000000.. but why it is showing "overlaps kernel (0x80000000 ->
0x8d000000)"
anything missing in the bootargs?
because you are giving:
'mem=80M@0x80000000 mem=128M@0x88000000'
which is 208M = 0xd000000
ignore that, its OK.
ok with that addition cmemk.ko successfully get loaded.. but when i
try to run the decode demo the below error occured
root@beagleboard-dvsdk:/usr/share/ti/dvsdk-demos# ./decode -v ../data/
videos/davincieffect.mpeg4
Decode demo started.
[ 251.764312] Start address is covered by existing entry, can not
create TLB entry for address: [0x85900000] size: [0x100000]
[ 251.775634] DSP_init status [0x80008050]
Error: Failed to open codec engi[ 251.782623] Start address is
covered by existing entry, can not create TLB entry for address:
[0x85900000] size: [0x100000]
ne decode
[ 251.795410] DSP_init status [0x80008050]
Error: Failed to open codec engine decode
lsmod output...
root@beagleboard-dvsdk:/home/dsp# lsmod
Module Size Used by
sdmak 3719 0
lpm_omap3530 6537 0
dsplinkk 124358 1 lpm_omap3530
cmemk 21318 0
omaplfb 8770 0
bufferclass_ti 4838 0
pvrsrvkm 129642 2 omaplfb,bufferclass_ti
any idea??
kiran nayak wrote:
ok with that addition cmemk.ko successfully get loaded.. but when i
try to run the decode demo the below error occured
root@beagleboard-dvsdk:/usr/share/ti/dvsdk-demos# ./decode -v ../data/
videos/davincieffect.mpeg4
Decode demo started.
[ 251.764312] Start address is covered by existing entry, can not
create TLB entry for address: [0x85900000] size: [0x100000]
[ 251.775634] DSP_init status [0x80008050]
Error: Failed to open codec engi[ 251.782623] Start address is
covered by existing entry, can not create TLB entry for address:
[0x85900000] size: [0x100000]
ne decode
[ 251.795410] DSP_init status [0x80008050]
Error: Failed to open codec engine decode
lsmod output...
root@beagleboard-dvsdk:/home/dsp# lsmod
Module Size Used by
sdmak 3719 0
lpm_omap3530 6537 0
dsplinkk 124358 1 lpm_omap3530
cmemk 21318 0
omaplfb 8770 0
bufferclass_ti 4838 0
pvrsrvkm 129642 2 omaplfb,bufferclass_ti
any idea??
sorry, no idea.
since this is the "official" TI DVSDK, I would go to them
directly....
thank u for your concern ..
i am a newbie to beagle baord i want to run dsp for some
appilcation . i am trying to isntall dsp driver using the wiki link
http://elinux.org/BeagleBoard/DSP_Howto but thre is problem with git
command please give me all details ow to run the command git . please
give clear details as i am new to linux even .
thank You