<?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 Rebuild kernel and modules for i.MX8 MEK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Rebuild-kernel-and-modules-for-i-MX8-MEK/m-p/1025468#M151537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using an imx8qxpmek devkit and the&amp;nbsp;fsl-imx-xwayland distro. This is basically what I have done to build a new Yocto Warrior image:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. /opt/poky/2.7.2/environment-setup-x86_64-pokysdk-linux&lt;/P&gt;&lt;P&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-warrior -m imx-4.19.35-1.1.0.xml&lt;/P&gt;&lt;P&gt;repo sync&lt;/P&gt;&lt;P&gt;MACHINE=imx8qxpmek SDKMACHINE=x86_64 DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b build-default&lt;/P&gt;&lt;P&gt;bitbake fsl-image-qt5-validation-imx -c populate_sdk_ext&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, installing the resulting eSDK fails. I've tried several Yocto releases and encountered all sorts of errors. Usually the eSDK installation script fails with a large number of error messages along the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Task gdb-cross-aarch64.do_prepare_recipe_sysroot attempted to execute unexpectedly&lt;BR /&gt;ERROR: Task gdb-cross-aarch64.do_patch attempted to execute unexpectedly&lt;BR /&gt;ERROR: Task qemu-helper-native.do_prepare_recipe_sysroot attempted to execute unexpectedly&lt;BR /&gt;ERROR: Task qemu-helper-native.do_patch attempted to execute unexpectedly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error is not isolated to a particular package but seem to appear for most, if not all, packages during eSDK installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I'm trying to build the eSDK is that I'd like to make some minor changes to the kernel and then rebuild the kernel itself, all standard/custom modules that are part of the&amp;nbsp;fsl-image-qt5-validation-imx, as well as an external, custom kernel module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running Ubuntu 18.04 as a host system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance someone could provide working step-by-step instructions for how to modify and rebuild kernel/modules for the&amp;nbsp;fsl-image-qt5-validation-imx image running on an imx8qxpmek? I've spent a lot of time trying but everything has failed so far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2019 15:07:14 GMT</pubDate>
    <dc:creator>lars_r_andersso</dc:creator>
    <dc:date>2019-12-09T15:07:14Z</dc:date>
    <item>
      <title>Rebuild kernel and modules for i.MX8 MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Rebuild-kernel-and-modules-for-i-MX8-MEK/m-p/1025468#M151537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using an imx8qxpmek devkit and the&amp;nbsp;fsl-imx-xwayland distro. This is basically what I have done to build a new Yocto Warrior image:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. /opt/poky/2.7.2/environment-setup-x86_64-pokysdk-linux&lt;/P&gt;&lt;P&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-warrior -m imx-4.19.35-1.1.0.xml&lt;/P&gt;&lt;P&gt;repo sync&lt;/P&gt;&lt;P&gt;MACHINE=imx8qxpmek SDKMACHINE=x86_64 DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b build-default&lt;/P&gt;&lt;P&gt;bitbake fsl-image-qt5-validation-imx -c populate_sdk_ext&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, installing the resulting eSDK fails. I've tried several Yocto releases and encountered all sorts of errors. Usually the eSDK installation script fails with a large number of error messages along the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Task gdb-cross-aarch64.do_prepare_recipe_sysroot attempted to execute unexpectedly&lt;BR /&gt;ERROR: Task gdb-cross-aarch64.do_patch attempted to execute unexpectedly&lt;BR /&gt;ERROR: Task qemu-helper-native.do_prepare_recipe_sysroot attempted to execute unexpectedly&lt;BR /&gt;ERROR: Task qemu-helper-native.do_patch attempted to execute unexpectedly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error is not isolated to a particular package but seem to appear for most, if not all, packages during eSDK installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I'm trying to build the eSDK is that I'd like to make some minor changes to the kernel and then rebuild the kernel itself, all standard/custom modules that are part of the&amp;nbsp;fsl-image-qt5-validation-imx, as well as an external, custom kernel module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running Ubuntu 18.04 as a host system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance someone could provide working step-by-step instructions for how to modify and rebuild kernel/modules for the&amp;nbsp;fsl-image-qt5-validation-imx image running on an imx8qxpmek? I've spent a lot of time trying but everything has failed so far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 15:07:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Rebuild-kernel-and-modules-for-i-MX8-MEK/m-p/1025468#M151537</guid>
      <dc:creator>lars_r_andersso</dc:creator>
      <dc:date>2019-12-09T15:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild kernel and modules for i.MX8 MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Rebuild-kernel-and-modules-for-i-MX8-MEK/m-p/1025469#M151538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lars.r.andersson@swedspot.com"&gt;lars.r.andersson@swedspot.com&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For steps to build&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;You can refe&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;SPAN style="color: #333333;"&gt;r&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Linux&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;4.19.35_1.1.0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;STRONG&gt;Yocto project User's guide&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; (One can download documents from&amp;nbsp;&lt;SPAN&gt;below link&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tools:IMX-SW" title="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tools:IMX-SW"&gt;i.MX Software and Development Tools | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To build toolchain refer &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-334814"&gt;this&lt;/A&gt; link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radhika Somaiya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 13:40:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Rebuild-kernel-and-modules-for-i-MX8-MEK/m-p/1025469#M151538</guid>
      <dc:creator>radhikasomaiya</dc:creator>
      <dc:date>2019-12-10T13:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild kernel and modules for i.MX8 MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Rebuild-kernel-and-modules-for-i-MX8-MEK/m-p/1025470#M151539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &amp;nbsp;Lars Andersson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is not a step-by-step guide I can suggest. However, Yocto is designed around distribution and not development. This means that Yocto does not keep track of changed source files and that sometimes the recipe will re-fecth the original configuration, erasing your changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is suggested that you work on the changed you require by cross compiling outside of Yocto and that you incorporate the changes trough new recipes or appends to the current recipes. You can find more information on the Yocto Project documentation and there may be examples on the web on how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2019 21:40:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Rebuild-kernel-and-modules-for-i-MX8-MEK/m-p/1025470#M151539</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2019-12-20T21:40:43Z</dc:date>
    </item>
  </channel>
</rss>

