Connect 2 C3188A modules on BeagleBoard expansion

Hello ,

I would like to connect 2 C3188A modules :
http://www.quasarelectronics.com/c3188a-digital-output-cmos-colour-camera-module-omnivision-ov7620.htm
on BeagleBoard XM expansion connector.

I need to capture at least 30 frames per second on both ov7620 chips
to make real time 3D reconstruction.
Could I do that with expansion connector or with camera connector on
beagleboard XM (using multiplexer to connect both devices at the same
time) ?

I would like to modify leopard driver
http://gitorious.org/beagleboard-validation/linux/blobs/validation-20100805/arch/arm/mach-omap2/board-omap3beagle-camera.c

using omnivision linux driver
http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/media/video/ovcamchip/

but never develop ubuntu linux driver, how could I do that ? When I
try to compile omnivision driver I have the following errors

$ make
make -C /lib/modules/2.6.35-ARCH/build M=/tmp/webcam/ov51x-jpeg-1.5.9
modules
make[1]: Entering directory `/usr/src/linux-2.6.35-ARCH'
  CC [M] /tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o
/tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:87:28: fatal error:
linux/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o] Error 1
make[1]: *** [_module_/tmp/webcam/ov51x-jpeg-1.5.9] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make: *** [all] Error 2

Could you help me ?

Thanks you,

Best regards.

Isn't this driver pretty much already in mainline?

example:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/media/video/ov7670.c;h=d4e7c11553c3b427ee12e99631f2a65a224c9bfc;hb=HEAD

Regards,

tranmishell wrote:

Hello ,

I would like to connect 2 C3188A modules :
http://www.quasarelectronics.com/c3188a-digital-output-cmos-colour-camera-module-omnivision-ov7620.htm
on BeagleBoard XM expansion connector.

  I need to capture at least 30 frames per second on both ov7620 chips
to make real time 3D reconstruction.
Could I do that with expansion connector or with camera connector on
beagleboard XM (using multiplexer to connect both devices at the same
time) ?

on the camera connector.

I would like to modify leopard driver
http://gitorious.org/beagleboard-validation/linux/blobs/validation-20100805/arch/arm/mach-omap2/board-omap3beagle-camera.c

using omnivision linux driver
http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/media/video/ovcamchip/

but never develop ubuntu linux driver, how could I do that ? When I
try to compile omnivision driver I have the following errors

ubuntu fortunately uses "normal" linux drivers :slight_smile:

$ make
make -C /lib/modules/2.6.35-ARCH/build M=/tmp/webcam/ov51x-jpeg-1.5.9
modules
make[1]: Entering directory `/usr/src/linux-2.6.35-ARCH'
   CC [M] /tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o
/tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:87:28: fatal error:
linux/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o] Error 1
make[1]: *** [_module_/tmp/webcam/ov51x-jpeg-1.5.9] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make: *** [all] Error 2

I think you need to compile against a configured kernel, what 2.6.35-ARCH is that?