Dear users,

I'm trying to get the LI-5M03CS (Aptina MT9P031) on BB-xM Rev C
configuration running with Debian.

First I tried some newer kernels but the FDT based boot isn't fully
supported yet (or at least this is what I think after some reading)

Then I cloned the git://github.com/RobertCNelson/stable-kernel.git
build scripts, v3.9.x branch, selected MT9P031 in menuconfig and build
the kernel. Then I cherry-picked some patches from Laurent:

git remote add pinchartl git://linuxtv.org/pinchartl/media.git
git fetch pinchartl
git cherry-pick b54ece2d97c244416e3239f0a0d2a665fe1c152a
git cherry-pick bca60770d38a41bab4b69c93cbbe3d79c1443f80
git cherry-pick 58ee8629ebc528b629dac36e5e5c67dffeecd2fa

Then recompiled and installed the kernel on a SD Card which was
previously installed with RCNs debian netinstall.

After cloning, compiling and installing media-ctl and yavta im able to
get images with

sudo media-ctl -r -l '"mt9p031 2-0048":0->"OMAP3 ISP CCDC":0[1],
"OMAP3 ISP CCDC":2->"OMAP3 ISP preview":0[1], "OMAP3 ISP
preview":1->"OMAP3 ISP resizer":0[1], "OMAP3 ISP resizer":1->"OMAP3
ISP resizer output":0[1]'
sudo media-ctl -V '"mt9p031 2-0048":0 [SGRBG10 1280x1024], "OMAP3 ISP
CCDC":2 [SGRBG10 1280x1024], "OMAP3 ISP preview":1 [UYVY 1280x1024],
"OMAP3 ISP resizer":1 [UYVY 1024x768]'

/usr/sbin/yavta -f UYVY -s 1024x768 --capture=3
--file="$(pwd)/img#.uyvy" /dev/video6
gm mogrify -size 1024x768 -format jpg *.uyvy

but the first image is a "magnified" version of the following 2 images
(all 3 have 1024x768 Pixels)

After all this trial&error process I really wonder what would be the
best way to get this camera running on Debian. Is there a better
branch to clone from?

In the end I want to be able to get RAW bayer images from the sensor.

Thank in advance, Andy

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to