<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.koansoftware.com/index.php?action=history&amp;feed=atom&amp;title=How_to_generate_an_initrd_image_with_Yocto</id>
	<title>How to generate an initrd image with Yocto - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.koansoftware.com/index.php?action=history&amp;feed=atom&amp;title=How_to_generate_an_initrd_image_with_Yocto"/>
	<link rel="alternate" type="text/html" href="https://wiki.koansoftware.com/index.php?title=How_to_generate_an_initrd_image_with_Yocto&amp;action=history"/>
	<updated>2026-04-17T18:02:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.koansoftware.com/index.php?title=How_to_generate_an_initrd_image_with_Yocto&amp;diff=395&amp;oldid=prev</id>
		<title>Koan: Created page with &quot;== How to generate an initramf image with Yocto ==   To build an &#039;&#039;&#039;initramfs&#039;&#039;&#039;, you only need to specify the &#039;&#039;&#039;initramfs&#039;&#039;&#039; image name (e.g., INITRAMFS_IMAGE) and its type...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.koansoftware.com/index.php?title=How_to_generate_an_initrd_image_with_Yocto&amp;diff=395&amp;oldid=prev"/>
		<updated>2025-05-05T15:20:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== How to generate an initramf image with Yocto ==   To build an &amp;#039;&amp;#039;&amp;#039;initramfs&amp;#039;&amp;#039;&amp;#039;, you only need to specify the &amp;#039;&amp;#039;&amp;#039;initramfs&amp;#039;&amp;#039;&amp;#039; image name (e.g., INITRAMFS_IMAGE) and its type...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== How to generate an initramf image with Yocto ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To build an &amp;#039;&amp;#039;&amp;#039;initramfs&amp;#039;&amp;#039;&amp;#039;, you only need to specify the &amp;#039;&amp;#039;&amp;#039;initramfs&amp;#039;&amp;#039;&amp;#039; image name (e.g., INITRAMFS_IMAGE) and its type (e.g., INITRAMFS_FSTYPES). &lt;br /&gt;
&lt;br /&gt;
  INITRAMFS_IMAGE = &amp;quot;core-image-tiny-initramfs&amp;quot;&lt;br /&gt;
  INITRAMFS_FSTYPES = &amp;quot;cpio.gz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Moreover, the kernel requires these features to load and uncompress the initramfs: &lt;br /&gt;
&lt;br /&gt;
  CONFIG_BLK_DEV_INITRD=y&lt;br /&gt;
  CONFIG_INITRAMFS_SOURCE=&amp;quot;&amp;quot;&lt;br /&gt;
  CONFIG_RD_GZIP=y&lt;br /&gt;
  CONFIG_DECOMPRESS_GZIP=y&lt;br /&gt;
&lt;br /&gt;
In addition if you want the initramfs to be packaged into the kernel binary instead of being a separate binary (or a different image node of a kernel fitimage) use this setting:&lt;br /&gt;
&lt;br /&gt;
  INITRAMFS_IMAGE_BUNDLE = &amp;quot;1&amp;quot;&lt;/div&gt;</summary>
		<author><name>Koan</name></author>
	</entry>
</feed>