Hi All:
I am running beagleboard on Android 2.3 with DM3730 and 512MB ram size
I also install TI DVSDK base on http://code.google.com/p/rowboat/wiki/DSP
Because original beagleboard only have 384MB but our is 512
so modify the following to avoid overlap when loading cmemk.ko
u-boot: modify bootargs
mem=480M init=/init console=ttyS2,115200n8 noinitrd ip=off androidboot.console=ttyS2 rootwait omap_vout.vid1_static_vrfb_alloc=y rw ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs rootdelay=2 omapdss.def_disp=dvi omapfb.mode=dvi:640x480MR-16@60 mpurate=1000\0
init.omap3.rc : modify cmemk.ko loading address
insmod /system/ti-dsp/cmemk.ko "phys_start=0x9E010000 phys_end=0x9EA10000 allowOverlap=1 useHeapIfPoolUnavailable=1"
external/ti-dsp/ti-dvsdk_dm3730-evm_4_01_00_09/codecs-omap3530_4_01_00_00/packages/ti/sdo/server/cs/memmap.tci
:modify platform-specific memory map:
var mem_ext = [
{
comment: "RESET_VECTOR: off-chip memory for the reset vector table",
name: "RESET_VECTOR",
base: 0x9EA10000,
len: 0x00001000,
space: "code/data"
},
{
comment: "DSPLINK: off-chip memory reserved for DSPLINK code and data",
name: "DSPLINKMEM",
base: 0x9EA11000,
len: 0x000FF000,
space: "code/data"
},
{
comment: "DDRALGHEAP: off-chip memory for dynamic algmem allocation",
name: "DDRALGHEAP",
base: 0x9EB10000,
len: 0x02000000,
space: "code/data"
},
{
comment: "DDR2: off-chip memory for application code and data",
name: "DDR2",
base: 0xA0B10000,
len: 0x00600000,
space: "code/data"
},
{
comment: "L4CORE: L4-Core Interconnect Address Space",
name: "L4CORE",
base: 0x48000000,
len: 0x01000000,
space: "data"
},
{
comment: "L4PER: L4-Peripheral Interconnect Address Space",
name: "L4PER",
base: 0x49000000,
len: 0x00100000,
space: "data"
},
After boot android successful,I can see following log :
CMEMK module: built on Feb 8 2012 at 09:28:36
Reference Linux version 2.6.32
File external/ti-dsp/ti-dvsdk_dm3730-evm_4_01_00_09/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xdf000000 of size 0xa00000
heap fallback enabled - will try heap if pool buffer is not available
cmemk initialized
DSPLINK Module (1.65.00.02) created on Date: Mar 1 2012 Time: 12:48:41
SDMAK module: built on Feb 8 2012 at 09:28:38
Reference Linux version 2.6.32
File /external/ti-dsp/ti-dvsdk_dm3730-evm_4_01_00_09/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
And modules are loaded successful by type lsmod
bfdata 1661 4 - Live 0xbf086000
vibrator 2832 2 - Live 0xbf080000
omaplfb 10462 0 - Live 0xbf078000
pvrsrvkm 152114 33 omaplfb, Live 0xbf047000
sdmak 3732 0 - Live 0xbf041000
lpm_omap3530 6321 0 - Live 0xbf039000
dsplinkk 123050 1 lpm_omap3530, Live 0xbf00c000
cmemk 20758 0 - Live 0xbf000000
But it return an error when I use command to play video file
"am start -n com.cooliris.media/com.cooliris.media.MovieView -d /sdcard/Bird_On_Aware_QCIF_15fps_mpeg4_104k_aac_24k.mp4"
The error ID is Engine_EDSPLOAD when Engine_open() to open an Engine.
A doc says that it can't load DSP.
What does this mean? And What could be the cause?
ps:
DVSDK version : ti-dvsdk_dm3730-evm_4_01_00_09