imx8mp evk - " no remote pad found " issue

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

imx8mp evk - " no remote pad found " issue

134 次查看
devds
Contributor II

Hello NXP community,

I'm using imx8mp evk and OS:Yocto with LF6.6.3_1.0.0 bsp version.

I added a new layer and recipe for simple basic python application for reading camera(ov5640 connected via mipi csi) output and display it. Following is the python code

import gi

gi.require_version('Gst', '1.0')
from gi.repository import Gst

def play_video():
 
Gst.init(None)
source = Gst.ElementFactory.make("v4l2src", "source")
convert = Gst.ElementFactory.make("videoconvert", "convert")
sink = Gst.ElementFactory.make("autovideosink", "sink")
source.set_property("device", "/dev/video3")
pipeline = Gst.Pipeline.new("video-pipeline")
pipeline.add(source)
pipeline.add(convert)
pipeline.add(sink)

if not source.link(convert):
print("Source and convert could not be linked.")
return
 
if not convert.link(sink):
print("Convert and sink could not be linked.")
return

pipeline.set_state(Gst.State.PLAYING)
bus = pipeline.get_bus()
pipeline.set_state(Gst.State.NULL)
play_video()
 
got the following on console:
 
root@imx8mp-lpddr4-evk:/usr/bin# python3 ov5640_pythonapp.py
[   39.653787] mxc-mipi-csi2.0: mipi_csis_imx8mp_phy_reset, No remote pad found!
[   40.340239] mxc-mipi-csi2.0: mipi_csis_imx8mp_phy_reset, No remote pad found!
 
 
Could anyone please let me know what's issue or what i'm missing here,
My target is to read camera feed each image read time and also display the feed.
 
Thanks in advance,
 
Regards,
Deevia
0 项奖励
4 回复数

100 次查看
joanxie
NXP TechSupport
NXP TechSupport

could you open ov5640 by gstreamera successfully with current bsp? did you change any kernel source code?

95 次查看
devds
Contributor II

Hello @joanxie ,

Thanks for reply, Yes I could open ov5640 via gstreamer and for mipi csi 2 i changed dts configuration like power down and reset pins so that i could see feed, but now i'm trying a basic python application for reading and displaying camera feed but i'm not able to acheive. I'm also try changing my application and try to make it work.

0 项奖励

13 次查看
joanxie
NXP TechSupport
NXP TechSupport

how about now? since gstreamera can work, this issue is related your own python application, maybe you can compare with the gstreamer pipeline, I'm not familiar with python application, since this is not imx8mp driver issue

0 项奖励

11 次查看
devds
Contributor II

Hello @joanxie ,

Initially i thought my python application issue but now i'm able to get output.

But irrespective of python application if i just open camera using gstreamer or "camera using VPU" via gopoint i could see some "no remote pad found" as mentioned below

root@imx8mp-lpddr4-evk:~# [ 42.663054] mxc-mipi-csi2.1: mipi_csis_imx8mp_phy_reset, No remote pad found!
[ 42.818296] mxc-mipi-csi2.1: mipi_csis_imx8mp_phy_reset, No remote pad found!
[ 42.854433] mxc-mipi-csi2.0: unsupported csi-sam command -1068476902.
[ 42.854750] mxc-mipi-csi2.1: mipi_csis_imx8mp_phy_reset, No remote pad found!
[ 42.868589] mxc-mipi-csi2.1: mipi_csis_imx8mp_phy_reset, No remote pad found!
[ 42.875752] mxc-mipi-csi2.1: unsupported csi-sam command -1068476902.
[ 43.221729] kauditd_printk_skb: 8 callbacks suppressed
[ 43.221738] audit: type=1334 audit(1695215526.640:16): prog-id=12 op=UNLOAD
[ 43.240463] audit: type=1334 audit(1695215526.640:17): prog-id=11 op=UNLOAD
[ 49.462997] mxc-mipi-csi2.1: mipi_csis_imx8mp_phy_reset, No remote pad found!
[ 50.231761] bypass csc
[ 50.234145] input fmt YUV4
[ 50.236853] output fmt YUYV

so i'm thinking that one camera connected to one mipi csi but other is empty so this "remote pad not found" is shown

Thanks.

 

0 项奖励