<?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 How to update Linux kernel for yocto:devel? in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-update-Linux-kernel-for-yocto-devel/m-p/1553220#M11402</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My&amp;nbsp;LS1028ARD board is running the yocto FS and linux kernel 5.10.35 (built by LSDK_21.08). I'm try to build sctp.ko and tipc.ko kernel modules in&amp;nbsp;yocto:devel FS.&lt;/P&gt;&lt;P&gt;I have built the Linux kernel using: flex-builder -c linux:custom -a arm64 to turn on the sctp and tipc kernel modules.&lt;/P&gt;&lt;P&gt;Then I run:&amp;nbsp;flex-builder -c linux -a arm64 to build the kernel.&lt;/P&gt;&lt;P&gt;And then I rebuild the boot partition and root fs:&lt;/P&gt;&lt;P&gt;flex-builder -i mkbootpartition -a arm64&lt;/P&gt;&lt;P&gt;flex-builder -i mkrfs -r yocto:devel&lt;/P&gt;&lt;P&gt;After rewrite the SD card with the products I built above, and applied the SD to the LS1028ARD board, I still can't see the kernel modules in&amp;nbsp;/lib/modules/5.10.34-yocto-standard/kernel/net on target board.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; root@DevelLinux:/lib/modules/5.10.34-yocto-standard/kernel/net# ls&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ipv4 ipv6 netfilter&lt;/P&gt;&lt;P&gt;It looks like the kernel modules for yocto is in&amp;nbsp;flexbuild_lsdk2108/yoctobuild/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/rootfs/lib/modules/5.10.34-yocto-standard/kernel, while&amp;nbsp;my linux modules built is in&amp;nbsp;flexbuild_lsdk2108/build/linux/kernel/arm64/LS/output/LSDK-21.08/tmp/lib/modules/5.10.35/kernel. Different folders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody comment how to build and upgrade the linux in yocto FS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Jin Mai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 10:17:43 GMT</pubDate>
    <dc:creator>mjstudio</dc:creator>
    <dc:date>2022-11-14T10:17:43Z</dc:date>
    <item>
      <title>How to update Linux kernel for yocto:devel?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-update-Linux-kernel-for-yocto-devel/m-p/1553220#M11402</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My&amp;nbsp;LS1028ARD board is running the yocto FS and linux kernel 5.10.35 (built by LSDK_21.08). I'm try to build sctp.ko and tipc.ko kernel modules in&amp;nbsp;yocto:devel FS.&lt;/P&gt;&lt;P&gt;I have built the Linux kernel using: flex-builder -c linux:custom -a arm64 to turn on the sctp and tipc kernel modules.&lt;/P&gt;&lt;P&gt;Then I run:&amp;nbsp;flex-builder -c linux -a arm64 to build the kernel.&lt;/P&gt;&lt;P&gt;And then I rebuild the boot partition and root fs:&lt;/P&gt;&lt;P&gt;flex-builder -i mkbootpartition -a arm64&lt;/P&gt;&lt;P&gt;flex-builder -i mkrfs -r yocto:devel&lt;/P&gt;&lt;P&gt;After rewrite the SD card with the products I built above, and applied the SD to the LS1028ARD board, I still can't see the kernel modules in&amp;nbsp;/lib/modules/5.10.34-yocto-standard/kernel/net on target board.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; root@DevelLinux:/lib/modules/5.10.34-yocto-standard/kernel/net# ls&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ipv4 ipv6 netfilter&lt;/P&gt;&lt;P&gt;It looks like the kernel modules for yocto is in&amp;nbsp;flexbuild_lsdk2108/yoctobuild/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/rootfs/lib/modules/5.10.34-yocto-standard/kernel, while&amp;nbsp;my linux modules built is in&amp;nbsp;flexbuild_lsdk2108/build/linux/kernel/arm64/LS/output/LSDK-21.08/tmp/lib/modules/5.10.35/kernel. Different folders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody comment how to build and upgrade the linux in yocto FS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Jin Mai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 10:17:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-update-Linux-kernel-for-yocto-devel/m-p/1553220#M11402</guid>
      <dc:creator>mjstudio</dc:creator>
      <dc:date>2022-11-14T10:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to update Linux kernel for yocto:devel?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-update-Linux-kernel-for-yocto-devel/m-p/1564283#M11470</link>
      <description>&lt;P&gt;You need to copy Linux Kernel modules flexbuild_lsdk2108/build/linux/kernel/arm64/LS/output/LSDK-21.08/tmp/lib/modules/5.10.35/kernel to the target board directly.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 09:11:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-update-Linux-kernel-for-yocto-devel/m-p/1564283#M11470</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-12-05T09:11:41Z</dc:date>
    </item>
  </channel>
</rss>

