Hello,
I am attempting to use an OV10633 sensor with the DM368 Leopard board. I have written a driver for the OV10633 using others as a reference and have the sensor outputting in UYVY Format. I have the the camera itself configured much like the TVP7002 since setting is_camera will cause it to assume RAW instead of YUV:
{ .module_name = "ov10633", .grp_id = VPFE_SUBDEV_OV10633, .num_inputs = ARRAY_SIZE(ov10633_inputs), .inputs = ov10633_inputs, .ccdc_if_params = { .if_type = VPFE_BT656, .hdpol = VPFE_PINPOL_POSITIVE, .vdpol = VPFE_PINPOL_POSITIVE, }, .board_info = { I2C_BOARD_INFO("ov10633", 0x37), // this is for PCLK rising edge .platform_data = (void *)1, }, },
Things seem to initialize good and when i look at VSYNC, HSYNC, PCLK, and Data lines on a scope they all look good however when i run my pipeline i get no frames, it just initializes and sits there:
/ # gst-launch -e v4l2src input-src=ov10633 always-copy=false num-buffers=100 ! 'video/x-raw-yuv,format=(fourcc)NV12, width=1280, height=720, framerate=(fraction)30/1' ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 ! dmaiperf print-arm-load=true ! flvmux ! filesink location=/root/testNew.flv & / # Setting pipeline to PAUSED ... davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124 OV10633: ov10633_get_fmt vpfe-capture vpfe-capture: IPIPE Chained vpfe-capture vpfe-capture: Resizer present OV10633: ov10633_get_fmt OV10633: ov10633_querystd OV10633 : ov10633_s_std, std=800000000000000, norm=576460752303423488 OV10633: ov10633_s_std: V4L2_STD_720P_30 OV10633 : ov10633_s_std, std=00000000, norm=0 OV10633: ov10633_s_std: NOT FOUND vpfe-capture vpfe-capture: Failed to set standard OV10633: ov10633_s_stream OV10633 : ov10633_configure OV10633 : ov10633_get_pclk OV10633: pclk=82666666, hts=1787, vts=771 OV10633: r3003=0x1F r3004=0x12 OV10633 : ov10633_software_reset Pipeline is live and does not need PREROLL ... WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to set norm for device '/dev/video0'. Additional debug info: ../../../src/sys/v4l2/v4l2_calls.c(743): gst_v4l2_set_norm (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: system error: Invalid argument WARNING: from element /GstPipeline:pipeline0/GstDmaiperf:dmaiperf0: Could not get/set settings from/on resource. Additional debug info: ../../src/src/gsttidmaiperf.c(273): gst_dmaiperf_start (): /GstPipeline:pipeline0/GstDmaiperf:dmaiperf0: Engine name not specified, not printing DSP information Setting pipeline to PLAYING ... New clock: GstSystemClock
I tried changing the polarities around, but no difference. I put prints into vpfe_isr in vpfe_capture.c and they never print out, so it would seem no buffers are being received. Any clues as to what i should looks at? I am not sure where to go from here, maybe I am missing settings somewhere? Or maybe someone has a working OV10633 setup for the leopard board?