<?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: IMX6 solo VPU unit test failed</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1282891#M174586</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem related to VPU:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;open failed: No such file or directory&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[ERR] Error: Unable to open vpu shared memory file&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[ERR] IOSystemInit() failure.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;is solved by enabling in Kernel the following option:&amp;nbsp;CONFIG_TMPFS&lt;/P&gt;&lt;P&gt;I noticed in the source code of vpu_util.c, that the failure came when it tried to open the "/dev/shm/vpu" which was not in my target, then looking further I found how to generate and use the /dev/shm.&lt;/P&gt;&lt;P&gt;Now Im able to run the unit test and verify VPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Jose Sampayo&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 21:03:45 GMT</pubDate>
    <dc:creator>jlsampayo</dc:creator>
    <dc:date>2021-05-26T21:03:45Z</dc:date>
    <item>
      <title>IMX6 solo VPU unit test failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1253034#M171590</link>
      <description>&lt;P&gt;Hi all, I'm trying to perform video playback on a custom board using IMX6 Solo with Linux 4.14.98,&lt;/P&gt;&lt;P&gt;for that I build Gstreamer using the Yocto recipes:&lt;/P&gt;&lt;P&gt;DISTRO=fsl-imx-fb MACHINE=imx6solosabreauto source fsl-setup-release.sh -b mybuilddir&lt;/P&gt;&lt;P&gt;Then:&lt;/P&gt;&lt;P&gt;bitbake gstreamer1.0&lt;/P&gt;&lt;P&gt;bitbake gstreamer1.0-plugins-base&lt;/P&gt;&lt;P&gt;bitbake gstreamer1.0-plugins-good&lt;/P&gt;&lt;P&gt;bitbake gstreamer1.0-plugins-bad&lt;/P&gt;&lt;P&gt;bitbake gstreamer1.0-libav&lt;/P&gt;&lt;P&gt;bitbake imx-vpuwrap&lt;/P&gt;&lt;P&gt;bitbake imx-gst1.0-plugin&lt;/P&gt;&lt;P&gt;bitbake libimxvpuapi&lt;/P&gt;&lt;P&gt;bitbake gstreamer1.0-plugins-ugly&lt;/P&gt;&lt;P&gt;bitbake gstreamer1.0-libav&lt;/P&gt;&lt;P&gt;bitbake firmware-imx&lt;/P&gt;&lt;P&gt;Afterwards put the resulted plugins, libraries, firmware and binaries into my target.&lt;/P&gt;&lt;P&gt;But when I execute a pipeline that uses vpudec, such as:&lt;/P&gt;&lt;P&gt;# GST_DEBUG=3 ./gst-launch-1.0 filesrc location=/mnt/file.avi typefind=true ! av idemux ! vpudec ! imxv4l2sink&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;# GST_DEBUG=3 ./gst-launch-1.0 -v playbin uri=file:///mnt/temp.mp4&lt;/P&gt;&lt;P&gt;Then the following error occurs:&lt;/P&gt;&lt;P&gt;open failed: No such file or directory&lt;BR /&gt;[ERR] Error: Unable to open vpu shared memory file&lt;BR /&gt;[ERR] IOSystemInit() failure.&lt;/P&gt;&lt;P&gt;The same error occurs by executing the VPU unit test&lt;/P&gt;&lt;P&gt;# ./mxc_vpu_test.out -D "-i ./akiyo.mp4 -f 0 -t 1"&lt;/P&gt;&lt;P&gt;---- Running &amp;lt; ./mxc_vpu_test.out &amp;gt; test ----&lt;/P&gt;&lt;P&gt;[INFO] VPU test program built on Mar 14 2021 23:38:06&lt;BR /&gt;open failed: No such file or directory&lt;BR /&gt;[ERR] Error: Unable to open vpu shared memory file&lt;BR /&gt;[ERR] IOSystemInit() failure.&lt;BR /&gt;[ERR] VPU Init Failure.&lt;/P&gt;&lt;P&gt;Even though the vpu device is listed under /dev/.&lt;/P&gt;&lt;P&gt;This error is not showing when using IMXVPUDEC and a different videosink, nevertheless I'm not able to see anything on the screen (attached log).&lt;/P&gt;&lt;P&gt;&amp;nbsp;# GST_DEBUG=4 ./gst-launch-1.0 filesrc location=/mnt/temp.mp4 typefind=true ! qt demux ! queue ! imxvpudec ! imxipuvideosink&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 19:15:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1253034#M171590</guid>
      <dc:creator>jlsampayo</dc:creator>
      <dc:date>2021-03-26T19:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 solo VPU unit test failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1253097#M171597</link>
      <description>&lt;P&gt;Hi jlsampayo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try&amp;nbsp;Linux 4.14.98_2.0.0&amp;nbsp; Demo Images&lt;/P&gt;
&lt;UL style="box-sizing: border-box; margin-top: 0px; margin-bottom: 11px; padding-left: 1em; color: #20272d; font-family: Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;LI style="box-sizing: border-box; margin-bottom: 0.5em;"&gt;&lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.0.0_MX6QDLSOLOX&amp;amp;appType=license" target="_blank" rel="noopener"&gt;i.MX 6QuadPlus, i.MX 6Quad, i.MX 6DualPlus, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo, i.MX 6SoloX&lt;/A&gt;​&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;use Linux Guide vpu commands from&amp;nbsp;&amp;nbsp; &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/webapp/Download?colCode=imx-yocto-L4.14.98_2.0.0_ga" target="_blank" rel="noopener"&gt;Documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sat, 27 Mar 2021 04:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1253097#M171597</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-03-27T04:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 solo VPU unit test failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1282891#M174586</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem related to VPU:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;open failed: No such file or directory&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[ERR] Error: Unable to open vpu shared memory file&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[ERR] IOSystemInit() failure.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;is solved by enabling in Kernel the following option:&amp;nbsp;CONFIG_TMPFS&lt;/P&gt;&lt;P&gt;I noticed in the source code of vpu_util.c, that the failure came when it tried to open the "/dev/shm/vpu" which was not in my target, then looking further I found how to generate and use the /dev/shm.&lt;/P&gt;&lt;P&gt;Now Im able to run the unit test and verify VPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Jose Sampayo&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 21:03:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1282891#M174586</guid>
      <dc:creator>jlsampayo</dc:creator>
      <dc:date>2021-05-26T21:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 solo VPU unit test failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1282893#M174587</link>
      <description>&lt;P&gt;forgot to mention that in the documentation for TMPFS, said that, one must create first the subdirectory where we are going to mount the tmpfs, in this case, create the /dev/shm directory in the target before mount the tmpfs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, in the target:&lt;/P&gt;&lt;P&gt;mkdir /dev/shm&lt;/P&gt;&lt;P&gt;mount -t tmpfs tmpfs /dev/shm&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 21:06:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-solo-VPU-unit-test-failed/m-p/1282893#M174587</guid>
      <dc:creator>jlsampayo</dc:creator>
      <dc:date>2021-05-26T21:06:30Z</dc:date>
    </item>
  </channel>
</rss>

