[Camera] RPI-CAM-MIPI can't be loaded.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[Camera] RPI-CAM-MIPI can't be loaded.

505 Views
dpcivl
Contributor III

Hi, everyone.

I'm working on a project with the iMX93 EVK board and tried testing my RPI-CAM-MIPI camera. However, I encountered the following problem:

```sh
root@imx93-11x11-lpddr4x-evk:~# dmesg | grep -E 'ap1302|mx8-img-md'
[ 0.339795] platform 4ae00000.csi: Fixed dependency cycle(s) with /soc@0/bus@42000000/i2c@42530000/ap1302_mipi@3c
[ 2.642404] ap1302_mipi 2-003c: AP1302 Chip ID is 0x265
[ 2.647704] ap1302_mipi 2-003c: Direct firmware load for imx/camera/ap1302.fw failed with error -2
[ 2.651999] ap1302_mipi 2-003c: AP1302 is found
[ 2.656681] ap1302_mipi 2-003c: Falling back to sysfs fallback for: imx/camera/ap1302.fw
root@imx93-11x11-lpddr4x-evk:~# [ 64.661849] cfg80211: failed to load regulatory.db
[ 64.661854] ap1302_mipi 2-003c: Failed to request_firmware
```

Here are the details of my workspace:

- DISTRO: poky
- Bitbake image: core-image-base

I've followed the RPI-CAM-MIPI QSG document thoroughly and ensured I did everything as instructed.

Is there any problem with my DISTRO setting or image configuration? I would appreciate any advice or suggestions.

Thank you.

0 Kudos
Reply
3 Replies

480 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

What revision is your board?

Does the issue repeat when using prebuilts from nxp.com?

NXP colleagues used the i.MX93-EVK prebuilt image downloaded from the NXP website, followed the release notes and downloaded the firmware using git clone.

This should be OK since they have successfully run this.

$ gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink

Regards

0 Kudos
Reply

469 Views
dpcivl
Contributor III
I'm trying to build my own BSP with Yocto Project. I know that you provide pre-built image and I could build it. For my learning, I just want to make layers for my project. Though I'm building 'imx-image-full' right now, I was curious about how I could use RPI-CAM-MIPI with poky distro in Yocto Project.
0 Kudos
Reply

455 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Probably it's due to the driver is not built with core image, let's see if this is reproducible on the full image.

0 Kudos
Reply