On Tue, Oct 18, 2011 at 7:31 PM, Enrico <ebutera@xxxxxxxxxxxxxxxx> wrote: > On Tue, Oct 18, 2011 at 3:33 PM, Boris Todorov > <boris.st.todorov@xxxxxxxxx> wrote: >> Hi >> >> I'm trying to run OMAP + TVP5151 in BT656 mode. >> >> I'm using omap3isp-omap3isp-yuv (git.linuxtv.org/pinchartl/media.git). >> Plus the following patches: >> >> TVP5151: >> https://github.com/ebutera/meta-igep/tree/testing-v2/recipes-kernel/linux/linux-3.0+3.1rc/tvp5150 >> >> The latest RFC patches for BT656 support: >> >> Enrico Butera (2): >> omap3isp: ispvideo: export isp_video_mbus_to_pix >> omap3isp: ispccdc: configure CCDC registers and add BT656 support >> >> Javier Martinez Canillas (1): >> omap3isp: ccdc: Add interlaced field mode to platform data >> >> >> I'm able to configure with media-ctl: >> >> media-ctl -v -r -l '"tvp5150 3-005c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 >> ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]' >> media-ctl -v --set-format '"tvp5150 3-005c":0 [UYVY2X8 720x525]' >> media-ctl -v --set-format '"OMAP3 ISP CCDC":0 [UYVY2X8 720x525]' >> media-ctl -v --set-format '"OMAP3 ISP CCDC":1 [UYVY2X8 720x525]' >> >> But >> ./yavta -f UYVY -s 720x525 -n 4 --capture=4 -F /dev/video4 >> >> sleeps after >> ... >> Buffer 1 mapped at address 0x4021d000. >> length: 756000 offset: 1515520 >> Buffer 2 mapped at address 0x402d6000. >> length: 756000 offset: 2273280 >> Buffer 3 mapped at address 0x4038f000. >> >> Anyone with the same issue??? This happens with every other v4l test app I used. >> I can see data from TVP5151 but there are no interrupts in ISP. > > You can try if this: > > http://www.spinics.net/lists/linux-media/msg37795.html > > makes it work. Tried it but it's doesn't work for me. When yavta calls VIDIOC_DQBUF I'm stuck here: omap3isp_video_queue_dqbuf() -> isp_video_buffer_wait() "Wait for a buffer to be ready" with O_NONBLOCK Btw my kernel is 2.6.35 but ISP and V4L are taken from omap3isp-omap3isp-yuv and according ISP/TVP register settings everything should be OK... > > Enrico > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html