[PATCH 00/13] Samsung camera driver for 3D7K

Werner Almesberger werner at openmoko.org
Wed Mar 4 16:13:43 CET 2009


Andy Green wrote:
> What's the overall story for trying it out?

First you need the hacked "capture" from
svn.openmoko.org/developers/werner/gta03/cam/capture/

Then boot with  mem=120M  so that there is room for the driver's
buffers. (I'll have to see if we can find a more elegant solution
for this.)

Then you can take a snapshot with
capture -d /dev/video13 >out
convert them to PPM with
svn.openmoko.org/developers/werner/gta03/cam/cap2ppm.pl

or have a live image on the screen with
capture -d /dev/video13 -f `poke 0x771000A0`

When doing snapshots, only about every 10th image is good/updated.
I think we could do much better with a little change in "capture",
though.

The live image has the wrong colors and is stretched by a factor
of two. This makes for some nice "blue alien finger" effects :-)
Note sure yet why these things are happening. The live image is
also pretty slow because we go trough user space, so instead of
one copy, there are at least three.

- Werner



More information about the openmoko-kernel mailing list