Other Parts Discussed in Thread: TVP5146M2
I'm trying to run the saMmapLoopback from the PSP 02.01.03.11's src/examples/video directory on my new TI/Mistral OMAP35x EVM.
I customized my Linux kernel to add the TVP514x driver (so that /dev/video0 exists). In this state, I got the following from saMmapLoopback:
# ./saMmapLoopback
<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: S-VIDEO
VIDIOC_S_INPUT: Invalid argument
Error in opening capture device for channel 0
#
I looked at the source code, and VIDIOC_S_INPUT seemed to be associated with USB video sources, so I added V4L_USB_DRIVERS to the kernel. I now get a new grabbed frame displayed on the LCD about every 5 seconds, and saMmapLoopback outputs:
# ./saMmapLoopback
<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: S-VIDEO
Capture: Current standard: NTSC
Capture: Capable of streaming
Capture: Number of requested buffers = 3
Capture: Init done successfully
Display: Opened Channel
Display: Capable of streaming
Display: Requesting 3 buffers
Display: Number of requested buffers = 5
<6>DMA transaction error with device 0
DMA transaction error with device 0
Display: Init done successfully
Display: Stream on...
Capture: Stream on...
<3>omap-dss DISPC error: dispc irq error status 0aa0
omap-dss DISPC error: dispc irq error status 0aa0
<3>omap-dss DISPC error: dispc irq error status 0222
omap-dss DISPC error: dispc irq error status 0222
<3>omap-dss DISPC error: dispc irq error status 0aa2
omap-dss DISPC error: dispc irq error status 0aa2
<6>DMA transaction error with device 0
DMA transaction error with device 0
<3>omap-dss DISPC error: dispc irq error status 0a80
omap-dss DISPC error: dispc irq error status 0a80
<3>omap-dss DISPC error: dispc irq error status 0222
omap-dss DISPC error: dispc irq error status 0222
<3>omap-dss DISPC error: dispc irq error status 0aa2
omap-dss DISPC error: dispc irq error status 0aa2
<1>isp_wait: wait is too much
isp_wait: wait is too much
<3>ccdc 1 won't become idle!
ccdc 1 won't become idle!
<6>DMA transaction error with device 0
DMA transaction error with device 0
...
Any suggestions as to what is wrong? Why the DMA is getting transaction errors?
Thanks,
Chris