Can't get data from MIPI-CSI interface

Hi,

We have hooked an OV10633 camera module to a Jetson Tk1 devkit. The camera module was detected and i2c path works properly and after loading the camera host driver (tegra_camera) we had a v4l device.

The OV10633 driver only partially sets up the camera module, further settings are done via user space. So we used V4L2 API for setting up de OV10633 module through i2c. After doing so, we see communication on the MIPI bus. When we try to access the v4l device, linux crashes (see below for kernel logging).

Here is OV10633 configuration,
1.Resolution 720p
2.YUV422 format YUYV 8-bit
3.30 fps
4.4 Lanes

[ 156.563312] vi2_sw_reset
[ 156.567093] vi2_clks_init
[ 156.571049] vi2_clks_enable
[ 156.574541] vi2_capture_clean
[ 156.591514] vi2_port_is_valid
[ 156.595585] vi2_port_is_valid
[ 156.599079] vi2_port_is_valid
[ 156.602352] vi2_port_is_valid
[ 156.606289] vi2_capture_setup
[ 156.610053] vi2_capture_setup_csi_0
[ 156.614252] vi2_incr_syncpts
[ 156.618061] vi2_mipi_calibration
[ 156.622856] MIPI calibration for CSI is done
[ 156.628005] vi2_capture_start
[ 156.833031] vi vi.0: CSI_A syncpt timeout, syncpt = 6, err = -11
[ 156.851476] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 156.860592] TEGRA_CSI_CSI_CILA_STATUS 0x00000001
[ 156.865859] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 156.871368] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 156.876381] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 156.881852] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 156.887162] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[ 156.893239] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 156.898986] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[ 156.904756] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[ 156.909838] vi2_incr_syncpts
[ 156.912974] vi2_capture_start
[ 157.116328] vi vi.0: CSI_A syncpt timeout, syncpt = 7, err = -11
[ 157.131931] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 157.146169] TEGRA_CSI_CSI_CILA_STATUS 0x00000001
[ 157.151610] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 157.156871] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 157.161839] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 157.167244] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 157.172463] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[ 157.178334] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 157.184151] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[ 157.189926] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[ 157.194985] vi2_incr_syncpts
[ 157.198204] vi2_capture_start
[ 157.401658] vi vi.0: CSI_A syncpt timeout, syncpt = 8, err = -11
[ 157.418619] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 157.430928] TEGRA_CSI_CSI_CILA_STATUS 0x00000001
[ 157.436381] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 157.441942] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 157.447064] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 157.452426] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 157.457460] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[ 157.463510] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 157.469431] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[ 157.474715] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[ 157.479736] vi2_incr_syncpts
[ 157.482817] vi2_capture_start
[ 157.686672] vi vi.0: CSI_A syncpt timeout, syncpt = 9, err = -11
[ 157.702318] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 157.713386] TEGRA_CSI_CSI_CILA_STATUS 0x00000001
[ 157.722103] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 157.727599] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 157.732704] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 157.737609] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 157.743049] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[ 157.748790] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 157.755167] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[ 157.760500] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[ 157.765940] vi2_incr_syncpts
[ 157.769267] vi2_capture_start
[ 157.972295] vi vi.0: CSI_A syncpt timeout, syncpt = 10, err = -11
[ 157.988175] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 157.998347] TEGRA_CSI_CSI_CILA_STATUS 0x00000001
[ 158.006076] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 158.014506] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 158.020220] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 158.026889] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 158.033346] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[ 158.040436] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 158.047036] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[ 158.053121] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[ 158.058597] vi2_incr_syncpts
[ 158.061754] vi2_capture_start
[ 158.267039] vi vi.0: CSI_A syncpt timeout, syncpt = 11, err = -11
[ 158.282070] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 158.290795] TEGRA_CSI_CSI_CILA_STATUS 0x00000001
[ 158.295839] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 158.301206] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 158.306866] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 158.312384] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 158.317661] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[ 158.323578] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 158.329657] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[ 158.335440] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[ 158.340535] vi2_incr_syncpts
[ 158.343735] vi2_capture_start
[ 158.547361] vi vi.0: CSI_A syncpt timeout, syncpt = 12, err = -11
[ 158.557392] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 158.562719] TEGRA_CSI_CSI_CILA_STATUS 0x00000001
[ 158.567825] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 158.572792] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 158.578452] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 158.583724] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 158.588816] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[ 158.594510] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 158.600868] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[ 158.605916] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[ 158.611021] vi2_incr_syncpts
[ 158.614116] vi2_capture_start
select timeout

We’d like to know whether the ov10633 is supposed to work out of the box on the Jetson TK1 devkit.
Any help will be sincerely appreciated. Thanks.

This question would probably be better posed to e-con Systems, though they don’t seem to mention the Jetson on their product page: http://www.e-consystems.com/1MP_CustomLens_CameraModule.asp

I think they make other camera products for the Jetson, however.