Hi All,
I have a DM365 EVM & DVSDK 4.0.2.
I connected composite camera to the composite input & screen (monitor) to composite out connector.
In the menuconfig, I disabled the tvp7002 (I no need this). in U-boot:
setenv bootargs console=ttyS0,115200n8 rw mem=54M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=1 vpfe_capture.cont_bufsize=6291456 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC root=/dev/nfs nfsroot=172.20.160.250:/home/myUser/targetfs ip=dhcp
Now, I can to using ./encode & ./decode application.
When I enable the TI DaVinci Key Scan (in menuconfig) I can use the keypad (with evtest.c).
Unfortunately, When I enable the TI DaVinci Key Scan & tvp5146 (in menuconfig) I cann't capture video with ./encode application.
I got this:
./encode -I1 -y2 -vtest2.264
Encode demo started.
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 tvp5146 SD video input
tvp514x 1-005d: Write: retry ... 0
tvp514x 1-005d: Write: retry ... 1
tvp514x 1-005d: Write: retry ... 2
tvp514x 1-005d: Write: retry ... 3
tvp514x 1-005d: Write: retry ... 4
tvp514x 1-005d: Write: retry ... 5
tvp514x 1-005d: Write failed. Err[-121]
tvp514x 1-005d: Unable to turn on decoder
tvp514x 1-005d: Write: retry ... 0
tvp514x 1-005d: Write: retry ... 1
tvp514x 1-005d: Write: retry ... 2
tvp514x 1-005d: Write: retry ... 3
tvp514x 1-005d: Write: retry ... 4
tvp514x 1-005d: Write: retry ... 5
Error: Failed to create capture device. Is video input connected?
Somebody can help me?
Thanks!