Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: willfj on August 04, 2014, 04:33:58 AM

Title: A20 CSI Camera
Post by: willfj on August 04, 2014, 04:33:58 AM
This link (http://olimex.wordpress.com/2014/03/20/a20-som-2mpix-30-fps-camera-finally-works/) indicates that the Olimex team was able to get the camera on the A20-SOM to work. I've searched far and wide for the code from this example, and I can't seem to find it. Does anybody have it? It will save me from a lot of headache. Thanks!
Title: Re: A20 CSI Camera
Post by: Insomniac10102 on August 04, 2014, 10:05:44 AM
What are you trying to use it on? It's wired up to work in Android as the default camera; as far as I know, there is no code for it.
Title: Re: A20 CSI Camera
Post by: willfj on August 05, 2014, 05:38:49 PM
So I should be able to use the camera in Android without adding any drivers? I'd like to use the camera in an OCR application that runs on Android. Does every Olinuxino/SOM with a CSI interface work directly in Android once a camera is wired up to it? Or is it just the A20 SOM that works because its Android image has been configured for this? In addition, does the camera work in Debian?
Title: Re: A20 CSI Camera
Post by: Insomniac10102 on August 06, 2014, 02:17:35 AM
I'm still unsure of where/if you can find code for their camera interface at the moment, but their wiki claims this debian image: https://docs.google.com/file/d/0B-bAEPML8fwlT1FCd1RwZzMxVGs/edit (https://docs.google.com/file/d/0B-bAEPML8fwlT1FCd1RwZzMxVGs/edit) has camera support.
Title: Re: A20 CSI Camera
Post by: NK on August 27, 2014, 09:24:24 PM
Can anyone confirm if this works?
Title: Re: A20 CSI Camera
Post by: JessePinkman on August 31, 2014, 04:57:57 PM
I am currently having the same problem.. I am trying to find a way to get a CSI camera working with linux. I know that the camera shoudl work with the android images right out of the box. But linux...

Does anyone have any information on how to get a csi camera working on linux?
Title: Re: A20 CSI Camera
Post by: Freire on September 02, 2014, 04:36:53 PM
Maybe you can help:

http://www.bananapi.com/index.php/forum/camera-board
http://www.pcduino.com/capture-video-playback-pcduino3/
http://learn.linksprite.com/pcduino/linux-applications/how-to-switch-between-usb-camera-and-csi-camera-on-pcduino3/
Title: Re: A20 CSI Camera
Post by: NK on September 06, 2014, 06:20:07 AM
Check this out - this has lots of good stuff to get started
http://dl.linux-sunxi.org/A10/A10%20Camera%20Sensor%20equipment%20drive%20development%20(2012-01-30).pdf

I wish someone comes up with a cheap commercial camera module for Aptina AR0330 sensor :)
Title: Re: A20 CSI Camera
Post by: arieedzig on October 01, 2014, 06:58:27 PM
I found the way to enable the csi camera support on linux.
You only need to change one parameter in script.bin and add module parameter in /etc/modules.
Just check the detail on my blog. http://taqlim.blogspot.de/2014/10/enable-csi-camera-on-a20-som-evb.html (http://taqlim.blogspot.de/2014/10/enable-csi-camera-on-a20-som-evb.html)