Hi,
I am trying to run my application using C6Run_0_98_03_03 on beagleboard xM Rev C.
DVSDK version is 4_01_00_09.
In this case default memory map is as below.
DSP_REGION_BASE_ADDR=0x83700000
DSP_REGION_CMEM_SIZE=0x02900000
DSP_REGION_CODE_SIZE=0x02000000
When I try to change the settings to bigger values in top level make file of DVSDK, let's say as below
DSP_REGION_BASE_ADDR=0x83700000
DSP_REGION_CMEM_SIZE=0x04000000
DSP_REGION_CODE_SIZE=0x03000000
I get following type of error while loading kernel modules on board.
CMEMK Error: Failed to request_mem_region(0x83700000,
16777216)
insmod: error inserting './cmemk.ko': -1 Bad address
[ 8677.679412] DSPLINK Module (1.65.00.02) created on Date: Jan 5 2012 Time: 19:16:16
mknod: /dev/dsplink: File exists
I am also making corresponding changes to platform.mak file
I want to change this to higher values for DSP_REGION_CMEM_SIZE and DSP_REGION_CODE_SIZE.
These changes should also get reflected in kernel modules like cmemk.ko, dsplinkmodule.ko etc. to get this working.
But I am not sure how to change the default memory map of DVSDK which should use desired settings of above variables.
Can anyone please help me in getting this resolved?
Regards,
Mike