Using MINISASTOCSI camera module with i.MX 8QuadMax MEK CPU Board (imx8qmmek)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Using MINISASTOCSI camera module with i.MX 8QuadMax MEK CPU Board (imx8qmmek)

跳至解决方案
674 次查看
amberworth
Contributor III

I'm trying to get the MINISASTOCSI camera module to work with the i.MX 8QuadMax MEK CPU board.

I've connected the SAS plug from J10 (CSI0?) to the MIPICSI camera.

I'm loading it with an imx-image-full yocto build.

After linux boot, the camera is not showing up. (no video sources show  when I run  gst-device-monitor-1.0)

Things I've tried:

  1. Making sure that the SAS connector is well seated on both sides (audible clicks)
  2. Connecting to J5 (CSI1?).  This made no difference.
  3. Stopping at uboot and trying "setenv fdt_file fsl-imx-evk-mipi-csi2.dtb". This ended up breaking the device tree. When I tried to start linux with run bootcmd, I got "WARN: Cannot load the DT" followed by an <INTERRUPT> and linux failed to load.

 

Question:

Where am I supposed to attach the camera (is CSI0 correct)?

What do I need to add to the build in order access the camera?

 

0 项奖励
1 解答
660 次查看
amberworth
Contributor III

I figured out what the problem was, I was trying to use the wrong device tree file.  I changed it to 

setenv fdt_file imx8qm-mek-ov5640.dtb

The system then was able to load the camera.

 

This can be closed.

在原帖中查看解决方案

0 项奖励
1 回复
661 次查看
amberworth
Contributor III

I figured out what the problem was, I was trying to use the wrong device tree file.  I changed it to 

setenv fdt_file imx8qm-mek-ov5640.dtb

The system then was able to load the camera.

 

This can be closed.

0 项奖励