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
could you open ov5640 by gstreamera successfully with current bsp? did you change any kernel source code?
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.
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
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.