This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sensor on socket 2 in Ducati

Hi all,

i try to connect OV5640 sensor to socket 2 on OMAP4 Blaze tablet2 platform, but fails!

[Problems]

1. In Android part, OMX fails in switching to loaded state(OMX_StateLoaded), error: -110

2. Android hangs forever and keep in waiting for audio_policy service...(i think OMX_FreeHandle function blocks loading audio_policy service )

ps:

         - Platform: OMAP4460 blaze tablet

         - BSP: 4AI.1.2

         - Camera sensor: OV5640 on CSI2

         - Chip ID can be read out correctly for now.

so how to solve this issue??

thanks a lot.

Eason

  • Please give some more information:

    1. Have you made any changes to Ducati SW? In official release, OV5650 is expected on secondary port. OV5640 can be supported but will need some code changes.

    2. When you say "Chip ID can be read out" - do you say that chip ID read matches with the expected chip ID

    3. Can  you please share complete Ducati log

  • Hi Mayank

    thanks for your reply first.

    some information are given as below:

    1. Have you made any changes to Ducati SW? In official release, OV5650 is expected on secondary port. OV5640 can be supported but will need some code changes.

    Ans: Yes, Add "OmniVision_OV5640_2" camera nodules on socket 2 in new_camera.c, and modify some control settings(I2C bus/reference clock/...) about socket 2 in  

             camera_descriptor.c. Maybe i miss some modifications about socket2 ??

    2.  do you say that chip ID read matches with the expected chip ID?

    Ans:  Yes, matched. Sen Read ID: 22080, expected ID:22080.

    3.  Can  you please share complete Ducati log

    Ans: Yes as below.

    5078.Ducati_log_1.txt


  • The log says:

    [      2.617] !!! Startting preview!

    Can you please confirm that you did not start preview and Android boot got stuck before showing home screen?