<?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 Hello World Application for imx8m mini evk in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1284771#M174752</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I'm using an IMX8M MINI EVK i need to cross compile my helloworld application to the evk board&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 11:41:29 GMT</pubDate>
    <dc:creator>VinithNama</dc:creator>
    <dc:date>2021-05-31T11:41:29Z</dc:date>
    <item>
      <title>Hello World Application for imx8m mini evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1284771#M174752</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I'm using an IMX8M MINI EVK i need to cross compile my helloworld application to the evk board&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 11:41:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1284771#M174752</guid>
      <dc:creator>VinithNama</dc:creator>
      <dc:date>2021-05-31T11:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World Application for imx8m mini evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1284996#M174781</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Follow these steps, please!&lt;/P&gt;
&lt;P&gt;Firstly you will have to prepare cross compile toolchain.&lt;/P&gt;
&lt;P&gt;1. you can refer to&amp;nbsp;i.MX_Yocto_Project_User's_Guide and i.MX_Linux_Users_Guide.pdf to export cross compile toolchain.&lt;/P&gt;
&lt;P&gt;or. &lt;/P&gt;
&lt;P&gt;2. the following steps are what I often uses, for you reference&lt;/P&gt;
&lt;P&gt;# mkdir ~/bin (this step may not be needed if the bin folder already exists)&lt;BR /&gt;# curl &lt;A href="https://storage.googleapis.com/git-repo-downloads/repo" target="_blank"&gt;https://storage.googleapis.com/git-repo-downloads/repo&lt;/A&gt; &amp;gt; ~/bin/repo&lt;BR /&gt;# chmod a+x ~/bin/repo&lt;BR /&gt;# export PATH=~/bin:$PATH&lt;BR /&gt;# mkdir imx-yocto-bsp-l5.4.24_2.31.0&lt;BR /&gt;# cd imx-yocto-bsp-l5.4.24_2.1.0&lt;BR /&gt;# repo init -u &lt;A href="https://source.codeaurora.org/external/imx/imx-manifest" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-manifest&lt;/A&gt; -b imx-linux-zeus -&lt;BR /&gt;m imx-5.4.24-2.1.0.xml&lt;BR /&gt;# repo sync&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source imx-setup-release.sh -b build-fb&lt;BR /&gt;# cd ../&lt;BR /&gt;# DISTRO= fsl-imx-xwayland MACHINE=imx8mmevk bitbake core-image-minimal -c populate_sdk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After all tasks are done, a .sh file will be find in build_fb/tmp/deploy/sdk, it’s name is like&lt;BR /&gt;this:&lt;BR /&gt;fsl-imx-xwayland-glibc-x86_64-imx-image-full-aarch64-imx8mmevk-toolchain-5.4-zeus.sh&lt;BR /&gt;copy the file to /opt,&lt;BR /&gt;# cd build_fb/tmp/deploy/sdk&lt;BR /&gt;# sudo cp fsl-imx-xwayland-glibc-x86_64-imx-image-full-aarch64-imx8mmevk-toolchain-5.4-zeus.sh /opt&lt;BR /&gt;# cd /opt&lt;/P&gt;
&lt;P&gt;# chmod a+x fsl-imx-xwayland-glibc-x86_64-imx-image-full-aarch64-imx8mmevk-toolchain-5.4-zeus.sh&lt;BR /&gt;# sudo ./ fsl-imx-xwayland-glibc-x86_64-imx-image-full-aarch64-imx8mmevk-toolchain-5.4-zeus.sh&lt;BR /&gt;Use the default directory to install it, and the toolchain installation will be done.&lt;/P&gt;
&lt;P&gt;3. writing your hello_world.c and cross compiling it.&lt;/P&gt;
&lt;P&gt;---example code , see attachment, please!&lt;/P&gt;
&lt;P&gt;---before compiling it, run the command to configure cross compiling environment&lt;/P&gt;
&lt;P&gt;(Below is my toolchain's path)&lt;/P&gt;
&lt;P&gt;# source /opt/fsl-imx-xwayland/5.4-zeus/environment-setup-aarch64-poky-linux&lt;/P&gt;
&lt;P&gt;# make hello&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="weidong_sun_0-1622510810341.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145933i0520418F806BA91B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="weidong_sun_0-1622510810341.png" alt="weidong_sun_0-1622510810341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope above steps are helpful for you.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;B.R,&lt;/P&gt;
&lt;P&gt;weidong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 01:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1284996#M174781</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2021-06-01T01:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World Application for imx8m mini evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1285046#M174784</link>
      <description>&lt;P&gt;While Entering the make hello it showing make: ****No rule to make target 'hello'. stop.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 03:49:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1285046#M174784</guid>
      <dc:creator>VinithNama</dc:creator>
      <dc:date>2021-06-01T03:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World Application for imx8m mini evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1285069#M174788</link>
      <description>&lt;P&gt;Didn't you decompress Makefile.rar ?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 05:17:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hello-World-Application-for-imx8m-mini-evk/m-p/1285069#M174788</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2021-06-01T05:17:08Z</dc:date>
    </item>
  </channel>
</rss>

