<?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: how to compile kernel module using yocto sdk</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333170#M179435</link>
    <description>&lt;P&gt;Hi Hyoung&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can look at below knowledge base article&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-modify-the-kernel-and-test/ta-p/1129551" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-modify-the-kernel-and-test/ta-p/1129551&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2021 10:02:45 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-09-01T10:02:45Z</dc:date>
    <item>
      <title>how to compile kernel module using yocto sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333074#M179427</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i am not good at English&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a problem with compiling&amp;nbsp; a kernel module&amp;nbsp;&lt;/P&gt;&lt;P&gt;a board is imx6sx evk and kernel is 5.10.35 , yocto is hardknott ( is right ? i installed with this command&amp;nbsp; : 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;&lt;BR /&gt;-b imx-linux-hardknott -m imx-5.10.35-2.0.0.xml )&lt;/P&gt;&lt;P&gt;i make SDK form core-image-full_cmdline image&amp;nbsp; &amp;nbsp;and installed&amp;nbsp; and&amp;nbsp; compiled kernel and modules ( in kernel directroy) ,a test program&amp;nbsp; without problems&lt;/P&gt;&lt;P&gt;but when i compile a module which is not in kernel directory&lt;/P&gt;&lt;P&gt;no module.ko file made&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the module source is fine&amp;nbsp; ( i copy a source into kernel/driver and make modules ,,it works fine)&lt;/P&gt;&lt;P&gt;and i compiled previous yocto SDK&amp;nbsp; with success&amp;nbsp;&lt;/P&gt;&lt;P&gt;any tips and ideas will be appreciated . thank in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$&lt;BR /&gt;imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$ source /opt/&lt;BR /&gt;fsl-imx-wayland/ fsl-imx-xwayland/ VBoxGuestAdditions-5.2.32/&lt;BR /&gt;imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$ source /opt/fsl-imx-&lt;BR /&gt;fsl-imx-wayland/ fsl-imx-xwayland/&lt;BR /&gt;imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$ source /opt/fsl-imx-wayland/5.10-hardknott/&lt;BR /&gt;environment-setup-cortexa7t2hf-neon-poky-linux-gnueabi sysroots/&lt;BR /&gt;site-config-cortexa7t2hf-neon-poky-linux-gnueabi version-cortexa7t2hf-neon-poky-linux-gnueabi&lt;BR /&gt;imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$ source /opt/fsl-imx-wayland/5.10-hardknott/environment-setup-cortexa7t2hf-neon-poky-linux-gnueabi&lt;BR /&gt;imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$ &lt;STRONG&gt;make&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;make -C /home/imx6ull/work/Kernel/git.5.10.35 SUBDIRS=/media/sf_shared/example/gpio-irq/dev modules&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;make[1]: Entering directory '/home/imx6ull/work/imx-yocto-bsp/imx6ull/tmp/work-shared/imx6ull14x14evk/kernel-source'&amp;nbsp; &amp;nbsp;--&amp;gt; i don't know why make goes into this directory which i made SDK&lt;/STRONG&gt;&lt;BR /&gt;CALL scripts/checksyscalls.sh&lt;BR /&gt;CALL scripts/atomic/check-atomics.sh&lt;BR /&gt;CHK include/generated/compile.h&lt;BR /&gt;make[1]: Leaving directory '/home/imx6ull/work/imx-yocto-bsp/imx6ull/tmp/work-shared/imx6ull14x14evk/kernel-source'&lt;BR /&gt;imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$ ls *.ko&lt;BR /&gt;&lt;STRONG&gt;ls: cannot access '*.ko': No such file or directory&lt;/STRONG&gt;&lt;BR /&gt;imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$&lt;/P&gt;&lt;P&gt;and my makefile&amp;nbsp;&lt;/P&gt;&lt;P&gt;obj-m := of-test.o&lt;/P&gt;&lt;P&gt;KDIR := /home/imx6ull/work/Kernel/git.5.10.35&lt;BR /&gt;PWD := $(shell pwd)&lt;BR /&gt;NFS_ROOT = /home/imx6ull/work/imx-yocto-bsp/imx6sx/nfs_full/home/root&lt;/P&gt;&lt;P&gt;default:&lt;BR /&gt;$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules&lt;BR /&gt;# cp of-test.ko $(NFS_ROOT)/&lt;BR /&gt;&lt;BR /&gt;clean:&lt;BR /&gt;rm -rf *.ko&lt;BR /&gt;rm -rf *.mod.*&lt;BR /&gt;rm -rf .*.cmd&lt;BR /&gt;m -rf *.o&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 08:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333074#M179427</guid>
      <dc:creator>hyoungkikim</dc:creator>
      <dc:date>2021-09-01T08:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to compile kernel module using yocto sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333170#M179435</link>
      <description>&lt;P&gt;Hi Hyoung&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can look at below knowledge base article&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-modify-the-kernel-and-test/ta-p/1129551" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-modify-the-kernel-and-test/ta-p/1129551&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 10:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333170#M179435</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-01T10:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to compile kernel module using yocto sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333631#M179472</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;but&amp;nbsp; that needs yocto,&amp;nbsp; if i&amp;nbsp; deploy SDK , how other people&amp;nbsp; compile a module ?&lt;/P&gt;&lt;P&gt;i doubt that&amp;nbsp; it is only my problem ,&amp;nbsp; &amp;nbsp;because&amp;nbsp; before&amp;nbsp; i&amp;nbsp; compiled kernel and modules by SDK&amp;nbsp; without&amp;nbsp; fail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 01:40:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333631#M179472</guid>
      <dc:creator>hyoungkikim</dc:creator>
      <dc:date>2021-09-02T01:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to compile kernel module using yocto sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333829#M179485</link>
      <description>&lt;P&gt;since this is general yocto question, recommended to post it on meta-fsl-arm mailing list&lt;/P&gt;
&lt;P&gt;&lt;A href="https://lists.yoctoproject.org/g/meta-freescale" target="_blank"&gt;https://lists.yoctoproject.org/g/meta-freescale&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 05:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1333829#M179485</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-02T05:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to compile kernel module using yocto sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1337705#M179837</link>
      <description>&lt;P&gt;thank&amp;nbsp; you&amp;nbsp; for help&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 11:34:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-compile-kernel-module-using-yocto-sdk/m-p/1337705#M179837</guid>
      <dc:creator>hyoungkikim</dc:creator>
      <dc:date>2021-09-09T11:34:10Z</dc:date>
    </item>
  </channel>
</rss>

