IMX 415 interfacing issue with VIM4

Hello guys,

past 3 days I trying to interface IMX415 camera with vim4 Khadas board (Ubuntu). Here Sensor detecting fine but unable to get camera and capture the photo.
Here I am attaching the Ubuntu terminal for reference.
Please check and I hope for speed replay.
Thank you.

Hello @mallesh_sunchu

Could you tell us which image you used?

Could you also provide the cpu serial bumber to us?

cat /proc/cpu_chipid 

And please follow the this documentation to check IMX415.

Maybe you missed?

This is the detail and using owow image ubuntu 5.4

Also find below

Hello @gita.kumari

Okay, you board is New VIM4, please follow the documentation bellow to setup the camera.

https://docs.khadas.com/products/sbc/vim4/add-ons/new-vim4-mipi-camera


I followed the above-mentioned document, but I have one doubt: the IMX 415 camera’s input frequency is 24 MHz, while the Khadas I2C MCLK is producing 12 MHz. This discrepancy might affect the camera’s live feed as well as the capturing quality. Can you help me resolve this issue?

Please refer this attached to terminal image.
Thank you

I also enable the overlay but no luck, could you please suggest in overlay what we need to change or add, as i am direct using the overlay file which is mentioned in git link.

Any possibility to connect with us via teams or zoom.

Hello @gita.kumari @mallesh_sunchu

Could you tell us which image you used?

Could you check with latest image? vim4-ubuntu-22.04-gnome-linux-5.15-fenix-1.6.9-240618.img.xz

Hello @gita.kumari

It does’t matter, we checked on our side has the same log and it works.

Can you capture video with this command? Please provide the full log.

gst-launch-1.0 -e v4l2src device=/dev/media0  io-mode=mmap num-buffers=300 ! video/x-raw,format=NV21,width=1920,height=1080,framerate=30/1 ! amlvenc bitrate=8000 ! h264parse ! qtmux ! filesink location=test-h264.mp4

Sure please find the log below.

Just for cofirmation is 2-0036 is correct for imx415

Thanks for the support
Able to grab the image with some configurations changes.

Hello @gita.kumari

What you changed?

You have no permission to create file under /boot/dtb/amlogic with normal user, just change the location of gstreamer, e.g.: ~/test-h264.mp4

Just worked on overlay for imx415, followwd the docs.

1 Like

Hi
Just for information what if somebody wants to connect multi camera like imx415.
I mean can connect two 30 pins camera (as only one 30 pin interface is there)

Also suggest for the 20 pins camera (support by vim4) .

We are trying for stereo camera…