Hi,
I have used the DVSDK_3_10_00_19 package and Linux version 2.6.32-rc2 on dm365_evm board.
My application: COMPONENT input 720P, NFS mounted
u-boot
setenv bootargs mem=60M console=ttyS0,115200n8 noinitrd rw ip=192.168.1.101:255.255.255.0:192.168.1.254 root=/dev/nfs rw nfsroot=192.168.1.100:/opt/nfs video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,2025K dm365_imp.oper_mode=0 davinci_capture.device_type=4
root@dm365-evm:~# cd /dm365
root@dm365-evm:/dm365# ./loadmodules.sh
CMEMK module: built on Jul 14 2010 at 17:02:50
Reference Linux version 2.6.32
File /sim/scratch_a0868396/arago-install/dvsdk_3_10_00_19/linuxutils_2_25_04_1
0/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc5000000 of size 0x293000
cmemk initialized
IRQK module: built on Jul 14 2010 at 17:03:00
Reference Linux version 2.6.32
File /sim/scratch_a0868396/arago-install/dvsdk_3_10_00_19/linuxutils_2_25_04_1
0/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Jul 14 2010 at 17:02:57
Reference Linux version 2.6.32
File /sim/scratch_a0868396/arago-install/dvsdk_3_10_00_19/linuxutils_2_25_04_1
0/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
root@dm365-evm:/dm365# ./encode -v 1.264 -y 3
Encode demo started.
EVM: switch to tvp7002 HD video input
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
davinci_previewer davinci_previewer.2: ipipe_set_preview_config
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
EVM: switch to tvp7002 HD video input
vpfe-capture vpfe-capture: width = 1280, height = 720, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 1280, height = 720, bpp = 1, bytespe
rline = 1280, sizeimage = 1382400
vpfe-capture vpfe-capture: width = 1280, height = 720, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 1280, height = 720, bpp = 1, bytespe
rline = 1280, sizeimage = 1382400
tvp7002 1-005c: querystd, erorxxx, val = 0, val1 = 0
Error: Failed to create capture device
encode: linux/Fifo.c:177: Fifo_put: Assertion `ptr' failed.
Aborted
root@dm365-evm:/dm365# DMAI_DEBUG=2 ./encode -v 1.264 -y 3
Encode demo started.
@0x00022e17:[T:0x4001fce0] ti.sdo.dmai - [Dmai] Dmai log level set to '2'. Note
that calling CERuntime_init after this point may cause unexpected change to DMAI
tracing behavior.
vpfe-capture vpfe-capture: IPIPE Chained
@0x0007e9f5:[T:0vpfe-capture vpfe-capture: Resizer present
x4001fce0] ti.sdEVM: switch to tvp7002 HD video input
o.dmai - [Display] Found width=720 height=480, yres_virtual=480,xres_virtual=720
, line_length=384
@0x0007eb8d:[T:0x4001fce0] ti.sdo.dmai - [Display] Setting widavinci_resizer dav
inci_resizer.2: RSZ_G_CONFIG:0:1:124
dth=720 height=4davinci_previewer davinci_previewer.2: ipipe_set_preview_config
80, yres_virtualvpfe-capture vpfe-capture: IPIPE Chained
=480, xres_virtuvpfe-capture vpfe-capture: Resizer present
al=720
@0x0007eEVM: switch to tvp7002 HD video input
c9c:[T:0x4001fce0] ti.sdo.dmai - [Display] New width=720, heightvpfe-capture vpf
e-capture: width = 1280, height = 720, bpp = 1
=480, yres_virtuvpfe-capture vpfe-capture: adjusted width = 1280, height = 720,
bpp = 1, bytesperline = 1280, sizeimage = 1382400
al=480,xres_virtvpfe-capture vpfe-capture: width = 1280, height = 720, bpp = 1
ual=720, line_levpfe-capture vpfe-capture: adjusted width = 1280, height = 720,
bpp = 1, bytesperline = 1280, sizeimage = 1382400
ngth=384
@0x0007edd7:[T:0x4001fce0] ti.sdo.dmai - [BufTab] Allocating BufTab for 1 buffer
s
@0x0007f015:[T:0x4001fce0] ti.sdo.dmai - [Buffer] Set user pointer 0x403d8000 (p
hysical 0x82500000)
@0x0007f555:[T:0x4001fce0] ti.sdo.dmai - [Display] Display buffer 0 mapped to 0x
403d8000 has physical address 0x201f0
@0x0008575d:[T:0x40c04490] ti.sdo.dmai - [Capture] Component input selected
@0x00087d43:[T:0x40c04490] ti.sdo.dmai - [Capture] Capture input set to Componen
t:9
@0x00087e62:[T:0x40c04490] ti.sdo.dmai - [BufTab] Allocating BufTab for 9 buffer
s
@0x00088162:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x40c05000 (0x84289000 phys)
@0x000883e9:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x40d57000 (0x84137000 phys)
@0x00088679:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x40ea9000 (0x83fe5000 phys)
@0x00088905:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x40ffb000 (0x83e93000 phys)
@0x00088bd6:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x4114d000 (0x8699d000 phys)
@0x00088e77:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x412dd000 (0x8680b000 phys)
@0x00089141:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x4146f000 (0x86679000 phys)
@0x000893be:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x41601000 (0x864e7000 phys)
@0x00089689:[T:0x40c04490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 a
t 0x41793000 (0x86355000 phys)
@0x00089975:[T:0x40c04490] ti.sdo.dmai - [Resize] Successfully set mode to conti
nuous in resizer
@0x0008b4bd:[T:0x40c04490] ti.sdo.dmai - [Resize] Resizer initialized
@0x0008b666:[T:0x40c04490] ti.sdo.dmai - [Resize] Operating mode changed success
fully to continuous in previewer@0x0008d086:[T:0x40c04490] ti.sdo.dmai - [Resize
] Previewer initialized
@0x0008f9a1:[T:0x40c04490] ti.sdo.dmai - [Capture] Component input selected
@0x00091d55:[T:0x40c04490] ti.sdo.dmai - [Capture] Capture input set to Componen
t:9
@0x00091e5a:[T:0x40c04490] ti.sdo.dmai - [Capture] Capture dimention is set to 7
20x1280
@0x0009acd0:[T:0x40c0tvp7002 1-005c: querystd, erorxxx, val = 0, val1 = 0
4490] ti.sdo.dmai - [Capture] Video input connected size 1280x720 pitch 1280
@0x0009adc5:[T:0x40c04490] ti.sdo.dmai - [Capture] Setting capture frame rate to
half.
@0x0009bd9d:[T:0x42124490] ti.sdo.dmai - [Venc1] Creating encoder h264enc for ma
x 1280x720 bitrate 0 ratectrl 4
@0x000ca80b:[T:0x40c04490] ti.sdo.dmai - [Capture] VIDIOC_QUERYSTD failed (Inval
id argument)
Error: Failed to create capture device
@0x000cf6b9:[T:0x42124490] ti.sdo.dmai - [Venc1] Setting dynParams size 1280x720
bitrate 0
@0x000cf9b6:[T:0x42124490] ti.sdo.dmai - [Venc1] Made XDM_SETPARAMS control call
encode: linux/Fifo.c:177: Fifo_put: Assertion `ptr' failed.
Aborted
root@dm365-evm:/dm365#
Pls give me some suggestion. Thanks!