<?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: Kernel and rootfs size reduction in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-and-rootfs-size-reduction/m-p/1160391#M162664</link>
    <description>&lt;P&gt;Also you can decrease kernel size by removing "inline" option of many functions. However it may decrease the performance as well. So please do it with an accuracy.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 04:28:28 GMT</pubDate>
    <dc:creator>b36401</dc:creator>
    <dc:date>2020-09-29T04:28:28Z</dc:date>
    <item>
      <title>Kernel and rootfs size reduction</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-and-rootfs-size-reduction/m-p/1159740#M162595</link>
      <description>&lt;DIV class="note-content"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Hello,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;We are trying to achieve the &amp;lt;image_name&amp;gt;.rootfs.wic + bootloader of the size that able to flash and boot from SPI NOR flash of 32MB.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;We have a 32MB SPI NOR flash memory on our custom board based on imx8qxp MEK.&lt;BR /&gt;For verification and testing, we are using an imx8qxp board with 64MB of SPI NOR flash.&lt;BR /&gt;We are using the Yocto Zeus, L5.4.24-2.1.0.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;The x-wayland distro and core-image-minimal is used which gives &amp;lt;image_name&amp;gt;.rootfs.wic.bz2 of size 32.5MB.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;We require a very minimal system so we tried to use poky or poky-tiny but as it is not supported by the i.MX 8 or i.MX 8M.&lt;BR /&gt;So we remove the distro feature using the DISTRO_FEATURES_remove variable in local.conf.&lt;BR /&gt;After removing the unwanted distro feature using the that gives an image size of 31.3MB&lt;BR /&gt;(distro features removed: Bluetooth, wifi,ipv4, ipv6, largefile, nfs, etc.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The next step followed was to configure the kernel using Creating a defconfig File(&lt;A title="Dev manual" href="https://www.yoctoproject.org/docs/3.1/kernel-dev/kernel-dev.html" target="_blank" rel="noopener"&gt;Yocto Project Linux Kernel Development Manual&lt;/A&gt;) and removed the network support and unused driver's support but there is no size reduction achieved.&lt;/DIV&gt;&lt;DIV&gt;Kindly suggest a way to reduce the image size.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Thank you&lt;BR /&gt;Barish.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 27 Sep 2020 14:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-and-rootfs-size-reduction/m-p/1159740#M162595</guid>
      <dc:creator>barish_malshika</dc:creator>
      <dc:date>2020-09-27T14:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel and rootfs size reduction</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-and-rootfs-size-reduction/m-p/1160391#M162664</link>
      <description>&lt;P&gt;Also you can decrease kernel size by removing "inline" option of many functions. However it may decrease the performance as well. So please do it with an accuracy.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 04:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-and-rootfs-size-reduction/m-p/1160391#M162664</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2020-09-29T04:28:28Z</dc:date>
    </item>
  </channel>
</rss>

