I have been trying to get the OS08A10 8MP HDR Camera to work under Ubuntu for some time now, but I seem to be unable.
My install method is to use an SD card with Krescue.
I have verified that the camera works under android by installing the VIM3.Android.Pie_V200319.emmc.kresc and find the camera under images.
I have been trying the various Ubuntu installations without much luck. When installing all ubuntu versions available in the krescue list, there is no /dev/video0 device available.
Can someone point me in a direction o how to proceed?
Which ubuntu version, i believe it only compatible with 4.9 kernel version, are you using the latest firmware ?
Have you made the proper connections, not flipped the camera cable etc. ?
looks like this kernel not configured for this camera
ask @terry about which kernel modules used for this camera (in android ) after we can improve current kernel config
@terry do you know what driver is used for “OS08A10 8MP HDR Camera”.
And if possible can you point me to the kernel source that VIM3/Ubuntu use. I cant seem to follow a generic ubuntu guide as the sources does not come in the version my board use. 2.9.206.
I also had a bad time accessing the MIPI camera through python, opencv, gstream, etc. But at last guvcview worked.
You can find guvcview in aplications in Ubuntu kernel 4.9. Just open it use the camera “Juno R2” and image format as RGB3 - 888 to improve image quality. To improve the FPS use resolution 1920x1080.
Hi @Taxfromdk, I don’t think there is a difference between emmc and sd images but then too can you tell which emmc version you were using earlier?aybe @Frank could help you with those. I used linux kernel 4.9 SD version for running guvcview and for the greenish image use RGB24 format in guccview.
Im pretty sure the image with same data tag loaded via the Krescue installer soes not contain the driver. In that image the /dev/video0 device is not available.
Did you have any success running the camera at 4K resolution and decent fps?
I am currently exactly at the point of your last message.
My camera runs at 4k on guvcview but with a very low fps.
It runs at 1k on the camera demo (“v4l2_test” script) with decent fps. But setting the -R option to 0 for 4k resolution triggers a segmentation error.
I tried running it with Android and it was working fine but the settings would not let me select more than 1k resolution in camera mode
I have a VIM3 board with the same OS08A10 8MP HDR Camera.
Ubuntu image: VIM3_Ubuntu-xfce-bionic_Linux-4.9_arm64_EMMC_V20191231.img.
I read on this thread Khadas Camera Low framerate on Ubuntu that it was the guvcview playback slowing things down. If guvcview can’t make it work smoothly I am fine with using the camera demo script.
Is there some hardware limitation that would explain why running the demo at 4k triggers this segmentation error or am I doing something wrong?