<?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: Yocto initramfs</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382742#M55227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not to worry - Managed to do this by creating a new -initramfs.bb image, and adding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include original-image.bb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"&lt;/P&gt;&lt;P&gt;PACKAGE_INSTALL = "${IMAGE_INSTALL}"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in conf/local.conf&lt;/P&gt;&lt;P&gt;INITRAMFS_IMAGE = "image-initramfs"&amp;nbsp;&amp;nbsp; ### &amp;lt; image-initramfs is the .bb file above&lt;/P&gt;&lt;P&gt;INITRAMFS_IMAGE_BUNDLE = "1"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Oct 2015 14:57:17 GMT</pubDate>
    <dc:creator>kbingham</dc:creator>
    <dc:date>2015-10-22T14:57:17Z</dc:date>
    <item>
      <title>Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382738#M55223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to prepare initramfs RAMDisk image using Yocto build?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 07:23:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382738#M55223</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2014-11-06T07:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382739#M55224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to generate the core-image-minimal-initramfs? The image is used for minimal RAM based rootfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:23:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382739#M55224</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2014-11-12T17:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382740#M55225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I base on FSL YOCTO 3.14.28_1.0.1 code to run &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;core-image-minimal-initramfs function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;But it still has some error message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Which file I need to update ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bitbake core-image-minimal-initramfs&lt;/P&gt;&lt;P&gt;Loading cache: 100% |###########################################| ETA:&amp;nbsp; 00:00:00&lt;/P&gt;&lt;P&gt;Loaded 2524 entries from dependency cache.&lt;/P&gt;&lt;P&gt;NOTE: Resolving any missing task queue dependencies&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /home/abner/fsl-imx6-yacto/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: initramfs-live-install was skipped: incompatible with host arm-poky-linux-gnueabi (not in COMPATIBLE_HOST)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE: Runtime target 'initramfs-live-install' is unbuildable, removing...&lt;/P&gt;&lt;P&gt;Missing or unbuildable dependency chain was: ['&lt;STRONG&gt;initramfs-live-install&lt;/STRONG&gt;']&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Required build target 'core-image-minimal-initramfs' has no buildable providers.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Missing or unbuildable dependency chain was: ['core-image-minimal-initramfs', 'initramfs-live-install']&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 06:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382740#M55225</guid>
      <dc:creator>chenabner</dc:creator>
      <dc:date>2015-08-31T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382741#M55226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did anyone get anywhere with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also trying to create an initramfs for freescale (wandboard)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382741#M55226</guid>
      <dc:creator>kbingham</dc:creator>
      <dc:date>2015-10-21T15:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382742#M55227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not to worry - Managed to do this by creating a new -initramfs.bb image, and adding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include original-image.bb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"&lt;/P&gt;&lt;P&gt;PACKAGE_INSTALL = "${IMAGE_INSTALL}"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in conf/local.conf&lt;/P&gt;&lt;P&gt;INITRAMFS_IMAGE = "image-initramfs"&amp;nbsp;&amp;nbsp; ### &amp;lt; image-initramfs is the .bb file above&lt;/P&gt;&lt;P&gt;INITRAMFS_IMAGE_BUNDLE = "1"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 14:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382742#M55227</guid>
      <dc:creator>kbingham</dc:creator>
      <dc:date>2015-10-22T14:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382743#M55228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kieran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain what the above changes do to make the build work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 06:48:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382743#M55228</guid>
      <dc:creator>marcus123</dc:creator>
      <dc:date>2015-11-05T06:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382744#M55229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kieran,&lt;/P&gt;&lt;P&gt;I tried to modify my image recipe (a generic image recipe similar to core-image-minimal) as your hints suggest. I obtain a cpio.gz file but, using it as my INITRAMFS_SOURCE, kernel boot show me some "mount: you must be root" messages and than hangs. What could they means? Have I to configure something else into my recipe file?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 15:11:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382744#M55229</guid>
      <dc:creator>adc1</dc:creator>
      <dc:date>2015-11-06T15:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382745#M55230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a separate image.bb file for my target. Its based on wandboard, but I'm sure your's will be whatever you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a wandboard-image.bb which contains a minimal image inherited from core-image and my own application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file wandboard-image.bb:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="_jivemacro_uid_14469929537968899 jive_macro_code jive_text_macro" data-renderedposition="176_8_1232_80" jivemacro_uid="_14469929537968899" modifiedtitle="true"&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;pre&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;DESCRIPTION = "A wandboard base image"&amp;lt;br/&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;IMAGE_INSTALL = "packagegroup-core-boot packagegroup-machine-base ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${my_extra_application}"&amp;lt;br/&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;inherit core-image&amp;lt;br/&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;/pre&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use this wandboard-image to create a working image that I use to write to SD card successfully. I would expect you would have your own variant of this perhaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then to create a separate binary which puts all of that into one kernel which contains the root filesystem as an initramfs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file wandboard-image-initramfs.bb:&amp;nbsp; ## Comments added with 2 ##&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14469929735725690 jive_text_macro" data-renderedposition="424_8_1232_96" jivemacro_uid="_14469929735725690" modifiedtitle="true"&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;pre&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;include wandboard-image.bb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## This pulls in the above tested image to define my filesystem&amp;lt;br&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;DESCRIPTION = "An Initramfs wandboard image..."&amp;lt;br&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## This is required to make an initramfs filesystem&amp;lt;br&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;PACKAGE_INSTALL = "${IMAGE_INSTALL}" ## This is defined in the included image, and duplicates my original image into the initramfs.&amp;lt;br&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;/pre&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that&amp;nbsp; defines how the initramfs image should be created for my image.&lt;/P&gt;&lt;P&gt;Then to actually ask it to be built (it is created as a separate binary in the tmp/deploy/images/ directory) you need to provide the reference in the conf/local.conf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Nov 2015 14:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382745#M55230</guid>
      <dc:creator>kbingham</dc:creator>
      <dc:date>2015-11-08T14:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382746#M55231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difficult to say for sure without seeing your logs or knowing what your process was.&lt;/P&gt;&lt;P&gt;When I built my initramfs image, I didn't have to use it as my INITRAMFS_SOURCE manually - it is all done automatically by setting&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;in conf/local.conf&lt;/P&gt;&lt;P&gt;INITRAMFS_IMAGE = "wandboard-initramfs"&lt;/P&gt;&lt;P&gt;INITRAMFS_IMAGE_BUNDLE = "1"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then running my usual 'bitbake wandboard-image'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This causes the kernel build to be run separately and creates the zImage-initramfs-wandboard.bin which is now a kernel and filesystem in one binary that I loaded over tftpboot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Nov 2015 14:45:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382746#M55231</guid>
      <dc:creator>kbingham</dc:creator>
      <dc:date>2015-11-08T14:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382747#M55232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kieran,&lt;/P&gt;&lt;P&gt;thank you for the reply. I've tried, as you suggest, configuring directly local.conf file without manually setup kernel INITRAMFS_SOURCE and, in this way, I can load and run output image without any problem. But, if I would to extract cpio filesystem to update it adding some configuration or files, the only way I see to bundle it into my kernel image is to configure INITRAMFS_SOURCE. Why if I do that do I not obtain the same output? Why, in this way, are devfs not loaded and I have to add manually /dev/console and /dev/tty0? What could differ?&lt;/P&gt;&lt;P&gt;Has someone any hints?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 08:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382747#M55232</guid>
      <dc:creator>adc1</dc:creator>
      <dc:date>2015-11-09T08:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382748#M55233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to hear you can get an image booted and running with initramfs as you desire. It sounds like now its just a case of customising the image that is created for the initramfs. I think as you are already using a recipe to get this far - it wouldn't make sense to then pull out the filesystem and start making manual changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that your configuration and files should be provided by a recipe included in your $(yourimage)-initramfs.bb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could add to the packages that go into just the initramfs by adding them to the package install line ...&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;PRE class="jive-pre"&gt;PACKAGE_INSTALL = "${IMAGE_INSTALL} dropbear i2c-tools"&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course - you don't even have to pull in the normal IMAGE_INSTALL rules, you could subset from there too ... I chose to do that as I wanted the whole system to run from initramfs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 11:05:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382748#M55233</guid>
      <dc:creator>kbingham</dc:creator>
      <dc:date>2015-11-09T11:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382749#M55234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kieran,&lt;/P&gt;&lt;P&gt;thank you for your suggestions. anyway my problems were connected with an error extracting cpio package.&lt;/P&gt;&lt;P&gt;now my output image work as Yocto bundle image.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 16:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382749#M55234</guid>
      <dc:creator>adc1</dc:creator>
      <dc:date>2015-11-09T16:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382750#M55235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After trying the above suggestions with limited success, I found a different solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your .../conf directory, create a file (mine is named initramfs.conf ) and add the following to the file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 33.75px; font-family: 'Droid Sans Mono'; font-size: 12.0pt;"&gt;INITRAMFS_IMAGE = "core-image-base"&lt;/P&gt;&lt;P style="padding-left: 33.75px; font-family: 'Droid Sans Mono'; font-size: 12.0pt;"&gt;INITRAMFS_IMAGE_BUNDLE = "1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 33.75px; font-family: 'Droid Sans Mono'; font-size: 12.0pt;"&gt;IMAGE_FSTYPES = "cpio.gz"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then to build the initramfs based on the core-image-base recipe, execute the following bitbake command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bitbake -R conf/initramfs.conf core-image-base&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it completes, there will be a kernel + initramfs file in the .../tmp/deploy/images/..../&amp;nbsp; directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To build an initramfs image for a recipe other than core-image-base, just modify the initramfs.conf file and specify the image name in the INITRAMFS_IMAGE variable, and then include the image name on the bitbake command line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 14:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382750#M55235</guid>
      <dc:creator>patrickphilp</dc:creator>
      <dc:date>2016-06-23T14:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382751#M55236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Patrick&lt;/P&gt;&lt;P&gt;A question... &amp;nbsp;perhaps a little off-topic, but if you have any comments I'll be glad&lt;/P&gt;&lt;P&gt;I managed to&amp;nbsp;&amp;nbsp;build an image, following your recipe :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;resulting in bzImage-initramfs-genericx86.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but I'm having trouble getting it &amp;nbsp;to boot on&amp;nbsp;my target.&lt;/P&gt;&lt;P&gt;I'm using syslinux&lt;/P&gt;&lt;P&gt;in syslinux.cfg I have&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALLOWOPTIONS 1&lt;BR /&gt;SERIAL 0 115200&lt;BR /&gt;DEFAULT boot&lt;BR /&gt;TIMEOUT 50&lt;BR /&gt;PROMPT 1&lt;/P&gt;&lt;P&gt;LABEL boot&lt;BR /&gt;KERNEL /bzImage-initramfs-genericx86.bin&lt;BR /&gt;APPEND LABEL=boot root=/dev/ram0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before &amp;nbsp;when I was building 'normally'&amp;nbsp;&amp;nbsp;I had&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LABEL boot&lt;BR /&gt;KERNEL /vmlinuz&lt;BR /&gt;APPEND initrd=/initrd LABEL=boot root=/dev/ram0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 10:29:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382751#M55236</guid>
      <dc:creator>larslarsen</dc:creator>
      <dc:date>2016-09-22T10:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382752#M55237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm also getting the same error in my freescale development board based on imx6, BTW, initramfs live is not compatible for arm architectures by the recipe file.&lt;/P&gt;&lt;P&gt;Like live-boot, i'm adding the machine architecture in the COMPATIBLE version/label like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; initramfs-live-install_1.0.bb and initramfs-live-install-efi_1.0.bb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From,&lt;/P&gt;&lt;P&gt;COMPATIBLE_HOST = "(i.86|x86_64).*-linux"&lt;/P&gt;&lt;P&gt;To,&lt;/P&gt;&lt;P&gt;COMPATIBLE_MACHINE = "${MACHINE_ARCH}"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, MACHINE_ARCH represents your arm board.&lt;/P&gt;&lt;P&gt;Now, i'm getting cpio.gz files in /tmp/deploy/images/&amp;lt;board_name&amp;gt;/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 06:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382752#M55237</guid>
      <dc:creator>michaelwesley</dc:creator>
      <dc:date>2016-10-18T06:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382753#M55238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally i got zImage with Initramfs file (zImage***.bin file) ... Can anyone tell me how to use this &lt;STRONG&gt;.bin&amp;nbsp;&lt;/STRONG&gt;file ? Is it possible to use this file instead of zImage ? or else tell me how to flash ?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 14:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382753#M55238</guid>
      <dc:creator>karthikeyanraju</dc:creator>
      <dc:date>2016-11-29T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382754#M55239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthikeyan Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;I haven't seen any conversation for last one week on this thread. I'll share my thoughts &amp;amp; findings regarding the same, hope you get an idea. Your initramfs bin file(zImage***.bin file) was combined with zImage + initramfs cpio archive file, but i didn't used this combined file in my board instead of that i'm loading individualy(like zImage, dtb and initramfs file, not a combined bin file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Is it possible to use this file instead of zImage?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Yes, ofcourse. you could may use complete bin file instead of initramfs but my suggestion for you to better load the files individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Why we need to load individually?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;If you are working on multiple operating system, better you use seperate files for precision &amp;amp; linearity. It really helps while development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 04:49:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382754#M55239</guid>
      <dc:creator>michaelwesley</dc:creator>
      <dc:date>2016-12-07T04:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382755#M55240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know or could you guide me through briefly how to use the complete bin file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 08:42:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382755#M55240</guid>
      <dc:creator>georgechiao</dc:creator>
      <dc:date>2017-05-31T08:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto initramfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382756#M55241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi patrick,&lt;BR /&gt;can you please guide me for, how i can confirm that the kernel is getting build with initramfs ?&lt;BR /&gt;we have the entry called CONFIG_INITRAMFS_SOURCE in kernel's .config file, so is it expected that we should get the path of initramfs.cpio.gz file in the .config file for&amp;nbsp;&lt;SPAN&gt;CONFIG_INITRAMFS_SOURCE entry&lt;/SPAN&gt; ?&lt;/P&gt;&lt;P&gt;I tried the solution you mentioned above, but i am not getting the path for initramfs in the CONFIG_INITRAMFS_SOURCE, it is still blank.&lt;BR /&gt;Please suggest if I need to check any other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;/amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2020 12:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382756#M55241</guid>
      <dc:creator>amarnathpujari1</dc:creator>
      <dc:date>2020-06-09T12:02:45Z</dc:date>
    </item>
  </channel>
</rss>

