I am using:
1. OMAP35x EVM rev G board.
2. PSP.02.01.03.11
3. CodeSourcery arm-2009q1 toolcchain.
I configured with TVP514x support, omap3 camera support in kernel configuration.
After EVM was booted, I checked dmesg and found the TVP514x is initialized as omap3 camera.
When I ran it, I got:
========================================================
root@omap3evm:/opt# ./saMmapLoopback -u 0
<6>tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
Capture: Opened Channel
Capture: Current Input: COMPOSITE
VIDIOC_S_INPUT: Invalid argument
Error in opening capture device for channel 0
=========================================================
If I changed to '-u 1' as usb cam, I got:
==========================================================
root@omap3evm:/opt# ./saMmapLoopback -u 1
<6>tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
Capture: Opened Channel
Capture: Current Input: COMPOSITE
Capture: Input changed to: COMPOSITE
Capture: Capable of streaming
Capture: Number of requested buffers = 3
Capture: Init done successfully
Display: Opened Channel
Display: Capable of streaming
Display: Number of requested buffers = 3
Display: Init done successfully
Display: Stream on...
Capture: Stream on...
Display: Stream off!!
Capture: Stream off!!
Loopback Successful
=========================================
It can run as 320x240 usbcam. Can anyone run saMmapLoopback
with TVP514x as NTSC mode of PAL mode?
Jie Deng