<?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>topic VPU_EncGetVersionInfo failed in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318762#M42375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a custom i.mx6Solo board and am having an issue with the vpuenc gstreamer plugin.&amp;nbsp; I'm able to otherwise use gstreamer plugins like mfw_v4lsink, tvsrc, mfw_isink etc but the vpu does not seem to be working.&amp;nbsp; When invoking vpuenc with the h.264 codec, I get the following debug error from gst-launch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;0:00:02.613795334&amp;nbsp; 1154&amp;nbsp;&amp;nbsp; 0x389920 ERROR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vpuenc vpuenc.c:441:vpuenc_core_init: func VPU_EncGetVersionInfo failed!! with ret 1&lt;/P&gt;

&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking in my dmesg, it appears that the VPU is recognized as I see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;mxc_vpu 2040000.vpu: VPU initialized&lt;/P&gt;

&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the 3.10.17ga fsl-image-test yocto image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've confirmed that this also happens with vpudec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 18:33:19 GMT</pubDate>
    <dc:creator>allanmatthew</dc:creator>
    <dc:date>2014-07-10T18:33:19Z</dc:date>
    <item>
      <title>VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318762#M42375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a custom i.mx6Solo board and am having an issue with the vpuenc gstreamer plugin.&amp;nbsp; I'm able to otherwise use gstreamer plugins like mfw_v4lsink, tvsrc, mfw_isink etc but the vpu does not seem to be working.&amp;nbsp; When invoking vpuenc with the h.264 codec, I get the following debug error from gst-launch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;0:00:02.613795334&amp;nbsp; 1154&amp;nbsp;&amp;nbsp; 0x389920 ERROR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vpuenc vpuenc.c:441:vpuenc_core_init: func VPU_EncGetVersionInfo failed!! with ret 1&lt;/P&gt;

&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking in my dmesg, it appears that the VPU is recognized as I see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;mxc_vpu 2040000.vpu: VPU initialized&lt;/P&gt;

&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the 3.10.17ga fsl-image-test yocto image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've confirmed that this also happens with vpudec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 18:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318762#M42375</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-07-10T18:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318763#M42376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first check that this particular i.mx6Solo has VPU module&lt;/P&gt;&lt;P&gt;(not all processors have it) with i.mx6Solo datasheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6S&amp;amp;nodeId=018rH3ZrDRB24A&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6S&amp;amp;nodeId=018rH3ZrDRB24A&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6S&amp;amp;nodeId=018rH3ZrDRB24A&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please check this issue with ltib&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&amp;amp;nodeId=018rH3ZrDRB24A&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;L3.0.35_4.1.0_ER_SOURCE_BSP&lt;/A&gt; &lt;IMG alt="" class="jiveImage" src="http://www.freescale.com/files/graphic/SECURITYINFOIMAGE.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to rebuld yocto (check woth documentation inside package&lt;/P&gt;&lt;P&gt;to include VPU divers).&lt;/P&gt;&lt;P&gt;If after that you think that this is specific 3.10.17 yocto problem,&lt;/P&gt;&lt;P&gt;please post issue on meta-fsl-arm mailing list, so that someone familiar with&lt;/P&gt;&lt;P&gt;similar problems could try to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://lists.yoctoproject.org/listinfo/meta-freescale"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 02:59:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318763#M42376</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-07-11T02:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318764#M42377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks chip-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using an MCIMX6S5EVM10AC which does have a VPU.&lt;/P&gt;&lt;P&gt;I've also tried re-building yocto, as well as using an imx6dlsabresd machine type.&lt;/P&gt;&lt;P&gt;My gst-inspect is as follows, indicating that indeed all of the necessary plugins are being built and installed:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;root@imx6dlsabresd:~# gst-inspect|grep imx&lt;/P&gt;
&lt;P&gt;mpeg2dec.imx:&amp;nbsp; mfw_mpeg2decoder: mpeg2 video decoder&lt;/P&gt;
&lt;P&gt;v4lsink.imx:&amp;nbsp; mfw_v4lsink: v4l2 video sink&lt;/P&gt;
&lt;P&gt;mp3enc.imx:&amp;nbsp; mfw_mp3encoder: mp3 audio encoder&lt;/P&gt;
&lt;P&gt;h264.imx:&amp;nbsp; mfw_h264decoder: h264 video decoder&lt;/P&gt;
&lt;P&gt;isink.imx:&amp;nbsp; mfw_isink: IPU-based video sink&lt;/P&gt;
&lt;P&gt;vpu.imx:&amp;nbsp; vpudec: VPU-based video decoder&lt;/P&gt;
&lt;P&gt;vpu.imx:&amp;nbsp; vpuenc: VPU-based video encoder&lt;/P&gt;
&lt;P&gt;audiopeq.imx:&amp;nbsp; mfw_audio_pp: audio post equalizer&lt;/P&gt;
&lt;P&gt;mpeg4dec.imx:&amp;nbsp; mfw_mpeg4aspdecoder: mpeg4 video decoder&lt;/P&gt;
&lt;P&gt;amrdec.imx:&amp;nbsp; mfw_amrdecoder: amr audio decoder&lt;/P&gt;
&lt;P&gt;aiur.imx: webm: webm&lt;/P&gt;
&lt;P&gt;aiur.imx:&amp;nbsp; aiurdemux: aiur universal demuxer&lt;/P&gt;
&lt;P&gt;beep.imx: ac3: ac3&lt;/P&gt;
&lt;P&gt;beep.imx: 3ca: ac3&lt;/P&gt;
&lt;P&gt;beep.imx:&amp;nbsp; beepdec: beep audio decoder&lt;/P&gt;
&lt;P&gt;beep.imx:&amp;nbsp; beepdec.vorbis: Vorbis decoder&lt;/P&gt;
&lt;P&gt;beep.imx:&amp;nbsp; beepdec.mp3: MP3 decoder&lt;/P&gt;
&lt;P&gt;beep.imx:&amp;nbsp; beepdec.aac: AAC LC decoder&lt;/P&gt;
&lt;P&gt;ipucsc.imx:&amp;nbsp; mfw_ipucsc: IPU-based video converter&lt;/P&gt;
&lt;P&gt;tvsrc.imx:&amp;nbsp; tvsrc: v4l2 based tv src&lt;/P&gt;
&lt;P&gt;v4lsrc.imx:&amp;nbsp; mfw_v4lsrc: v4l2 based camera src&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;I will also try a posting on the meta-freescale list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 15:46:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318764#M42377</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-07-11T15:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318765#M42378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A bit more information, I turned on VPU debugging in the kernel, and when I run gst-launch with vpuenc I get&amp;nbsp; the following:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;root@imx6dlsabresd:~# dmesg | grep vpu&lt;/P&gt;
&lt;P&gt;mxc_vpu 2040000.vpu: VPU initialized&lt;/P&gt;
&lt;P&gt;mxc_vpu 2040000.vpu: size=0x4000, page no.=0x2040&lt;/P&gt;
&lt;P&gt;mxc_vpu 2040000.vpu: [ALLOC] mem alloc cpu_addr = 0x8c300000&lt;/P&gt;
&lt;P&gt;mxc_vpu 2040000.vpu: start=0x766cd000, pgoff=0x1c300, size=0x7c000&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 16:42:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318765#M42378</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-07-11T16:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318766#M42379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow-up: The Yocto build for 3.0.35 seems to work just fine.&amp;nbsp; This does indeed appear to be an issue with 3.10.17.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 18:55:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318766#M42379</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-07-11T18:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318767#M42380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our 3.10.17 yocto developers are working on link below,&lt;/P&gt;&lt;P&gt;please post issue on meta-fsl-arm mailing list, so that&lt;/P&gt;&lt;P&gt;they could try to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://lists.yoctoproject.org/listinfo/meta-freescale"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 13:06:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318767#M42380</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-07-12T13:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318768#M42381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the problem.&amp;nbsp; In my device tree, I was setting the VPU power supply to pu_dummy, when it should have been set to a regulator.&amp;nbsp; Seems to have fixed the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 17:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318768#M42381</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-07-14T17:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318769#M42382</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;/P&gt;&lt;P&gt;I'm facing the same issue, but I am using a i.MX6 Dual (&lt;SPAN&gt;MCIMX6D5EYM10AD).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have pu_dummy too, and here is what I get in my dmesg:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P style="padding-left: 30px;"&gt;mxc_vpu 2040000.vpu: VPU initialized&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;vddpu: disabling&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;mxc_vpu 2040000.vpu: size=0x4000, page no.=0x2040&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;mxc_vpu 2040000.vpu: [ALLOC] mem alloc cpu_addr = 0xac080000&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;mxc_vpu 2040000.vpu: start=0x76722000, pgoff=0x3c080, size=0x7c000&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly, it seems that VPU is enabled and initialized, then disabled, and not enabled again...&lt;/P&gt;&lt;P&gt;Allan, can you share your dts part for vpu ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 12:55:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318769#M42382</guid>
      <dc:creator>jean-michelh_</dc:creator>
      <dc:date>2014-07-15T12:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318770#M42383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JM-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I saw the same issue you did, but see my .dts attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:30:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318770#M42383</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-07-15T14:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: VPU_EncGetVersionInfo failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318771#M42384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this : it works for me too !&lt;/P&gt;&lt;P&gt;I get this line :&lt;/P&gt;&lt;P&gt;0.236680] vddpu: 725 &amp;lt;--&amp;gt; 1450 mV at 1150 mV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I don't have the line vddpu: disabling anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 07:53:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-EncGetVersionInfo-failed/m-p/318771#M42384</guid>
      <dc:creator>jean-michelh_</dc:creator>
      <dc:date>2014-07-16T07:53:23Z</dc:date>
    </item>
  </channel>
</rss>

