Hello Dear TI,
I am using the mistral DM8148 EVM with LCD, the 1G version.
I managed to get things running and also upgraded to the last PSP 4.01.00.07, using the software setup as described in the wiki's:
http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Video_Capture_Driver_User_Guide
http://processors.wiki.ti.com/index.php/DM814X_AM387X_VPSS_Video_Driver_User_Guide
i.e
- TI814X PSP 04.01.00.07 release
- Syslink_02_00_04_83 release(slaveloader)
- HDVPSS 01.00.01.33 release
I am using the following bootargs:
bootargs = console=ttyO0,115200n8 rootwait rw mem=256M earlyprintk notifyk.vpssm3_sva=0xA0000000 vram=50M ti814xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.1.103:/home/amir/DM8148/SDK/targetfs ip=192.168.1.102
I also managed to run the saLoopBack example (had to do some patches for it to work mostly due to the fact that i have am evm with an LCD)
I ran the example with an 1080i@50fps input
and also managed to do some Framebuffer examples.
Please be kind and answer my following questions:
1. Tried to scale the input video but the example saLoopBackScale falis on the call to the VIDIOC_S_CROP:
capt.crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
capt.crop.c.left = 0;
capt.crop.c.top = 0;
capt.crop.c.width = capt.fmt.fmt.pix.width;
capt.crop.c.height = capt.fmt.fmt.pix.height;
ret = ioctl(capture.fd, VIDIOC_S_CROP, &capture.crop);
if (ret < 0)
{
printf("Set Format failed , Error Code %i\n",ret);
return -1;
}
The following part of code returns -1. (taken from the int setupCapture(void) function)
is there something that i am missing ??
2.
For my companies product i need 480i and 576i input support, I know that tvp7002 supports these modes and its driver also supports them (i think),
And i also checked the TMS320DM814x Technical reference manual and saw in section 11.1.3.6 (VIdeo Capture Features) that the device should have no
problem to capture 480i/576i.
But in the capture driver user guide i can only see enumeration options according to DV formats and i cannot check for v4l2_standard support since
VIDIOC_ENUMSTD ioctl is not supported.
and VIDIOC_ENUMINPUT returns that the there is no support for SD standards.
So does this mean that there is no standard PAL/NTSC support in the ti81xxvin drivers ??
Will TI add support for SD standards in the driver for this platform any time soon or ever ??
3.
I also saw in the manual (same section 11.1.3.6) that the capture port support de-multiplexing of pixel/line interleaved modes (I guess to be used with decoders like TVP5158)
Currently our product does this with a DM365 + TVP5158 combo, will it be possible to the a DM8148 + TVP5158 combo also ??
Will there be support any time soon for this feature in the ti81xxvin drivers ??
Thanks In Advance
Amir