<?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 Build Linux kernel manually in Yocto project for LS2080A in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463774#M596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I want to be able to build the linux kernel for my LS2080A RDB manually from within the Yocto project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following the Freescale Yocto Project Quick Start Guide, if I do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bitbake -c cleansstate virtual/kernel&lt;/P&gt;&lt;P&gt;bitbake -c compile virtual/kernel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get a directory tmp/work-shared/ls2080ardb/kernel-source which is filled with all the kernel source code, a Makefile and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the kernel-source directory, normal kernel compilation would allow something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make ARCH=arm64 CROSS-COMPILE=/path/to/cross/compiler/aarch64-fsl-linux- vmlinux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this gives errors when I run it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point to how I can build the kernel manually? Better still, how can I build the kernel completely outside the Yocto project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2016 09:42:01 GMT</pubDate>
    <dc:creator>thomasculverhou</dc:creator>
    <dc:date>2016-05-31T09:42:01Z</dc:date>
    <item>
      <title>Build Linux kernel manually in Yocto project for LS2080A</title>
      <link>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463774#M596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I want to be able to build the linux kernel for my LS2080A RDB manually from within the Yocto project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following the Freescale Yocto Project Quick Start Guide, if I do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bitbake -c cleansstate virtual/kernel&lt;/P&gt;&lt;P&gt;bitbake -c compile virtual/kernel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get a directory tmp/work-shared/ls2080ardb/kernel-source which is filled with all the kernel source code, a Makefile and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the kernel-source directory, normal kernel compilation would allow something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make ARCH=arm64 CROSS-COMPILE=/path/to/cross/compiler/aarch64-fsl-linux- vmlinux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this gives errors when I run it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point to how I can build the kernel manually? Better still, how can I build the kernel completely outside the Yocto project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 09:42:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463774#M596</guid>
      <dc:creator>thomasculverhou</dc:creator>
      <dc:date>2016-05-31T09:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Build Linux kernel manually in Yocto project for LS2080A</title>
      <link>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463775#M597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Thomas Culverhouse,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Please run the following commands to get the clean Kernel source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;$ bitbake virtual/kernel -c cleansstate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;$ bitbake &lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;virtual/kernel -c patch -f&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Get the Kernel source in build_&amp;lt;platform&amp;gt;_release/tmp/work/&amp;lt;platform&amp;gt;-fsl-linux/linux-ls2-sdk/4.1-r0/git.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Configure Kernel with menuconfig.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Go to Kernel source folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;$cp arch/arm64/configs/defconfig .config &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;$ make ARCH=arm64 menuconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Assume Toolchain is installed in /opt/fsl-networking/LS2080A-SDK/sysroots/x86_64-fsl-linux/usr/bin/aarch64-fsl-linux/.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Build Kernel image with the following commands.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;$ make ARCH=arm64 CROSS_COMPILE="/opt/fsl-networking/&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;LS2080A-SDK&lt;/SPAN&gt;/sysroots/x86_64-fsl-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-" LD=aarch64-fsl-linux-ld.bfd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yiping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 08:37:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463775#M597</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2016-06-02T08:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Build Linux kernel manually in Yocto project for LS2080A</title>
      <link>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463776#M598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please update these instructions to work with the NXP Linux SDK v2.0 released last month? These instructions are for v1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 13:13:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463776#M598</guid>
      <dc:creator>thomasculverhou</dc:creator>
      <dc:date>2016-06-08T13:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Build Linux kernel manually in Yocto project for LS2080A</title>
      <link>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463777#M599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, can you please give instructions for building u-boot from source?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 14:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Build-Linux-kernel-manually-in-Yocto-project-for-LS2080A/m-p/463777#M599</guid>
      <dc:creator>thomasculverhou</dc:creator>
      <dc:date>2016-06-08T14:08:14Z</dc:date>
    </item>
  </channel>
</rss>

