Hello!
I work with DM368, dvsdk_4_02, linux-2.6.32, GStreamer (commit 1062 from trunk) and CMOS OmniVision OV2715.
I have small problem - on resolution 1920x1080 I can't capture video. Log from linux:
vpfe-capture vpfe-capture: vpfe_reqbufs
vpfe-capture vpfe-capture: vpfe_buffer_setup
vpfe-capture vpfe-capture: count=3, size=3110400
vbuf: reqbufs: bufs=3, size=0x2f7600 [2280 pages total]
vbuf: mmap setup: 3 buffers, 3110400 bytes each
vpfe-capture vpfe-capture: vpfe_qbuf
vbuf: qbuf: requesting next field
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vbuf: qbuf: succeded
vpfe-capture vpfe-capture: vpfe_qbuf
vbuf: qbuf: requesting next field
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vbuf: qbuf: succeded
vpfe-capture vpfe-capture: vpfe_qbuf
vbuf: qbuf: requesting next field
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vbuf: qbuf: succeded
vpfe-capture vpfe-capture: vpfe_streamon
vpfe-capture vpfe-capture: vpfe_calculate_offsets
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
ipipe_set_resizer, resizer - A enabled
rsz_set_output_address 0
vpfe-capture vpfe-capture: vpfe_start_capture
vpfe-capture vpfe-capture: vpfe_dqbuf
vbuf: dqbuf: starting, wait
vbuf: stream_next_buffer: starting
vbuf: stream_next_buffer_check_queue starting, noblock 0
vbuf: !list_empty(&q->stream)
vbuf: videobuf_waiton starting, non_blocking 0, intr 1, buffer 1920x1080
vbuf: videobuf_waiton: wait_event_interruptible, cond 0x0 (vb->state != 0x3 && vb->state != 0x2)
Log for 720p (1280x720):
.........................
vbuf: qbuf: requesting next field
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vbuf: qbuf: succeded
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
rsz_set_output_address 0
vpfe-capture vpfe-capture: vpfe_dqbuf
vbuf: dqbuf: starting, wait
vbuf: stream_next_buffer: starting
vbuf: stream_next_buffer_check_queue starting, noblock 0
vbuf: !list_empty(&q->stream)
vbuf: videobuf_waiton starting, non_blocking 0, intr 1, buffer 1280x720
vbuf: videobuf_waiton: wait_event_interruptible, cond 0x1 (vb->state != 0x3 && vb->state != 0x2)
vbuf: dqbuf: before switch
vbuf: dqbuf: state is done
vbuf: dqbuf: after switch
vpfe-capture vpfe-capture: videobuf_dqbuf 0
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
vpfe-capture vpfe-capture: vpfe_qbuf
vbuf: qbuf: requesting next field
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vbuf: qbuf: succeded
vpfe-capture vpfe-capture: vpfe_dqbuf
vbuf: dqbuf: starting, wait
vbuf: stream_next_buffer: starting
vbuf: stream_next_buffer_check_queue starting, noblock 0
vbuf: !list_empty(&q->stream)
vbuf: videobuf_waiton starting, non_blocking 0, intr 1, buffer 1280x720
vbuf: videobuf_waiton: wait_event_interruptible, cond 0x1 (vb->state != 0x3 && vb->state != 0x2)
vbuf: dqbuf: before switch
vbuf: dqbuf: state is done
vbuf: dqbuf: after switch
vpfe-capture vpfe-capture: videobuf_dqbuf 0
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
rsz_set_output_address 0
vpfe-capture vpfe-capture: vpfe_qbuf
vbuf: qbuf: requesting next field
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vbuf: qbuf: succeded
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
rsz_set_output_address 0
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
vpfe-capture vpfe-capture:
vpfe_imp_dma_isr
I connect logic analyzer to matrix and get FrameValid and LineValid signals.
Loaded modules:
dm365_ccdc 9966 0 - Live 0xbf04c000
vpfe_capture 25465 1 dm365_ccdc, Live 0xbf037000
ov2715 12702 1 - Live 0xbf02e000
videobuf_vmalloc 4838 0 - Live 0xbf027000
videobuf_dma_contig 3917 1 vpfe_capture, Live 0xbf021000
dm365mmap 1752 0 - Live 0xbf01b000
edmak 12297 0 - Live 0xbf012000
irqk 6026 0 - Live 0xbf00b000
cmemk 20334 0 - Live 0xbf000000
Why interrupt not work on 1920x1080 resolution? How can I debug and solve this?
Thank you and excuse me my bad english.