EDIT: For anyone happening upon this thread, the problem turned out to be that monochrome input was not properly recognized (the initial subject is rather vague). A fix was posted below that involved changing one of the kernel drivers (simply commenting out two things).
I recently set up a DM365 evaluation board with DVSDK 3.10, and I've been trying to get some of the demo applications working. Unfortunately, I've been running into problems with the encodedecode demo.
I run ./loadmodules.sh, then ./encodedecode (I've also tried ./loadmodules_hd.sh and had the same issue)
and the screen remains black and I get the following output:
root@dm365-evm:/opt# ./encodedecode
Encodedecode demo started.
davinci_v4l2 davinci_v4l2.1: Before finishing with S_FMT:
layer.pix_fmt.bytesperline = 736,
layer.pix_fmt.width = 720,
layer.pix_fmt.height = 480,
layer.pix_fmt.sizeimage =529920
davinci_v4l2 davinci_v4l2.1: pixfmt->width = 720,
layer->layer_info.config.line_length= 736
EVM: switch to tvp5146 SD video input
tvp514x 1-005d: tvp5146 (Version - 0x03) found at 0xba (DaVinci I2C adapter)
Error: Failed to detect video standard, video input connected?
Error: Failed to create video decoder: mpeg4dec
Yes, the video input is connected - I have a composite camera and a viewing device connected to the Composite In and Video Out connections, respectively.
I've also tried running ./interface after the loadmodules step, but all that appears to do is start execution and then hang.
Does anybody know what the issue is here?
Further information:
I'm connecting to a file system on my computer over NFS, and I'm using the Arago file system. I'm using the following bootargs:
bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.1.5 root=/dev/nfs
nfsroot=192.168.1.12:/dvsdk/filesys2,nolock mem=60M
video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K
dm365_imp.oper_mode=0 vpfe_capture.interface=0