<?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 i.MX6 idiot-proof dev image for OpenCL in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-idiot-proof-dev-image-for-OpenCL/m-p/624419#M94748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get started with OpenCL on i.MX6. I've seen a number of guides for getting started with SabreSD and Linux, most of them from 2013/14. Every single time I try to go through one of them, I run into troubles. How to install the BSP, how to get images, recompile the kernel, get drivers, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like is a 2016-day step by step guide to getting a Linux OS (preferably Debian but Ubuntu is fine) with working OpenCL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what do I need, beside my SabreSD with SD-card and micro-USB serial?&lt;/P&gt;&lt;P&gt;2. is there an available image for the board, with the GPU drivers and opencl libs ready to go?&lt;/P&gt;&lt;P&gt;3. if not, what do I need to make one? Given a distribution, do I need to get the GPU drivers? Where? Is that what etnaviv is? How do I install them, do I need to rebuild the kernel? Can I start with whichever kernel version, or should I start with a specific version?&lt;/P&gt;&lt;P&gt;4. I've found this, but I don't know what to do with it: L4.1.15-1.0.0-ga_images_MX6QDLSOLO&lt;/P&gt;&lt;P&gt;5. once I have the drivers, how do I access them with opencl? There are a number of interesting packages I found: ocl_icd_opencl_dev, libclc-dev, ocl-icd-dev, mesa-opencl-icd (this one made clinfo give **some** info, but Number of devices: 0), libdrm-etnaviv0, libdrm-etnaviv1, ... I'm not sure what all of these do, and which I should choose if any of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see, I am in the dark, it feels like there are a number of tracks to follow, but they look like old tracks and every time I start following one, I get lost.&lt;/P&gt;&lt;P&gt;My wish is to find a guide that tells me where to get an image, how to modify it if necessary, to let me run clinfo and see my devices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2016 07:18:06 GMT</pubDate>
    <dc:creator>ghostwail</dc:creator>
    <dc:date>2016-10-11T07:18:06Z</dc:date>
    <item>
      <title>i.MX6 idiot-proof dev image for OpenCL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-idiot-proof-dev-image-for-OpenCL/m-p/624419#M94748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get started with OpenCL on i.MX6. I've seen a number of guides for getting started with SabreSD and Linux, most of them from 2013/14. Every single time I try to go through one of them, I run into troubles. How to install the BSP, how to get images, recompile the kernel, get drivers, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like is a 2016-day step by step guide to getting a Linux OS (preferably Debian but Ubuntu is fine) with working OpenCL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what do I need, beside my SabreSD with SD-card and micro-USB serial?&lt;/P&gt;&lt;P&gt;2. is there an available image for the board, with the GPU drivers and opencl libs ready to go?&lt;/P&gt;&lt;P&gt;3. if not, what do I need to make one? Given a distribution, do I need to get the GPU drivers? Where? Is that what etnaviv is? How do I install them, do I need to rebuild the kernel? Can I start with whichever kernel version, or should I start with a specific version?&lt;/P&gt;&lt;P&gt;4. I've found this, but I don't know what to do with it: L4.1.15-1.0.0-ga_images_MX6QDLSOLO&lt;/P&gt;&lt;P&gt;5. once I have the drivers, how do I access them with opencl? There are a number of interesting packages I found: ocl_icd_opencl_dev, libclc-dev, ocl-icd-dev, mesa-opencl-icd (this one made clinfo give **some** info, but Number of devices: 0), libdrm-etnaviv0, libdrm-etnaviv1, ... I'm not sure what all of these do, and which I should choose if any of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see, I am in the dark, it feels like there are a number of tracks to follow, but they look like old tracks and every time I start following one, I get lost.&lt;/P&gt;&lt;P&gt;My wish is to find a guide that tells me where to get an image, how to modify it if necessary, to let me run clinfo and see my devices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 07:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-idiot-proof-dev-image-for-OpenCL/m-p/624419#M94748</guid>
      <dc:creator>ghostwail</dc:creator>
      <dc:date>2016-10-11T07:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 idiot-proof dev image for OpenCL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-idiot-proof-dev-image-for-OpenCL/m-p/624420#M94749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gauthier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1. what do I need, beside my SabreSD with SD-card and micro-USB serial?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;--- Also you migth need a PC host with ubuntu 12.04 or 14.04 installed.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;2. is there an available image for the board, with the GPU drivers and opencl libs ready to go?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;--- Yes the Yocto demo images includes GPU driver and unit test sample apps for grpahics, Opencv, and opencl, you cna get it from:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L4.1.15_2.0.0_MX6QDLSOLO&amp;amp;appType=file1&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null" title="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L4.1.15_2.0.0_MX6QDLSOLO&amp;amp;appType=file1&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null"&gt;L4.1.15_2.0.0_MX6QDLSOLO&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;3. if not, what do I need to make one? Given a distribution, do I need to get the GPU drivers? Where? Is that what etnaviv is? How do I install them, do I need to rebuild the kernel? Can I start with whichever kernel version, or should I start with a specific version?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The source code is available to be downloaded from:&amp;nbsp;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/sabre-board-for-smart-devices-based-on-the-i.mx-6quad-applications-processors:RD-IMX6Q-SABRE?fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/sabre-board-for-smart-devices-based-on-the-i.mx-6quad-applications-processors:RD-IMX6Q-SABRE?fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;i.MX 6Quad SABRE Development Board|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;For debian based build instruction:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://community.nxp.com/docs/DOC-95044"&gt;Debian on the i.MX6 sabre sd platform in a few commands&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;4. I've found this, but I don't know what to do with it: L4.1.15-1.0.0-ga_images_MX6QDLSOLO&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-- Please read the Linux yocto user guide in order to burn your SD with this image and boot your target board. Download the documentation package from:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/i.mx6qp/i.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core:i.MX6Q?fpsp=1&amp;amp;tab=Documentation_Tab" title="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/i.mx6qp/i.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core:i.MX6Q?fpsp=1&amp;amp;tab=Documentation_Tab"&gt;i.MX6Q|i.MX 6Quad Processors|Quad Core|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;5. once I have the drivers, how do I access them with opencl?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;i.Mx6 &amp;nbsp;GPU driver support OpenCL 1.1, once you have installed all the Linux BSP, please check the documentation folder for the graphics user guide and follow the&amp;nbsp;steps to run opencl.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 15:58:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-idiot-proof-dev-image-for-OpenCL/m-p/624420#M94749</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2016-10-18T15:58:36Z</dc:date>
    </item>
  </channel>
</rss>

