<?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 Re: Multiple ipu.h in sdk in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Multiple-ipu-h-in-sdk/m-p/704987#M109513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;mismatch in .h files.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2017 07:51:47 GMT</pubDate>
    <dc:creator>christophe</dc:creator>
    <dc:date>2017-10-18T07:51:47Z</dc:date>
    <item>
      <title>Multiple ipu.h in sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Multiple-ipu-h-in-sdk/m-p/704986#M109512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;A trouble with yocto:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I use the following linux version for imx6: &lt;SPAN style="font-size: small;"&gt;&lt;A href="https://github.com/boundarydevices/linux-imx6/tree/boundary-imx_4.1.15_1.0.0_ga"&gt;https://github.com/boundarydevices/linux-imx6/tree/boundary-imx_4.1.15_1.0.0_ga&lt;/A&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 15px;"&gt;&lt;SPAN&gt;Application is compiled with sdk obtained by: &lt;EM&gt;bitbake fsl-image-multimedia.bb -c populate_sdk&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-size: small; font-family: arial,helvetica,sans-serif;"&gt;Now, regarding ipu.h file file in sdk:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman,serif;"&gt;&lt;EM style="font-family: arial,helvetica,sans-serif;"&gt;@ubuntu:~/tools/sdk/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi$ find . -name ipu.h&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-family: arial,helvetica,sans-serif;"&gt;./usr/include/ipu.h&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-family: arial,helvetica,sans-serif;"&gt;./usr/src/kernel/include/linux/ipu.h&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-family: arial,helvetica,sans-serif;"&gt;./usr/src/kernel/include/config/mx3/ipu.h&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-family: arial,helvetica,sans-serif;"&gt;./usr/src/kernel/include/config/mxc/ipu.h&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-family: arial,helvetica,sans-serif;"&gt;./usr/src/kernel/include/uapi/linux/ipu.h&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;SPAN&gt;ipu.h that is used by application compiler is found in /usr/include. It is the file for which ioctl addresses are reserved.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;SPAN&gt;But when looking at in this file, i have a 1301 lines long file. Ioctl defined in it are not those i need for the ipu control in my application (IPU_CHECK_TASK, IPU_QUEUE_TASK, IPU_ALLOC, IPU_FREE). Instead, i find 42 other IPU ioctl that seems to be useful to internal ipu package.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;SPAN&gt;Now, when locking at in &lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;SPAN&gt;/usr/src/kernel/include/uapi/linux/ipu.h, i can find a 293 lines long ipu.h file, that contains the correct headers and ioctl (IPU_CHECK_TASK, IPU_QUEUE_TASK, IPU_ALLOC, IPU_FREE).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;SPAN style="font-size: 15px; font-family: Times New Roman,serif;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;SPAN style="font-size: 15px; font-family: Times New Roman,serif;"&gt;&lt;SPAN&gt;So, i suppose there's a problem with ipu.h in the sdk. First why 2 different files with the same name could be present ? And especially, why the file that contains ioctl (IPU_CHECK_TASK, IPU_QUEUE_TASK, IPU_ALLOC, IPU_FREE) is not available in /usr/include, as it could be as header file.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Times New Roman,serif; font-size: 15px;"&gt;&lt;SPAN&gt;Christophe&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 10:35:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Multiple-ipu-h-in-sdk/m-p/704986#M109512</guid>
      <dc:creator>christophe</dc:creator>
      <dc:date>2017-10-12T10:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple ipu.h in sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Multiple-ipu-h-in-sdk/m-p/704987#M109513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;mismatch in .h files.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 07:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Multiple-ipu-h-in-sdk/m-p/704987#M109513</guid>
      <dc:creator>christophe</dc:creator>
      <dc:date>2017-10-18T07:51:47Z</dc:date>
    </item>
  </channel>
</rss>

