Driver for AR0521 mipi csi camera

We purchased the CSI Camera Set 5MP AR0521 Color and we’re attempting to use it with our Verdin iMX8mp board.

I followed the instructions on this page below, but the camera is never registered as a video device.

In the logs, you can see it tries to register the camera but seems to fail.

[    5.623458] mx8-img-md: Registered mxc_isi.0.capture as /dev/video3
[    5.650087] unregister ISI channel: mxc_isi.0

Other info:

6.3 Multimedia Reference image
ID=tdx-xwayland
NAME="TDX Wayland with XWayland"
VERSION="6.3.0+build.7 (kirkstone)"
VERSION_ID=6.3.0-build.7
PRETTY_NAME="TDX Wayland with XWayland 6.3.0+build.7 (kirkstone)"
DISTRO_CODENAME="kirkstone"
Linux verdin-imx8mp-15007248 5.15.77-6.3.0+git.ddc6ca4d76ea 1 SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Question
Where can I find a driver for this MIPI CSI camera?

@david.bouthillier,

From your “other info” logs, it shows you are using BSP 6. While the documents you link are from BSP 5, There is different ways of including this camera based on this. There is a number in upper right of webpage you can change. I assume you will want the BSP 6 information. (link below)

Would you mind trying this with the correct documents?

Thanks

-Eric

My bad… the instructions for BSP 6 were correct and the camera is up and running. Thanks!

1 Like

@david.bouthillier,

Perfect! Glad it worked.