[E3-hacking] [PATCH] Camera Driver

Piotr Michniewski pmichniewski at gmail.com
Mon Sep 18 01:30:37 BST 2006

2006/9/18, Piotr Michniewski <pmichniewski at gmail.com>:
> > Ah, the driver won't work as a module (without some other hacks).
> Oh, and I see that it requires that i2c also isn't a module. (good to
> see that the E3 actually has I2C connected to the board).

I'm so dumb... The Makefile should go like this:

obj-$(CONFIG_VIDEO_OMAP_CAMERA) += omapcamera.o
obj-$(CONFIG_VIDEO_CAMERA_SENSOR_OV9640) += sensor_ov9640.o
obj-$(CONFIG_VIDEO_CAMERA_SENSOR_OV6650) += sensor_ov6650.o

objs-y$(CONFIG_MACH_AMS_DELTA) += omap1510cam.o camera_core.o
objs-y$(CONFIG_ARCH_OMAP16XX) += omap16xxcam.o camera_core.o
objs-y$(CONFIG_MACH_OMAP_H3) += h3_sensor_power.o
objs-y$(CONFIG_MACH_OMAP_H4) += h4_sensor_power.o

omapcamera-objs := $(objs-yy)

EXTRA_CFLAGS = -I$(src)/..


I can now confirm that the driver works almost flawlessly (not
counting color problems :)

Piotr Michniewski

More information about the e3-hacking mailing list