<?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: zeus build under WSL</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1187048#M165332</link>
    <description>&lt;P&gt;In docker I was able to build without copying my build machine's kernel install.&amp;nbsp; I added&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'

inherit module&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to nxp-wlan-sdk_git.bb.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Nov 2020 22:22:46 GMT</pubDate>
    <dc:creator>jpkotta</dc:creator>
    <dc:date>2020-11-22T22:22:46Z</dc:date>
    <item>
      <title>zeus build under WSL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1054108#M155082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some of you building NXP yocto zuse on Windows usiing WSL you may encounter some issues.&lt;/P&gt;&lt;P&gt;For example I was using BSP 5.4.24 to build for iMX8m mini evk. I was using Ubuntu 20.04 under WSL2.&lt;/P&gt;&lt;P&gt;Bitbake progressed ok till it got to the nxp-wlan-sdk package where it barfed with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;ERROR: nxp-wlan-sdk-git-r0 do_compile: oe_runmake failed&lt;BR /&gt;ERROR: nxp-wlan-sdk-git-r0 do_compile: Execution of '/home/david/yocto/zeus/8_21/s/build-xwayland/tmp/work/aarch64-poky-linux/nxp-wlan-sdk/git-r0/temp/run.do_compile.12278' failed with exit code 1:&lt;BR /&gt;make -C /lib/modules/4.19.104-microsoft-standard/build M=/home/david/yocto/zeus/8_21/s/build-xwayland/tmp/work/aarch64-poky-linux/nxp-wlan-sdk/git-r0/git/mxm_wifiex/wlan_src modules&lt;BR /&gt;make[1]: *** /lib/modules/4.19.104-microsoft-standard/build: No such file or directory. Stop.&lt;BR /&gt;make: *** [Makefile:412: default] Error 2&lt;BR /&gt;WARNING: exit code 1 from a shell command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cause is explained in&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/536825"&gt;this thread&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to fix this I had to install and add a link as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudo apt-get install -y linux-headers-generic&lt;BR /&gt;sudo ln -s /lib/modules/5.4.0-42-generic /lib/modules/4.19.104-microsoft-standard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: your actual version numbers may be different see:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fkernel-release-notes"&gt;https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fkernel-release-notes&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2020 12:13:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1054108#M155082</guid>
      <dc:creator>davidvescovi</dc:creator>
      <dc:date>2020-08-23T12:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: zeus build under WSL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1054109#M155083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="217367" data-username="davidvescovi" href="https://community.nxp.com/people/davidvescovi"&gt;David&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested it on ubuntu 20.04 LTS, Below is steps:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. install ubuntu 20.04 on VMware Player 15.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. update and upgrade system with the commands:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--sudo apt-get update&lt;/P&gt;&lt;P&gt;--sudo apt-get upgrade&lt;/P&gt;&lt;P&gt;--Installing software packages for compiling linux 5.4.24_2.1.0 BSP&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install flex bison gperf build-essential zlib1g-dev &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install lib32ncurses5-dev x11proto-core-dev &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install libx11-dev lib32z1-dev libgl1-mesa-dev &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install uuid-dev:i386 liblzo2-dev:i386 gcc-multilib g++-multilib &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install subversion openssh-server openssh-client uuid uuid-dev zlib1g-dev &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install liblz-dev lzop liblzo2-2 liblzo2-dev git-core curl&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install python3 python3-pip python3-pexpect python3-git python3-jinja2 pylint3&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install u-boot-tools mtd-utils &lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install openjdk-8-jdk device-tree-compiler aptitude &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install libcurl4-openssl-dev nss-updatedb&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install chrpath texinfo gawk cpio diffstat&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# sudo apt-get install libncursesw5-dev libssl-dev libegl1-mesa&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;# &lt;/SPAN&gt;&lt;/EM&gt;&lt;EM&gt;sudo apt-get install net-tools python&lt;/EM&gt;&lt;EM&gt; libsdl1.2-dev xterm socat&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 9.0pt; "&gt;#&lt;/EM&gt;&lt;EM&gt; sudo apt-get install icedtea-netx-common icedtea-netx&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. download yocto source of L5.4.24_2.1.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# mkdir ~/bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# curl &lt;A href="https://storage.googleapis.com/git-repo-downloads/repo" target="test_blank"&gt;https://storage.googleapis.com/git-repo-downloads/repo&lt;/A&gt; &amp;gt; ~/bin/repo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# chmod a+x ~/bin/repo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# export PATH=~/bin:$PATH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# mkdir imx-yocto-bsp-5.4.24-2.1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# cd imx-yocto-bsp-5.4.24-2.1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;# repo init -u &lt;A href="https://source.codeaurora.org/external/imx/imx-manifest" target="test_blank"&gt;https://source.codeaurora.org/external/imx/imx-manifest&lt;/A&gt; -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110244iC1A97A20D52174FA/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# cd .repo/manifests&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# gedit imx-5.4.24-2.1.0.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modify git to https like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://git.yoctoproject.org/git" name="yocto"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://github.com/Freescale" name="community"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://github.com/openembedded" name="oe"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://github.com/OSSystems" name="OSSystems"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://github.com/meta-qt5"&amp;nbsp; name="QT5"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://github.com/TimesysGit"&amp;nbsp; name="Timesys"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://github.com/meta-rust"&amp;nbsp; name="rust"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://git.openembedded.org"&amp;nbsp; name="python2"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; &amp;lt;remote fetch="https://source.codeaurora.org/external/imx" name="CAF"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Save it and exit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# cd ~/ imx-yocto-bsp-5.4.24-2.1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# repo sync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4. compiling nxp-wlan-sdk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source imx-setup-release.sh -b build-xwayland&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# bitbake nxp-wlan-sdk -c fetch&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# bitbake nxp-wlan-sdk -c compile&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110363i26112093658A8EC0/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;done:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110381iE9B8A0795FEF8195/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then you can continue to compile imx-image-full&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# bitbake imx-image-full&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope above steps are helpful for you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have a nice day!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B.R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Weidong&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2020 05:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1054109#M155083</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-08-24T05:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: zeus build under WSL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1054110#M155084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually this is not helpful at all as you failed to read the very title of post.&lt;/P&gt;&lt;P&gt;I am building under WSL2 (Windows Subsystem for Linux) NOT a VMplayer. Now that Microsoft supports native Linux under Windows 10 there is no need for VM Player, VM workstation or Virtual Box. WSL2 replaces all these and by the way runs much faster.&lt;/P&gt;&lt;P&gt;I posted this for those building yocto on Windows machines ... and it works very well thank you.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 11:07:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1054110#M155084</guid>
      <dc:creator>davidvescovi</dc:creator>
      <dc:date>2020-08-25T11:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: zeus build under WSL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1156839#M162287</link>
      <description>&lt;P&gt;Zeus is not compatible with WSL, see &lt;A href="https://www.yoctoproject.org/docs/3.0/ref-manual/ref-manual.html#detailed-supported-distros" target="_self"&gt;the documentation:&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;The Yocto Project is not compatible with the Windows Subsystem for Linux (WSL). You cannot use a build host that is running WSL. &lt;/LI-CODE&gt;&lt;P&gt;For Dunfell, &lt;A href="https://www.yoctoproject.org/docs/3.1.2/mega-manual/mega-manual.html#detailed-supported-distros" target="_self"&gt;that particular paragraph&lt;/A&gt; changed to:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;You may use Windows Subsystem For Linux v2 to set up a build host using Windows 10, but validation is not performed against build hosts using WSLv2. &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 09:34:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1156839#M162287</guid>
      <dc:creator>konradgräfe</dc:creator>
      <dc:date>2020-09-22T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: zeus build under WSL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1187042#M165331</link>
      <description>&lt;P&gt;I'm having similar issues in docker.&amp;nbsp; nxp-wlan-sdk is using the build machine's kernel installation (under `/lib/modules/$(uname -r)`).&amp;nbsp; When I copied that into my container, it worked without issue.&amp;nbsp; But it seems wrong to depend on the build machine kernel, it should depend on another yocto package.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2020 18:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1187042#M165331</guid>
      <dc:creator>jpkotta</dc:creator>
      <dc:date>2020-11-22T18:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: zeus build under WSL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1187048#M165332</link>
      <description>&lt;P&gt;In docker I was able to build without copying my build machine's kernel install.&amp;nbsp; I added&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'

inherit module&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to nxp-wlan-sdk_git.bb.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2020 22:22:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zeus-build-under-WSL/m-p/1187048#M165332</guid>
      <dc:creator>jpkotta</dc:creator>
      <dc:date>2020-11-22T22:22:46Z</dc:date>
    </item>
  </channel>
</rss>

