<?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: IMX6 - booting to a roofts on ramdisk (Boundary Sabre-lite)? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155111#M2040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue is due to the kernel config. I assume you're using the Freescale-supplied kernel, which doesn't have RAM disk support built-in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_12.09.01_GA/arch/arm/configs/imx6_defconfig#L86"&gt;https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_12.09.01_GA/arch/arm/configs/imx6_defconfig#L86&lt;/A&gt;&lt;/P&gt;&lt;P&gt;These couple of kernel config variables are needed:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; text-align: -webkit-auto; background-color: #ffffcc;"&gt;CONFIG_BLK_DEV_INITRD=y&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="text-align: -webkit-auto; color: #333333; font-size: 12px; background-color: #ffffcc; font-family: Consolas, 'Liberation Mono', Courier, monospace;"&gt;CONFIG_RD_GZIP=y&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;See this link for an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_12.09.01_GA/arch/arm/configs/imx6_defconfig#L86" title="https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_12.09.01_GA/arch/arm/configs/imx6_defconfig#L86"&gt;linux-imx6/arch/arm/configs/imx6_defconfig at boundary-L3.0.35_12.09.01_GA · boundarydevices/linux-imx6 · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use 'menuconfig' to select it. Choose 'General Setup' on the first page:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="select-initrd.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118942i08D2EE11A509C379/image-size/large?v=v2&amp;amp;px=999" role="button" title="select-initrd.png" alt="select-initrd.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 04:13:03 GMT</pubDate>
    <dc:creator>EricNelson</dc:creator>
    <dc:date>2012-11-01T04:13:03Z</dc:date>
    <item>
      <title>IMX6 - booting to a roofts on ramdisk (Boundary Sabre-lite)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155106#M2035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wondering if anyone has booted into a rootfs on a ramdisk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u-boot options did you use? How big was your rootfs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, in our own design, we are considering booting from NAND Flash&lt;/P&gt;&lt;P&gt;for booting and perhaps running rootfs from (or extracting the rootfs&lt;/P&gt;&lt;P&gt;image and putting that into a ramdisk)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody have any comments help on this front too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 22:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155106#M2035</guid>
      <dc:creator>TomMorrison</dc:creator>
      <dc:date>2012-10-26T22:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 - booting to a roofts on ramdisk (Boundary Sabre-lite)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155107#M2036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We've done this lots of times with everything from a minimal Buildroot/uclibc image to the latest one, a 100M+ Android NFS image). The latter took a while to boot, but it ran really fast!. It also had the benefit of allowing operation on a single-partition FAT32 SD card, so our Windows users are able to create the image with no special tools (even the sales people can do it).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We put up some notes on hacking (creating, extracting) RAM disks in this blog post:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://boundarydevices.com/hacking-ram-disks/"&gt;http://boundarydevices.com/hacking-ram-disks/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're in the process of putting together one of these for SABRE Lite/Nitrogen6X that contains our production test image. This will have the benefit of allowing immediate power-off (and speed the production test).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 00:26:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155107#M2036</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2012-10-27T00:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 - booting to a roofts on ramdisk (Boundary Sabre-lite)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155108#M2037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric/all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the 'hacking-ram-disks', but I do not have a ramdisk to hack. I need&lt;/P&gt;&lt;P&gt;to create one. Can I just use the NFS root tarball - and go through your re-packing&lt;/P&gt;&lt;P&gt;procedure (the '&lt;STRONG&gt;&lt;EM&gt;find | cpio | gzip &amp;gt; ramdisk.cpi.gz&lt;/EM&gt;&lt;/STRONG&gt;' &amp;amp; &lt;EM&gt;&lt;STRONG&gt;mkimage&lt;/STRONG&gt;&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this, but it crashes ~I am still having troubles. I am thinking I had something wrong&lt;/P&gt;&lt;P&gt;with the bootargs and/or bootcmd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the crash:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; IP-Config: Complete:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; device=eth0, addr=10.160.8.180, mask=255.255.255.0, gw=10.160.8.1,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; host=10.160.8.180, domain=endo.san, nis-domain=(none),&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;VFS: Unable to mount root fs via NFS, trying floppy.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;VFS: Cannot open root device "ram0" or unknown-block(2,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;yes, I have a /dev/ram0 in this image!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI - I am using the following bootargs&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; console=ttymxc1,115200 ip=dhcp root=/dev/ram0 rw&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My ramdisk is ~24Meg - and I am downloading this ramdisk to 0x1100_0000, so my bootm:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;bootm 0x10800000 0x11000000&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Morrison (adding the u-boot command)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 20:35:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155108#M2037</guid>
      <dc:creator>TomMorrison</dc:creator>
      <dc:date>2012-10-31T20:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 - booting to a roofts on ramdisk (Boundary Sabre-lite)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155109#M2038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need the root=/dev/ram0 if you use the two-argument form of bootm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The kernel will pick this up directly and this should boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 21:07:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155109#M2038</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2012-10-31T21:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 - booting to a roofts on ramdisk (Boundary Sabre-lite)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155110#M2039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry - but I tried it without - but it is still crashing - same type of thing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Built&amp;nbsp; a minimalistic (initramfs) image in the Freescale 12-09 LTIB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (initramfs.cpio.gz ~38MB, 139MB uncompressed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) mkimage (initramfs.cpio.gz)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) use minimum bootargs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt; &lt;EM&gt;&lt;STRONG&gt;Kernel command line: console=ttymxc1,115200 video=mxcfb0:dev=hdmi,1920x1080M@60 ip=dhcp&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;d) used bootm 0x10800000 0x11000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;and I got this (&lt;/SPAN&gt;looks like something VFS is looking for something to mount):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; &lt;EM&gt;&lt;STRONG&gt;Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could I be doing wrong (it looks like from everything I can tell that this should work)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 21:55:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155110#M2039</guid>
      <dc:creator>TomMorrison</dc:creator>
      <dc:date>2012-10-31T21:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 - booting to a roofts on ramdisk (Boundary Sabre-lite)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155111#M2040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue is due to the kernel config. I assume you're using the Freescale-supplied kernel, which doesn't have RAM disk support built-in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_12.09.01_GA/arch/arm/configs/imx6_defconfig#L86"&gt;https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_12.09.01_GA/arch/arm/configs/imx6_defconfig#L86&lt;/A&gt;&lt;/P&gt;&lt;P&gt;These couple of kernel config variables are needed:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; text-align: -webkit-auto; background-color: #ffffcc;"&gt;CONFIG_BLK_DEV_INITRD=y&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="text-align: -webkit-auto; color: #333333; font-size: 12px; background-color: #ffffcc; font-family: Consolas, 'Liberation Mono', Courier, monospace;"&gt;CONFIG_RD_GZIP=y&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;See this link for an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_12.09.01_GA/arch/arm/configs/imx6_defconfig#L86" title="https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_12.09.01_GA/arch/arm/configs/imx6_defconfig#L86"&gt;linux-imx6/arch/arm/configs/imx6_defconfig at boundary-L3.0.35_12.09.01_GA · boundarydevices/linux-imx6 · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use 'menuconfig' to select it. Choose 'General Setup' on the first page:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="select-initrd.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118942i08D2EE11A509C379/image-size/large?v=v2&amp;amp;px=999" role="button" title="select-initrd.png" alt="select-initrd.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 04:13:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155111#M2040</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2012-11-01T04:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 - booting to a roofts on ramdisk (Boundary Sabre-lite)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155112#M2041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK that worked....now to hack the cpio.gz...:-). Its too bad the mfw_v4lsrc is BROKEN (HELP Freescale)...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 14:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-booting-to-a-roofts-on-ramdisk-Boundary-Sabre-lite/m-p/155112#M2041</guid>
      <dc:creator>TomMorrison</dc:creator>
      <dc:date>2012-11-01T14:52:57Z</dc:date>
    </item>
  </channel>
</rss>

