Hi NXP
I am using custom imx8mm board with Android 11 , kernel 5.4.70 booting properly. OV5640 camera driver is intigreted and Display driver is integreted everything works fine.
Display works fine , When I open the camera app horizontal RGB lines are coming , after capturing the picture also its same .
whole picture is coming blue colour.
How to solve the RGB lines and it should auto focus?
Does anyone have any solution or any referance link, pdf that will be helpfull.
clock for the camera is 24 MHz.
Camera is MIPI-CSI2 and Display is MIPI-DSI .
I have attached the sample captured images and logcat of camera open, then captured a picture,then closed the camera application .
Thanks and Regards
Deepak Kumar Beniya
已解决! 转到解答。
The issue is solved
The problem was with camera power supply section .
It was having noise in analog and digital power section .
we have given external power supply to camera the lines were dissapeared.
The issue is solved
The problem was with camera power supply section .
It was having noise in analog and digital power section .
we have given external power supply to camera the lines were dissapeared.
https://www.nxp.com.cn/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf
There are different ov564 driver in the kernel. Please double check the driver you are using is proper or not. Please check the above manual Chapter 6.1.2. For i.MX 8M, select > OmniVision ov5640 camera support (MXC_CAMERA_OV5640_V2) and OmniVision ov5640 camera support using MIPI (MXC_CAMERA_OV5640_MIPI_V2).
You may try to run Linux to test the camera first. make sure the camera is working well on the board.