<?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: iptables kernel modules are not being included in rootfs</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iptables-kernel-modules-are-not-being-included-in-rootfs/m-p/1879010#M224418</link>
    <description>&lt;P&gt;Solution:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;To enable any kernel module, in this case ip_tables, follow the next steps:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;execute:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;bitbake -c menuconfig linux-imx&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Enable any kernel modules that you need to include in the image, in this case iptables (netfilter), and select save. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Use M to select the module to be included.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Then execute:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;bitbake linux-imx -f -c compile&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then build your image:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;bitbake core-image-minimal&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This will include the kernel modules in the rootfs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 31 May 2024 13:51:24 GMT</pubDate>
    <dc:creator>Iribe18</dc:creator>
    <dc:date>2024-05-31T13:51:24Z</dc:date>
    <item>
      <title>iptables kernel modules are not being included in rootfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iptables-kernel-modules-are-not-being-included-in-rootfs/m-p/1864359#M223628</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am adding iptables to an image built with&amp;nbsp;&lt;A href="https://github.com/Freescale/fsl-community-bsp-platform/tree/rocko" target="_blank" rel="noopener"&gt;https://github.com/Freescale/fsl-community-bsp-platform/tree/rocko.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To modify the kernel config I use "&lt;SPAN&gt;bitbake -c menuconfig linux-imx&lt;/SPAN&gt;" and enable the required netfilter modules, I also added iptables and kernel-modules in my local.conf file:&lt;/P&gt;&lt;P&gt;PACKAGE_CLASSES ?= "package_ipk"&lt;/P&gt;&lt;P&gt;CORE_IMAGE_EXTRA_INSTALL += " kernel-modules"&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL += " \&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; kernel-modules \&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; iptables&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;The kernel modules for netfilter are not added to the rootfs and the packages are not generated in tmp/deploy/ipk&lt;/P&gt;&lt;P&gt;The kernel version is 4.9.11.&lt;/P&gt;&lt;P&gt;Seems related to:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/ip-tables-does-not-get-included-in-kernel-modules/td-p/1195505" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/ip-tables-does-not-get-included-in-kernel-modules/td-p/1195505&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could be related to the rocko version of&amp;nbsp;&lt;A href="https://github.com/Freescale/fsl-community-bsp-platform/tree/rocko" target="_blank" rel="noopener"&gt;fsl-community-bsp-platform?.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 10:29:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iptables-kernel-modules-are-not-being-included-in-rootfs/m-p/1864359#M223628</guid>
      <dc:creator>Iribe18</dc:creator>
      <dc:date>2024-05-13T10:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: iptables kernel modules are not being included in rootfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iptables-kernel-modules-are-not-being-included-in-rootfs/m-p/1879010#M224418</link>
      <description>&lt;P&gt;Solution:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;To enable any kernel module, in this case ip_tables, follow the next steps:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;execute:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;bitbake -c menuconfig linux-imx&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Enable any kernel modules that you need to include in the image, in this case iptables (netfilter), and select save. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Use M to select the module to be included.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Then execute:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;bitbake linux-imx -f -c compile&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then build your image:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;bitbake core-image-minimal&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This will include the kernel modules in the rootfs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 May 2024 13:51:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iptables-kernel-modules-are-not-being-included-in-rootfs/m-p/1879010#M224418</guid>
      <dc:creator>Iribe18</dc:creator>
      <dc:date>2024-05-31T13:51:24Z</dc:date>
    </item>
  </channel>
</rss>

