Re: Unable to capture adv7280-m on i.MX6Q
From: Fabio Estevam <festevam@gmail.com>
Date: 2021-06-08 03:15:00
On Mon, May 17, 2021 at 8:48 PM Fabio Estevam [off-list ref] wrote:
Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock [ 11.745511] imx6-mipi-csi2: LP-11 wait timeout, likely a sensor driver bug, expect capture failures. [ 11.754956] imx6-mipi-csi2: phy_state = 0x00000200 [ 12.259957] imx6-mipi-csi2: clock lane timeout, phy_state = 0x00000200 [ 12.266630] ipu1_ic_prpvf: upstream stream on failed: -110 [ 12.274082] ipu1_ic_prpvf: pipeline start failed with -110 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. Additional debug info: ../sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Buffer pool activation failed Execution ended after 0:00:01.072478334 Setting pipeline to NULL ... Freeing pipeline ... Not sure why I am getting LP-11 and clock lane timeouts though.
I saw this post: https://ez.analog.com/linux-software-drivers/f/q-a/535279/adv7282-m-dts-how-to-connect-adv-to-ipu1_csi0 and Frieder's patch: https://git.kontron-electronics.de/linux/linux/-/commit/0d90331a44d0f718b7327a94fc72612ddcb4ac0f.patch I applied Frieder's patch, but still getting the same errors below upon launching Gstreamer.: New clock: GstSystemClock [ 11.745511] imx6-mipi-csi2: LP-11 wait timeout, likely a sensor driver bug, expect capture failures. [ 11.754956] imx6-mipi-csi2: phy_state = 0x00000200 [ 12.259957] imx6-mipi-csi2: clock lane timeout, phy_state = 0x00000200 [ 12.266630] ipu1_ic_prpvf: upstream stream on failed: -110 [ 12.274082] ipu1_ic_prpvf: pipeline start failed with -110 Does anyone know what needs to be done to avoid the LP-11 timeout error? Thanks