<?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 Re: Building a Kernel driver on imx6 sabre target. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422130#M63695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created my own layer (see &lt;A href="https://community.nxp.com/message/572473"&gt;Re: Changing the Kernel configuration for i.MX6 SABRE&lt;/A&gt; ) and added the following two lines to &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;my linux-imx_3.10.53.bbappend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cat ../sources/meta-fsl-pci/recipes-kernel/linux/linux-imx_3.10.53.bbappend&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IMAGE_INSTALL_append = " kernel-devsrc"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I perform a build&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake core-image-base -f -c populate_sdk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then extract the core-image-base-imx6qsabresd.tar.bz2 file system&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sudo tar xvf ./tmp/deploy/images/imx6qsabresd/core-image-base-imx6qsabresd.tar.bz2 -C rfs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm not see any build directory under rfs/lib/modules/3.10.53-1.1.0_ga+g496fbe0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 10:57:17 GMT</pubDate>
    <dc:creator>chrishossack</dc:creator>
    <dc:date>2015-11-03T10:57:17Z</dc:date>
    <item>
      <title>Building a Kernel driver on imx6 sabre target.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422127#M63692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’m trying to build a kernel driver on my sabre platform. To do this I need the kernel headers. I’ve managed to hack together a root file system (RTF), but I’m hoping there’s an easier way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment my core_image_base is based on imx-3.14.38-6UL_ga and I’m using ubuntu-precise-12.04.3-armhf.com-20131129.tar.xz for the RTF. Here are the steps I use…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an sd card with fsl-image-base.sdcard. My sdcard is /dev/sdd&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd ~&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo dd if=&amp;lt;Yocto&amp;gt;/tmp/deploy/images/imx6qsabresd/core-image-base-imx6qsabresd.sdcard of=/dev/sdd bs=1M &amp;amp;&amp;amp; sync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this the sdcard partitions are available under /media. &lt;/P&gt;&lt;P&gt;Remove all files on the sdcard rootfs (eg sdd2) and then untar the unbuntu core, eg&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd /media/&amp;lt;sdcard-rootfs&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo rm -rf *&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo tar --numeric-owner -xf &amp;lt;downloads&amp;gt;/ubuntu-precise-12.04.3-armhf.com-20131129.tar.xz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then mount a local copy of the core_image_base RFS so we can copy the fsl-image-base lib &amp;amp; boot over the ubuntu core rootfs. &lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd ~&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ mkdir rootfs&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo mount -o loop -t ext3 =&amp;lt;Yocto&amp;gt;/tmp/deploy/images/imx6qsabresd/core-image-base-imx6qsabresd.ext3 rootfs &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo rsync -artv rootfs/lib/modules/ /media/&amp;lt;sdcard-rootfd&amp;gt;/lib/modules/&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo rsync -artv rootfs/boot/ /media/&amp;lt;sdcard-rootfd&amp;gt;/boot/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We now need to copy the kernel/build files across. We use rsync -k so all symbolic links are expanded.&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd /media/&amp;lt;sdcard-rootfd&amp;gt;/lib/modules/3.14.28-1.0.0_ga+g91cf351&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo rsync -arkt&amp;nbsp; &amp;lt;Yocto&amp;gt;/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.14.28-r0/build/ build/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: on previous Yocto branches the kernel is built within the .git directory, so you will need this command instead (untested)&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo rsync -arkt&amp;nbsp; &amp;lt;Yocto&amp;gt;/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/&amp;lt;version&amp;gt;/.git/ build/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Then change ownership to root&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd build&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo chown -R root:root *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To auto login to the root user via the serial USB lead.&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo vi /media/&amp;lt;sdcard-rootfd&amp;gt;/etc/init/ttymcx0.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And copy the following text in to it.&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;start on stopped rc RUNLEVEL=[12345]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;stop on runlevel [!12345]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;respawn&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;exec /sbin/getty -a ubuntu -L ttymxc0 115200 vt102&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can now eject the sdcard and power on the SABRE platform. We now perform all following actions on the imx6 target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before we can compile kernel driver we need to prepare the modules and install any software we need.&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo apt-get install build-essential module-assistant &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd /lib/modules/$(uname -r)/build&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ sudo make modules_prepare&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives an error since it can’t find the kernel source, eg&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;make: *** /mnt/data/imx6/fsl-release-bsp-3-14-38/build-x11/tmp/work-shared/imx6qsabresd/kernel-source: No such file or directory.&amp;nbsp; Stop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;make: *** [all] Error 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because it was built on my host PC at that location (e.g. &amp;lt;Yocto&amp;gt; = /mnt/data/imx6/fsl-release-bsp-3-14-38/build-x11) and this path is splattered all over the kernel code. So we need to add a fake directory and soft link to it, e.g.&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sudo mkdir -p /mnt/data/imx6/fsl-release-bsp-3-14-38/build-x11/tmp/work-shared/imx6qsabresd&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sudo ln -s /lib/modules/$(uname -r)/build/source /mnt/data/imx6/fsl-release-bsp-3-14-38/build-x11/tmp/work-shared/imx6qsabresd/kernel-source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we can compile our kernel modules.&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sudo make modules_prepare&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, at long last you can build your kernel driver, e.g.&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd &amp;lt;your driver source&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ make&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of this seems very complicated and I would love to find an easier way to build kernel drivers on the target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve seen this thread &lt;A href="https://communities.intel.com/message/280388"&gt;https://communities.intel.com/message/280388&lt;/A&gt; which seems to suggest that I can build .deb packages for my headers. It would be sooo much nicer if I could configure Yocto to generate a set of .deb packages that I could just install to allow kernel drivers to be compiled on the target.&lt;/P&gt;&lt;P&gt;Or some way to get all of the required kernel source files built and prepared in to the file system automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 22:17:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422127#M63692</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-09-29T22:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Kernel driver on imx6 sabre target.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422128#M63693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;You may try using the SDK, which contains set of libraries and headers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;$ bitbake core-image-minimal –c populate-sdk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-external-small" href="http://www.yoctoproject.org/bulk/devday-eu-2014/ypdd14-hudson-sdk.pdf" rel="nofollow"&gt;http://www.yoctoproject.org/bulk/devday-eu-2014/ypdd14-hudson-sdk.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-external-small" href="http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#sdk-dev-environment" rel="nofollow"&gt;http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#sdk-dev-environment&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; As for kernel headers :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-external-small" href="http://stackoverflow.com/questions/31256770/using-populate-sdk-to-include-kernel-headers" rel="nofollow"&gt;http://stackoverflow.com/questions/31256770/using-populate-sdk-to-include-kernel-headers&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&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>Fri, 02 Oct 2015 06:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422128#M63693</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-10-02T06:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Kernel driver on imx6 sabre target.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422129#M63694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;thank you, that looks very interesting. It will take me a couple of days to go through it. To help me get started I know I need to create a new branch for my work, but I'm not sure how to start. At the moment I use the following line to get the imx-3.14.38-6UL_ga code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.38-6UL_ga&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;But looking at this example (&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/servlet/JiveServlet/previewBody/95096-102-10-7847/yocto_tutorial.pdf" title="https://community.freescale.com/servlet/JiveServlet/previewBody/95096-102-10-7847/yocto_tutorial.pdf"&gt;https://community.freescale.com/servlet/JiveServlet/previewBody/95096-102-10-7847/yocto_tutorial.pdf&lt;/A&gt; ) I need to create my own branch like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b my_branch&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;How do I know what code I'm going to be working on, eg 3.14.38, or 3.10.53, etc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 08:25:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422129#M63694</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-10-02T08:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Kernel driver on imx6 sabre target.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422130#M63695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created my own layer (see &lt;A href="https://community.nxp.com/message/572473"&gt;Re: Changing the Kernel configuration for i.MX6 SABRE&lt;/A&gt; ) and added the following two lines to &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;my linux-imx_3.10.53.bbappend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cat ../sources/meta-fsl-pci/recipes-kernel/linux/linux-imx_3.10.53.bbappend&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IMAGE_INSTALL_append = " kernel-devsrc"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I perform a build&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake core-image-base -f -c populate_sdk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then extract the core-image-base-imx6qsabresd.tar.bz2 file system&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sudo tar xvf ./tmp/deploy/images/imx6qsabresd/core-image-base-imx6qsabresd.tar.bz2 -C rfs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm not see any build directory under rfs/lib/modules/3.10.53-1.1.0_ga+g496fbe0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 10:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422130#M63695</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-11-03T10:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Kernel driver on imx6 sabre target.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422131#M63696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; please use the recent Linux BSP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6-series-software-and-development-tool-resources:IMX6_SW" title="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6-series-software-and-development-tool-resources:IMX6_SW"&gt;i.MX 6 Series Software and Development Tool|NXP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 06:47:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-a-Kernel-driver-on-imx6-sabre-target/m-p/422131#M63696</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-07-26T06:47:21Z</dc:date>
    </item>
  </channel>
</rss>

