We have been working on AM571x with a OV4689 camera sensor, now we could use some help.
The camera sensor is connected to CSI2_0 port of AM571x. We use 4 data lanes and one clk lane.
We use 'TI CAL camera interface driver' inside the Processor SDK (file drivers/media/platform/ti-vpe/cal.c).
we wrote a v4l2 sub_dev driver for ov4689 and use it as a subdev of CAL. the module init :
root@am57xx-evm:~# insmod ti-cal.ko
[ 39.430343] cal 4845b000.cal: Probing cal
root@am57xx-evm:~# insmod ov4689.ko
[ 44.984856] ov4689_get_pdata invoked
[ 44.988458] ov4689_get_pdata: DT Node found
[ 44.992728] ov4689_get_pdata: endpoint found
[ 45.036566] ov4689 2-0036: Found OV4688 sensor
[ 45.041200] cal-000: Using sensor ov4689 for capture
[ 45.047579] cal-000: V4L2 device registered as video1
[ 45.056735] ov4689 2-0036: ov4689 sensor driver registered !!
then run cappture demo from v4l2:
root@am57xx-evm:~# ./capture -d /dev/video1 -m
[ 322.006821] ov4689_s_stream: on: 1
We can set sensor driver stream on and observed data out put from ov4689 with oscilloscope.
but we can get any data from CAL driver.
run capture demo with strace we can get info:
ioctl(3, VIDIOC_DQBUF, 0xbed0dac8) = -1 EAGAIN (Resource temporarily unavailable)
It seems CAL module did not receive any data. Then we check /proc/interrupts,the CAL module generate 0 interrupt.
That's the problem we met. Is there anyone have idea about this?
