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: https://gitorious.org/omap4-v4l2-camera/omap4-v4l2-camera/trees/ubuntu-natty_ti-omap4-v4l2cam
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:
linux-headers-2.6.35-1209_2.6.35-1209.15_armel.deb
linux-headers-2.6.35-1209-omap4_2.6.35-1209.15_armel.deb
linux-image-2.6.35-1209-omap4_2.6.35-1209.15_armel.deb
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.

Sep04

Comments are closed.