Dear Friends!
I am new to TI product.
I wont to develop a video encode software that run on TDM3730 board(I think it is copy of DM37x EVM main board)。 My software
work is read vide data from RCA Composite input and encode it to a mp4 or h264 format。
what should I do?
now I download dvsdk_04_03, and I replaced the file under PSP directory with TDM3730's own psp package(am I right?)
the board can boot from nfs using the filesystem of dvsdk/filesystem/dvsdk-dm37x-evm-rootfs.tar.gz,
I run /etc/init.d/matrix-gui-e start, then I use touch screen to direct it to run encode demo(under media buttun), the following message show out:
root@dm37x-evm:~# /etc/init.d/matrix-gui-e start
Starting Matrix GUI application.
root@dm37x-evm:~# <6>CMEMK module: built on Feb 16 2012 at 08:04:52
[ 75.057495] CMEMK module: built on Feb 16 2012 at 08:04:52
<6> Reference Linux version 2.6.37
[ 75.066589] Reference Linux version 2.6.37
<6> File /root/dvsdk/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 75.079620] File /root/dvsdk/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
CMEM Range Overlaps Kernel Physical - allowing overlap
[ 75.096160] CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x86300000) overlaps kernel (0x80000000 -> 0x9ee00000)
[ 75.109161] CMEM phys_start (0x86300000) overlaps kernel (0x80000000 -> 0x9ee00000)
<3>CMEMK Error: Failed to request_mem_region(0x86300000, 16777216)
[ 75.123413] CMEMK Error: Failed to request_mem_region(0x86300000, 16777216)
<1>DSPLINK Module (1.65.01.05_eng) created on Date: Feb 16 2012 Time: 08:05:17
[ 75.180511] DSPLINK Module (1.65.01.05_eng) created on Date: Feb 16 2012 Time: 08:05:17
<6>SDMAK module: built on Feb 16 2012 at 08:04:53
[ 75.240570] SDMAK module: built on Feb 16 2012 at 08:04:53
<6> Reference Linux version 2.6.37
[ 75.249664] Reference Linux version 2.6.37
<6> File /root/dvsdk/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
[ 75.262695] File /root/dvsdk/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
It seem a driver problem.below is my loadmodule-rc:
#!/bin/sh
#
# Default Memory Map for DM3730 EVM
#
# Start Addr Size Description
# -------------------------------------------
# 0x80000000 55 MB Linux
# 0x83700000 34 MB CMEM
# 0x85900000 39 MB CODEC SERVER
load () {
# modprobe cmemk phys_start=0x83700000 phys_end=0x85900000 allowOverlap=1 useHeapIfPoolUnavailable=1
# modprobe cmemk phys_start=0xa0000000 phys_end=0xA2200000 allowOverlap=1 useHeapIfPoolUnavailable=1
modprobe cmemk allowOverlap=1 phys_start=0x86300000 phys_end=0x87300000 pools=1x5250000,6x829440,1x345600,1x691200,1x1
modprobe dsplinkk
modprobe lpm_omap3530
modprobe sdmak
amixer cset name='HeadsetL Mixer AudioL1' on
amixer cset name='HeadsetR Mixer AudioR1' on
amixer -c 0 set Headset 1+ unmute
}
unload () {
rmmod cmemk 2>/dev/null
rmmod lpm_omap3530 2>/dev/null
rmmod dsplinkk 2>/dev/null
rmmod sdmak 2>/dev/null
}
case "$1" in
start)
load
;;
stop)
unload
;;
restart)
unload
load
;;
*)
echo "$0 <start/stop/restart>"
;;
esac
thank for any help