<?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: How to add kernel modules in yocto in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358254#M12371</link>
    <description>&lt;P&gt;Please generate&amp;nbsp;&lt;SPAN&gt;bootpartition_LS_arm64_lts_4.19.tgz with the following commands.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ flex-builder -c linux:linux:LSDK-20.12-V4.19 -a arm64&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$&amp;nbsp;flex-builder -i mkbootpartition&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 03:37:56 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2021-10-20T03:37:56Z</dc:date>
    <item>
      <title>How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1353249#M12284</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using LS1046ARDB board for one of my project, in that I am able to build the yocto root file system and loaded into board it was booted properly but now my problem is I am unable to load the any of the kernel modules in it so I check the /etc/modules-load.d directory nothing is there in that.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;root@DevelLinux:/etc/modules-load.d# ls&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="mailto:root@DevelLinux:/etc/modules-load.d" target="_blank"&gt;root@DevelLinux:/etc/modules-load.d#&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help me out of this to resolve this problem (or let know how to add the kernel modules on build)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Chethan GR.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 05:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1353249#M12284</guid>
      <dc:creator>Chethan</dc:creator>
      <dc:date>2021-10-11T05:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1353851#M12302</link>
      <description>&lt;P&gt;Kernel modules are deployed in&amp;nbsp;bootpartition tar ball, after execute the following command, Kernel modules are deployed in the second partition.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;rootfs_lsdk2012_yocto_devel_arm64.tgz -d /dev/sdx&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;On the target board, Kernel modules are mounted in folder&amp;nbsp;/boot/modules/ automatically after the system booting up as normal.&lt;/P&gt;
&lt;P&gt;You also could mount the second partition of the boot device manually as the following.&lt;/P&gt;
&lt;P&gt;root@DevelLinux:~# umount /boot&lt;BR /&gt;root@DevelLinux:~# mount | grep boot&lt;BR /&gt;root@DevelLinux:~# mount /dev/mmcblk0p2 /boot&lt;BR /&gt;[ 1593.148987] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)&lt;BR /&gt;root@DevelLinux:~# ls /boot/modules/5.10.35/&lt;BR /&gt;build modules.builtin modules.dep modules.softdep&lt;BR /&gt;kernel/ modules.builtin.alias.bin modules.dep.bin modules.symbols&lt;BR /&gt;modules.alias modules.builtin.bin modules.devname modules.symbols.bin&lt;BR /&gt;modules.alias.bin modules.builtin.modinfo modules.order source&lt;/P&gt;
&lt;P&gt;In addition, you could generate&amp;nbsp;bootpartition tar ball with the following command.&lt;/P&gt;
&lt;P&gt;$ flex-builder -i mkbootpartition&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 03:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1353851#M12302</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-10-12T03:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1357645#M12351</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No, actually there was version problem in that my kernel version and yocto build kernel version&lt;/P&gt;&lt;P&gt;(my kernel version is 4.19.90 and yocto kernel version is 5.12)&lt;/P&gt;&lt;P&gt;so Please let me know the where I can change the version while build the my yocto root file system&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chethan GR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 06:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1357645#M12351</guid>
      <dc:creator>Chethan</dc:creator>
      <dc:date>2021-10-19T06:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358254#M12371</link>
      <description>&lt;P&gt;Please generate&amp;nbsp;&lt;SPAN&gt;bootpartition_LS_arm64_lts_4.19.tgz with the following commands.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ flex-builder -c linux:linux:LSDK-20.12-V4.19 -a arm64&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$&amp;nbsp;flex-builder -i mkbootpartition&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 03:37:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358254#M12371</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-10-20T03:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358316#M12372</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After following above steppes still I am not able to load kernel modules.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chethan GR&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 05:33:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358316#M12372</guid>
      <dc:creator>Chethan</dc:creator>
      <dc:date>2021-10-20T05:33:21Z</dc:date>
    </item>
    <item>
      <title>gRe: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358391#M12376</link>
      <description>&lt;P&gt;First please generate&amp;nbsp;&lt;SPAN&gt;bootpartition_LS_arm64_lts_4.19.tgz with the following command, Kernel modules are deployed in this package.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ flex-builder -c linux:linux:LSDK-20.12-V4.19 -a arm64&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$&amp;nbsp;flex-builder -i mkbootpartition&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then refer to my first post to deploy&amp;nbsp;&lt;SPAN&gt;bootpartition tar ball and rootfs tar ball to the target board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After boot up Linux OS, please mount the second partition to /boot folder to get Kernel modules.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;root@DevelLinux:~# mount /dev/mmcblk0p2 /boot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ 1593.148987] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;root@DevelLinux:~# ls /boot/modules/5.10.35/&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 06:57:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358391#M12376</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-10-20T06:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: gRe: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358415#M12377</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;-&amp;gt; I gave the command to build Linux using &lt;STRONG&gt;"$ flex-builder -c linux:linux:LSDK-20.12-V4.19 -a arm64"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Then build the boot tar ball using &lt;STRONG&gt;"$&amp;nbsp;flex-builder -i mkbootpartition"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Loaded into target machine&lt;/P&gt;&lt;P&gt;root@DevelLinux:~# &lt;STRONG&gt;ls /boot/modules/4.19.139/&lt;/STRONG&gt;&lt;BR /&gt;extra/ modules.alias modules.builtin modules.dep modules.devname modules.softdep modules.symbols.bin&lt;BR /&gt;kernel/ modules.alias.bin modules.builtin.bin modules.dep.bin modules.order modules.symbols&lt;/P&gt;&lt;P&gt;But kernel modules are not loaded on boot-up time&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Chethan GR&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 07:15:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358415#M12377</guid>
      <dc:creator>Chethan</dc:creator>
      <dc:date>2021-10-20T07:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: gRe: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358422#M12378</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please mount the second partition manually with the following command.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# mount /dev/mmcblk0p2 /boot&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 07:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358422#M12378</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-10-20T07:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: gRe: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358437#M12380</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below is output of manually I mounted the partition 2,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;root@DevelLinux:~# mount /dev/mmcblk0p2 /boot&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[ 60.546056] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;root@DevelLinux:~# lsmod&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Module Size Used by&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="mailto:root@DevelLinux:~" target="_blank"&gt;root@DevelLinux:~#&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Chethan GR.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 07:35:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358437#M12380</guid>
      <dc:creator>Chethan</dc:creator>
      <dc:date>2021-10-20T07:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: gRe: How to add kernel modules in yocto</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358540#M12382</link>
      <description>&lt;P&gt;Kernel modules cannot be inserted automatically during the system booting up, you need to insert required Kernel modules manually.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 09:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-add-kernel-modules-in-yocto/m-p/1358540#M12382</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-10-20T09:26:06Z</dc:date>
    </item>
  </channel>
</rss>

