imx8mp evk - " no remote pad found " issue

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

imx8mp evk - " no remote pad found " issue

101 次查看
deevia
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 项奖励
2 回复数

67 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

62 次查看
deevia
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 项奖励