Using IGEP CAM Bird first steps

From IGEP Community Wiki

Jump to: navigation, search

Overview

This article contains information about HOWTO create a SD-Card to boot the demo camera software for IGEP processor boards. To see the camera output is recommended use an IGEPv2, IGEP BERLIN or IGEP PARIS connected to the DVI port.

IMPORTANT NOTE: This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This software is provided entirely and is not licensed for any use other than evaluation purposes of the IGEP technology based devices.

Please see the corresponding sections above for details.

Pre-built for impatients

First, download the pre-built demo camera rootfs (beta version)

$ wget http://downloads.isee.biz/pub/releases/demos/demo-image-camera-igep00x0-20140206.tar.gz

This tarball contains a bootable image, which can be used to directly boot on a SD-card.

$ tar xzf demo-image-camera-igep00x0-20140206.tar.gz
$ cd demo-image-camera-igep00x0-20140206

Under Linux, insert a SD-card media and use igep-media-create script to copy the image to SD-card media.

$ ./igep-media-create --mmc <mmc> --image demo-image-camera-igep00x0-20140206.tar.bz2 \
                   --machine <machine> --buddy camr00x0

where,

   <mmc> - is the SD-Card device of your computer.
   <machine> - is the IGEP processor board. Options are:
         igep0020 - For IGEPv2
         igep0030 - For IGEP COM MODULE
             

This should give you a bootable SD-card.

Now that you have the SD-card created you should configure the system for your sensor. To do that, just mount the boot partition of the SD-card and edit the igep.ini file, after the buddy=camr00x0 line, add the sensor type appending :

camr00x0.sensor=mt9v034

or

camr00x0.sensor=mt9p031

Finally, umount and eject the SD-card safely.

Insert the SD-card media into the micro-SD card socket of IGEP processor board and power on it. This should result in a running system with a serial login link.

Prompt into the login using the root account.

Run the live example (http://git.ideasonboard.org/omap3-isp-live.git) typing:

# modprobe omap_vout
# live

You should see the captured image in your DVI monitor.

Driver development

See: Aptina mt9v034 sensor V4L2 based linux driver