I'm using the DVSDK 4 beta. I perform a "make everything", then "make install". I copy the install directory items to my RFS, which is mounted with NFS on the target h/w.
***BTW***, I found out after much frustration a "make all" does not build the ko drivers and I was continually getting module symbol mismatch errors. Grrrr! The "make install" kep masking the failure to build by updating the time/date on the files in the install directory.
I get this error when executing /usr/share/ti/dvsdk-demos/loadmodules.sh
CMEM phys_start (0x83c00000) over laps kernel (0x80000000 -> 0x85000000)
0x50000000 = about 83MB and that seems like an extraordinarily large kernel size. Could someone comment on this?
These are my bootargs from u-boot, if that means anything. I see a mem=80M which suggests to me that maybe I'm reserving too much memory or that I just need to move cmemk's start address.
bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=80M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=4
Also here's the line installing cmemk...
modprobe cmemk phys_start=0x83C00000 phys_end=0x88000000 pools=2x384,1x16384,1x2688,1x20480,3x74,1x60288,2x28,1x147048,1x10240,1x896,1x65536,1x663552,1x9175376,4x24,1x282624,2x5984,1x58144,1x1024,1x48952,1x464,2x16768,1x1251264,1x30720,1x65792,8x774144,1x173712,1x146,1x98,2x296,50x56,2x86,1x624,1x3328,1x518912,4x62,1x242,4x663552,1x1637824,14x1645056,1x16538976,4x1382400
I'm not really sure how to make an intelligent choice about the start and end location. Plus I don't really know how to choose the size and number of buffers to reserve. Which is what I think the modprobe is doing.
Any help would be appreciated. At this time the board (DM368) needs to generate a single D1 resolution H.264 stream. However in the future I would like to stream four D1 h.264 encodes. Maybe that will put into perspective the size and types of buffers I need. No HD at this point.
Thanks, John A.