<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: ADV7180 driver for IMX6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ADV7180-driver-for-IMX6/m-p/891631#M134818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Quentin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"imxv4l2videosrc" plugin is part of gstreamer-imx plugins,&lt;/P&gt;&lt;P&gt;issue may be posted on &lt;A class="link-titled" href="https://github.com/Freescale/gstreamer-imx/issues" title="https://github.com/Freescale/gstreamer-imx/issues"&gt;Issues · Freescale/gstreamer-imx · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For&amp;nbsp;"v4l2src" one can try nxp linux from source.codeaurora.org/external/imx/linux-imx repository&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.14.78_1.0.0_ga"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and follow sect.7.3.9 Recording the TV-in source attached Linux Guide.&lt;/P&gt;&lt;P&gt;More documentation canbe found on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX Software | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2019 09:41:14 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-04-25T09:41:14Z</dc:date>
    <item>
      <title>ADV7180 driver for IMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ADV7180-driver-for-IMX6/m-p/891630#M134817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am trying to use gstreamer with hardware acceleration from IMX core with phyflex-imx6-4 and a proprietary board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The camera I use is the KPC-HD30MB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built yocto yogurt distribution with the following meta:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;meta-poky&lt;/LI&gt;&lt;LI&gt;meta-openelbedded/meta-oe&lt;/LI&gt;&lt;LI&gt;meta-openelbedded/meta-networking&lt;/LI&gt;&lt;LI&gt;meta-openelbedded/meta-multimedia&lt;/LI&gt;&lt;LI&gt;meta-gstreamer1.0&lt;/LI&gt;&lt;LI&gt;meta-freescale&lt;/LI&gt;&lt;LI&gt;meta-phytec&lt;/LI&gt;&lt;LI&gt;meta-yogurt&lt;/LI&gt;&lt;LI&gt;meta-rauc&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I used CORE_IMAGE_EXTRA_INSTALL to add some packages into the distribution:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;imx-codec&lt;/LI&gt;&lt;LI&gt;imx-vpu&lt;/LI&gt;&lt;LI&gt;imx-vpuwrap&lt;/LI&gt;&lt;LI&gt;libimxvpuapi&lt;/LI&gt;&lt;LI&gt;imx-parser&lt;/LI&gt;&lt;LI&gt;gstreamer1.0 + libav, bad, good, ugly, base, imx&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Do I need firmware-imx or imx-gst1.0-plugin (which I have not managed to install) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: square;"&gt;&lt;LI&gt;adv7180 driver is well probed and the I2C address is correctly detected.&lt;/LI&gt;&lt;LI&gt;ipu2_csi1 is used&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;There is an extract of my dts:&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; adv7180@20 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "adv,adv7180";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0x20&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-names = "default";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ipu2_2&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;clocks = &amp;lt;&amp;amp;clks IMX6QDL_CLK_CKO&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;clock-names = "csi_mclk";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;ipu_id = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;csi_id = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;mclk = &amp;lt;24000000&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;mclk_source = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;cvbs = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;BR /&gt;pinctrl_ipu2_2: ipu2grp-2 { /* IPU2_CSI1: 8-bit input */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_DA1__IPU2_CSI1_DATA08&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_DA0__IPU2_CSI1_DATA09&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_EB1__IPU2_CSI1_DATA10&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_EB0__IPU2_CSI1_DATA11&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000 &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A17__IPU2_CSI1_DATA12&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A18__IPU2_CSI1_DATA13&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A19__IPU2_CSI1_DATA14&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A20__IPU2_CSI1_DATA15&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A21__IPU2_CSI1_DATA16&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A22__IPU2_CSI1_DATA17&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A23__IPU2_CSI1_DATA18&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A24__IPU2_CSI1_DATA19&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_DA11__IPU2_CSI1_HSYNC&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_A16__IPU2_CSI1_PIXCLK&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6QDL_PAD_EIM_DA12__IPU2_CSI1_VSYNC&amp;nbsp;&amp;nbsp; &amp;nbsp;0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;The gstreamer pipeline works with a test video with the following command:&lt;/SPAN&gt;&lt;BR /&gt;&amp;gt; gst-launch-1.0 -v videotestsrc ! video/x-raw ! x264enc ! filesink location=/home/root/capture.mkv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;When using "imxv4l2videosrc" with device=/dev/video7 instead of "videotestsrc", the pipeline crashes:&lt;/SPAN&gt;&lt;BR /&gt;&amp;gt; gst-launch-1.0 -v imxv4l2videosrc device=/dev/video7 num-buffers=1 ! video/x-raw ! x264enc ! filesink location=/home/root/pal_capture.mkv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;ERROR: Pipeline doesn't want to pause.&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.&lt;BR /&gt;Additional debug info:&lt;BR /&gt;../../../../gstreamer-1.14.1/libs/gst/base/gstbasesrc.c(3452): gst_base_src_start (): /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0:&lt;BR /&gt;Failed to start&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;It also crashes with "v4l2src" source:&lt;/SPAN&gt;&lt;BR /&gt;&amp;gt; gst-launch-1.0 -v v4l2src device=/dev/video7 ! video/x-raw ! x264enc ! filesink location=/home/root/pal_capture.mkv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;Pipeline is live and does not need PREROLL ...&lt;BR /&gt;Setting pipeline to PLAYING ...&lt;BR /&gt;New clock: GstSystemClock&lt;BR /&gt;/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)30/1, format=(string)Y42B, colorimetry=(string)bt601, interlace-mode=(string)progressive&lt;BR /&gt;/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)30/1, format=(string)Y42B, colorimetry=(string)bt601, interlace-mode=(string)progressive&lt;BR /&gt;Redistribute latency...&lt;BR /&gt;/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)30/1, format=(string)Y42B, colorimetry=(string)bt601, interlace-mode=(string)progressive&lt;BR /&gt;[&amp;nbsp; 148.655166] ipu2_csi1: pipeline start failed with -32&lt;BR /&gt;/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)30/1, format=(string)Y42B, colorimetry=(string)bt601, interlace-mode=(string)progressive&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.&lt;BR /&gt;Additional debug info:&lt;BR /&gt;../../../gst-plugins-good-1.14.1/sys/v4l2/gstv4l2src.c(650): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:&lt;BR /&gt;Buffer pool activation failed&lt;BR /&gt;Execution ended after 0:00:00.098111334&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;Setting pipeline to READY ...&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know which driver I need to use besides the adv7180 driver ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know any test I can run to verify /dev/video7 is the right source (I am not sure of anything anymore) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to set the video channels ipu2_csi1_xxx easily ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 08:12:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ADV7180-driver-for-IMX6/m-p/891630#M134817</guid>
      <dc:creator>quenreyn</dc:creator>
      <dc:date>2019-04-25T08:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: ADV7180 driver for IMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ADV7180-driver-for-IMX6/m-p/891631#M134818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Quentin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"imxv4l2videosrc" plugin is part of gstreamer-imx plugins,&lt;/P&gt;&lt;P&gt;issue may be posted on &lt;A class="link-titled" href="https://github.com/Freescale/gstreamer-imx/issues" title="https://github.com/Freescale/gstreamer-imx/issues"&gt;Issues · Freescale/gstreamer-imx · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For&amp;nbsp;"v4l2src" one can try nxp linux from source.codeaurora.org/external/imx/linux-imx repository&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.14.78_1.0.0_ga"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and follow sect.7.3.9 Recording the TV-in source attached Linux Guide.&lt;/P&gt;&lt;P&gt;More documentation canbe found on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX Software | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 09:41:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ADV7180-driver-for-IMX6/m-p/891631#M134818</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-04-25T09:41:14Z</dc:date>
    </item>
  </channel>
</rss>

