imx8qm-mek MINISASTOCSI(mipi ov5640) camera doesn't work

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

imx8qm-mek MINISASTOCSI(mipi ov5640) camera doesn't work

Jump to solution
1,237 Views
yibhan
Contributor III

Hi guy,

I have searched NXP community, but I could find some of information on my issue,

As i mention on the subject, i have a problem to run MINISASTOCSI(mipi-ov5640) in imx8qm-mek.

To run mipi-ov5640, in uboot, I set up "setenv fdt_file fsl-imx8qm-mek-ov5640.dtb

below is error some of dmesg:

ov5640_mipi_v3 9-003c: 9-003c supplay DOVDD not found, using dummy regulator

ov5640_mipi_v3 9-003c: 9-003c suplpay DVDD not found, using dummy regulator

ov5640_mipi_v3 9-003c: 9-003c supplay AVDD not found, using dummy regulator

ov5640_mipi_v3 9-003c: Read reg error: reg=300a

It seems to be more setting up for running MINISASTOCSI, but i have no idea.

Could you tell me clues or link to refer?

I have one more question, there is no ov5640_mipi_v3 c file in git source. where can i find it?

 

0 Kudos
1 Solution
1,219 Views
joanxie
NXP TechSupport
NXP TechSupport

I connected J10 port, how about using the commad:

gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! waylandsink??

View solution in original post

0 Kudos
4 Replies
1,233 Views
joanxie
NXP TechSupport
NXP TechSupport

I have tested ov5640 on imx8qm successfully with 5.4.24 demo images, I used "imx8qm-mek-ov5640.dtb", when the board boot up, try to use the command like:

gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! waylandsink

I checked the log file, I don't have ov5640_mipi_v3, and for source code, only have ov5640_mipi_v2

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/mxc/capture?h=imx_5...

 

0 Kudos
1,228 Views
yibhan
Contributor III

Hi guys,

I had tested 4.14.98 image and mipi_v3 log is from 4.14.98.

and I have tested new image is 5.4.47 and below dmesg : 

NXP i.MX Release Distro 5.4-zeus imx8qmmek ttyLP0

imx8qmmek login: root
Last login: Thu Aug 20 05:03:54 UTC 2020 on tty7
root@imx8qmmek:~# demsg | grep ov5640
-sh: demsg: command not found
root@imx8qmmek:~# dmesg | grep ov5640
[ 2.896798] ov5640 5-003c: 5-003c supply DOVDD not found, using dummy regular
[ 2.904164] ov5640 5-003c: 5-003c supply AVDD not found, using dummy regulatr
[ 2.911425] ov5640 5-003c: 5-003c supply DVDD not found, using dummy regulatr
[ 2.966006] ov5640 5-003c: ov5640_read_reg: error: reg=300a
[ 2.971614] ov5640 5-003c: ov5640_check_chip_id: failed to read chip identifr
[ 2.979100] ov5640: probe of 5-003c failed with error -5
[ 2.990952] ov5640 6-003c: 6-003c supply DOVDD not found, using dummy regular
[ 2.998323] ov5640 6-003c: 6-003c supply AVDD not found, using dummy regulatr
[ 3.005604] ov5640 6-003c: 6-003c supply DVDD not found, using dummy regulatr
[ 3.060653] ov5640 6-003c: ov5640_read_reg: error: reg=300a
[ 3.066256] ov5640 6-003c: ov5640_check_chip_id: failed to read chip identifr
[ 3.073737] ov5640: probe of 6-003c failed with error -5

I have connected MINISASTOCSI  to MIPI CSI0 or CSI1.

 

0 Kudos
1,220 Views
joanxie
NXP TechSupport
NXP TechSupport

I connected J10 port, how about using the commad:

gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! waylandsink??

0 Kudos
1,216 Views
yibhan
Contributor III

Hi guys,

I have checked camera capture in 4.14.98-2.0.0

and gstreamer command is below: 

gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! waylandsink

I unplugged SAS cable and plug in and remove tape on camera lens, and then retried.

Thank you for your comment about gstreamer cmds.

 

0 Kudos