How to run the OV5650 image sensor on the OMAP4/PandaBoard

We are going to show how to implement the V4L2 drivers on the PandaBoard (version A based on OMAP4430).

1) Download the project:
2) Unpack it on your board
3) Run “sudo apt-get update”
4) Go into the OMAP4-V4L2 directory and run “fakeroot debian/rules clean”
5) Run “fakeroot debian/rules editconfigs”
The resolution of the screen might be too small so you should zoom out in the Terminal window (View menu)
5) Make sure all the options are correct. In the “System type” menu, choose the right image sensor (OV5640 or OV5650). Same in the drivers > multimedia.
6) Run “export $(dpkg-architecture -aarmel)”
7) Run “do_tools=false fakeroot debian/rules binary-arch”. It tooke me 5.5 hours to run on the LeopardBoard A3 (based on OMAP4430).
8) Run the following commands in the upper directory (where those files are located). Change the numbers accordingly:
9) Run “sudo flash-kernel 2.6.35-1209-omap4″ to flash the kernel
10) Reboot

After that, the video camera device should be detected! You should see it in the dmesg log.

I used Yavta to captures some image because GStreamer did not work.

2 Responses to “How to run the OV5650 image sensor on the OMAP4/PandaBoard”

  1. Peter Gregson Says:
    September 9, 2012 at 7:42 am

    I tried to follow your instructions. The process failed, with the error message after the build saying that I had two missing modules, soc_camera and soc_mediabus.

    How do I get these modules, or alternatively, how do I work around this? I am using a Pandaboard A4 and an OV5650.

    Please e-mail me at pgregson1(at), with the subject line “OV5650 and Panda”.



    • When you run the editconfigs menu, check the Drivers > Multimedia > Video options and make sure to check the right Camera SoC module options.

Leave a Reply to Peter Gregson