IMX8MP use ISP with IMX219

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

IMX8MP use ISP with IMX219

4,219 次查看
Lex_tracy
Contributor II

HI, I encountered some problems while developing a MIPI camera and wanted to ask NXP for advice.

I made a DTS of the board we developed by referring to https://github.com/nxp-imx-support/meta-imx8mp-isp-imx219

The board we designed pulls the CSI2 signal to connect to IMX219 and refer to AN13713.pdf for settings.

Find and execute start_isp.sh on the host as shown in the attached picture

After start_isp.sh is completed, start the camera test
"gst-launch-1.0 -v v4l2src device=/dev/video2 ! "video/xraw,format=YUY2,width=1920,height=1080" ! queue ! waylandsink"

The host does not see that gst-launch-1.0 is opened and the screen is displayed as shown in the attached picture.

Have you ever encountered similar problems when developing or porting IMX219? Can you give me some suggestions? Thank you! 

标记 (1)
0 项奖励
回复
5 回复数

4,205 次查看
Lex_tracy
Contributor II

JOIN DEBUG IMAGE

0 项奖励
回复

4,194 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

How much RAM memory does your custom board have ? Is the reserve-memory well allocated ?

Plug the camera and try

 gst-launch-1.0 -v v4l2src device=/dev/video2 ! "video/x-raw,format=YUY2,width=1920,height=1080" ! queue ! waylandsink

Regards

0 项奖励
回复

3,918 次查看
Lex_tracy
Contributor II
Hi,
We use 8G memory
reserve-memory ? Is there any need to change here?
Plug the camera and try. You can refer to the pictures I uploaded.
NEX-002+IMX219_gst-command+debug_message.jpg
0 项奖励
回复

3,912 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

CMA (physically-continuous memory) can be used to make sure that buffers can be used plain with DMA or some other device.
You can specify "CMA=" option among of kernel parameters in u-boot to set any CMA size you wish.

 

Regards

0 项奖励
回复

3,867 次查看
Lex_tracy
Contributor II
HI,
Our hardware is 8G but the IMX8 firmware default is 6G
I would like to ask how to adjust the CMA settings correctly. Is there any document I can refer to?
0 项奖励
回复