IMX8MP use ISP with IMX219

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

IMX8MP use ISP with IMX219

4,251 Views
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! 

Tags (1)
0 Kudos
Reply
5 Replies

4,237 Views
Lex_tracy
Contributor II

JOIN DEBUG IMAGE

0 Kudos
Reply

4,226 Views
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 Kudos
Reply

3,950 Views
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 Kudos
Reply

3,944 Views
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 Kudos
Reply

3,899 Views
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 Kudos
Reply