<?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: imx6 LTIB error when generating rootfs.ext2.gz</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253905#M23743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tarek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't try out your solution because I did a clean re-build and the issue seems to have disappeared. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 16:08:04 GMT</pubDate>
    <dc:creator>rebelalliance</dc:creator>
    <dc:date>2013-05-31T16:08:04Z</dc:date>
    <item>
      <title>imx6 LTIB error when generating rootfs.ext2.gz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253902#M23740</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 using BSP 4.0.0 to build rootfs for imx6q. I have enabled the option to build rootfs.ext2:&lt;/P&gt;&lt;P&gt;I'm getting the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filesystem stats, including padding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 752424k&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total number of files = 7864&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your ramdisk exceeds the old default size of 4096k, you may need to&lt;/P&gt;&lt;P&gt;set the command line argument for ramdisk_size in your bootloader&lt;/P&gt;&lt;P&gt;allowing 10% free this gives 827666k .&amp;nbsp; For instance, for u-boot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setenv bootargs root=/dev/ram rw ramdisk_size=827666&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;creating an ext2 compressed filesystem image: rootfs.ext2.gz&lt;/P&gt;&lt;P&gt;genext2fs: Running in LTIB backwards compatibility mode: -i -&amp;gt; -N&lt;/P&gt;&lt;P&gt;genext2fs: couldn't allocate a block (no free space)&lt;/P&gt;&lt;P&gt;Died at ./ltib line 603, &amp;lt;&amp;gt; line 664.&lt;/P&gt;&lt;P&gt;traceback:&lt;/P&gt;&lt;P&gt; main:603&lt;/P&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;&lt;P&gt;Started: Thu May 23 13:54:49 2013&lt;/P&gt;&lt;P&gt;Ended:&amp;nbsp;&amp;nbsp; Thu May 23 13:56:09 2013&lt;/P&gt;&lt;P&gt;Elapsed: 80 seconds&lt;/P&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;&lt;P&gt;Build Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exiting on error or interrupt&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 13:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253902#M23740</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-05-23T13:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 LTIB error when generating rootfs.ext2.gz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253903#M23741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I am getting the same error as above using &lt;SPAN style="text-decoration: underline;"&gt;L3.0.35_4.0.0_130424_source.tar.gz&lt;/SPAN&gt; Linux BSP for imx6Q on SabreSD platform.&amp;nbsp; The rootfs built fine with all the default options initially and ran fine on my system.&amp;nbsp; Then I tinkered with some kernel settings to enable support for USB Modem.&amp;nbsp; After that ltib tried to rebuild the rootfs.ext2.gz and I got this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Processing deployment operations&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;==================================&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;making filesystem image file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;staging directory is /mnt/veriton/umar/imx6/ltib/rootfs.tmp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sh: line 1: 12305 Broken pipe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; find . -perm -444 ! -type b ! -type c -print0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12306 Segmentation fault&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (core dumped) | cpio -p0d --quiet /mnt/veriton/umar/imx6/ltib/rootfs.tmp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Died at ./ltib line 603, &amp;lt;&amp;gt; line 678.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;traceback:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; main:603&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Started: Wed May 29 16:24:20 2013&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ended:&amp;nbsp;&amp;nbsp; Wed May 29 16:24:27 2013&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Elapsed: 7 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Build Failed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exiting on error or interrupt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Please advise.&lt;BR /&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 23:36:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253903#M23741</guid>
      <dc:creator>rebelalliance</dc:creator>
      <dc:date>2013-05-29T23:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 LTIB error when generating rootfs.ext2.gz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253904#M23742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;It looks like &lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;ltib/bin/Ltibutils.pm&lt;/SPAN&gt; is not calculating the rootfs size correctly!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN class="il" style="background-color: #ffffcc; color: #222222;"&gt;I&lt;/SPAN&gt; changed this line:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;genext2fs -U -b &lt;/SPAN&gt;$blocks&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt; -&lt;SPAN class="il" style="background-color: #ffffcc; color: #222222;"&gt;i&lt;/SPAN&gt; $inodes -D $dev_tab -d $stage $tdir/rootfs.ext2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 12pt;"&gt;To&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 12pt;"&gt;genext2fs -U -b $fs_size_p10 -&lt;SPAN class="il" style="background-color: #ffffcc; color: #222222;"&gt;i&lt;/SPAN&gt; $inodes -D $dev_tab -d $stage $tdir/rootfs.ext2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;It's not the best fix but this works for now.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 07:50:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253904#M23742</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-05-30T07:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 LTIB error when generating rootfs.ext2.gz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253905#M23743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tarek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't try out your solution because I did a clean re-build and the issue seems to have disappeared. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 16:08:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-LTIB-error-when-generating-rootfs-ext2-gz/m-p/253905#M23743</guid>
      <dc:creator>rebelalliance</dc:creator>
      <dc:date>2013-05-31T16:08:04Z</dc:date>
    </item>
  </channel>
</rss>

