Hi all,
Currently I'm working on our TI8148 custom board with a camera module OV7740 attached to VIN[1] port A.
I had added in the driver for OV7740 based on http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Adding_External_Decoders_to_V4L2_Capture_Driver.
During ti81xxvin module probing, this device OV7740 can be accessed via I2C and programmed properly with its default values.
The OV7740 output is 640 x 480 at 30fps in YUV format.
I wanted to use saLoopBack test example to capture video from the camera and display on our LCD.
When I executed saLoopBack, I encountered the following error at startCapture:
[startCapture]
TI81XXVIN: vidioc_streamon
ti81xxvin ti81xxvin: ti81xxvin_check_format
TI81XXVIN: ti81xxvin_check_format
OV7740: ov7740_s_stream
VPSS_CAPTURE: create capture2
VPSS_SHRBUF: FOUND 0xa0215000, end 0xa0400000, map vir 0xe1015000 size 4096
VPSS_FVID2: Fvid2 handle 0x00000000 with notifyno 14 within 1 ms
VPSS_FVID2: drvid=256 instanceid=2
VPSS_FVID2: create handle is NULL
VPSS_SHRBUF: free mem paddr 0xa0215000 vaddr 0xe1015000 size 4096
ti81xxvin ti81xxvin: ti81xxvin_vps_create failed
ti81xxvin ti81xxvin: Vps create failed
I had set CAPTURE_DEVICE as /dev/video5.
Please help to advise what could be causing the problem or which configuration I might have set wrongly.
As this is the last milestone for this project, this issue is highly urgent!
Thank you.
Regards
May

