The Allwinner A83T support dual camera 5mp/8mp how i can use it?
we have designe a camera module ,support OV5640 and OV8865. we test it now.
Where can I get one and when? We would like to test a dual camera configuration with the M3.
Any news regarding the support of the dual camera on Android ? I ordered two camera board for BPI M3, but only the OV8865 seems to be recognized on Android (and the autofocus seems a bit broken).
I need to make some tests with the OV5640.
As you can see you have limited resolutions with Android. If Android is not a requirement you can try linux with the improved OV5640 and OV8865 support and also can have HW encoding. FFMpeg with HW encoder built in here: https://github.com/avafinger/ffmpeg_cedrus264_H3_A83T
To get all available resolutions from the OV5640 you have to compile the new OV5640 driver (improved) from here: https://github.com/avafinger/ov5640 For the OV8865 i think you have to activate the focus to get the best images, you can read more here: http://forum.armbian.com/index.php/topic/2272-ov8865-first-impression/
Note that you have to increase the buffers to 8 to bypass some restrictions imposed by the BPI kernel that was supposed to fix the use of OV8865 on some applications…
Actually, the quality on the OV8865 is “okay-ish” right now, or it seems so at least (I only need the 1080p for now anyway, and it’s available). It feels like there is HW accel already on Android (most probably). Also, the focus does “work” (manually), but it’s far from perfect as it can’t focus properly on something further than a meter or so, or too close. Feels like the code handling that (contrast autofocus ?) is not working properly (or the module is defective…).
Regarding the 5640, I checked the fex file and it’s not configured as the front cam (unlike the 8865) so I’ll try to change some stuff there in the hope of making it work as it seems that a driver exists in the kernel sources ? (./drivers/media/video/sunxi-vfe/device/ov5640.c)
I’d like to make it work with Android. Omnivision and all those sensor makers should really provide some base code, or drivers for a given plateform/kernel when selling their sensors (or do they ?), it would be the most sensible thing to do to help with the adoption of their hardware :).
What do people do when companies making phones want to use a sensor from them ? Go throught the whole datasheet and reimplement everything ? I had some hopes to test an OV4685 and the nice OVM6211 someday when they’ll be easier to source as modules.
Thanks a lot for the repo and the work on those drivers, I’ll test that soon on linux if I can’t get anything running on android.
i, I am using BPI M3 with camera module https://bananapi.gitbooks.io/bpi-accessories/en/bpim3camera.html, following the instructions on https://bananapi.gitbooks.io/bpi-m3/en/bpim3csicamerainterface.html I am able to capture images from ov8865.
However, following the same instructions for OV5640, How to use OV5640 on BPI-M3: Step 1: Install git $ sudo apt-get install git Step 2: Update bpi-tools $ git clone https://github.com/BPI-SINOVOIP/bpi-tools.git5 (NOTE: git5 is incorrect, it should be git) $ cd bpi-tools
$ sudo ./bpi.tools -u -U Step 3: Use bpi-update to update kerenl $ mkdir update_file $ cd update_file $ sudo bpi-update -c bpi-m3.conf (NOTE: THERE IS NO ov5640 driver in update in bpi-tools) $ sudo reboot
The Kernel did not upgrade.
This is what I have: uname -a Linux bpi-iot-ros-ai 3.4.39-BPI-M3-Kernel #1 SMP PREEMPT Fri Nov 3 01:03:00 UTC 2017 armv7l armv7l armv7l GNU/Linux
ls update_file/ 3.4.39-BPI-M3-Kernel.tgz bpi-m3-ov8865.conf camera.tgz addons.tgz bpi-service.tgz libvdpau_sunxi.tgz BOOTLOADER-bpi-m3.tgz bpi-tools.tgz BPI-BOOT-bpi-m3-ov8865.tgz brcm.tgz ov8865-enable.tgz BPI-BOOT-bpi-m3.tgz bt.tgz ov8865.tgz bpi-m3.conf camera-apps.tgz
I am not sure if it is the driver issue or the camera (ov5640) board is incorrect. I saw in the BPI-M3 schematics CSI-PWDN-F is connected to PD15 pin of A83T, while in the A83T_TABLET_STD_V1_2 schematics CSI-PWDN-F is connected to PE19.
Tried to contact Nora.Lee but she is not helpful, although she showed the video of ov5640.
please note: now OV8865 and OV5640 , you just can choose one , They can’t coexist
Hi, I want to use ONLY ONE at a time, not together. How can I use just OV5640? Nora.Lee showed a video for OV5640, but mine is not working at all. Is that fake video? Also why the ov5640 driver is missing in update folder?