<?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: iMX28: NAND boot &amp;quot;no init found&amp;quot;</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162974#M3786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to mount the ubifs to imx28evk, can you give me same advises;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 07:12:57 GMT</pubDate>
    <dc:creator>fanqipin</dc:creator>
    <dc:date>2012-03-28T07:12:57Z</dc:date>
    <item>
      <title>iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162955#M3767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, all. After some difficulty, I was able to get the UBIFS file system to mount on the iMX28 EVK when booting from NAND. However, it seems that there is an issue reading from the file system, as I'm getting the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UBIFS: mounted UBI device 0, volume 0, name "rootfs0"&lt;/P&gt;&lt;P&gt;UBIFS: file system size:&amp;nbsp;&amp;nbsp; 99422208 bytes (97092 KiB, 94 MiB, 783 LEBs)&lt;/P&gt;&lt;P&gt;UBIFS: journal size:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4952064 bytes (4836 KiB, 4 MiB, 39 LEBs)&lt;/P&gt;&lt;P&gt;UBIFS: media format:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w4/r0 (latest is w4/r0)&lt;/P&gt;&lt;P&gt;UBIFS: default compressor: lzo&lt;/P&gt;&lt;P&gt;UBIFS: reserved for root:&amp;nbsp; 4695956 bytes (4585 KiB)&lt;/P&gt;&lt;P&gt;VFS: Mounted root (ubifs filesystem) on device 0:14.&lt;/P&gt;&lt;P&gt;Freeing init memory: 160K&lt;/P&gt;&lt;P&gt;Kernel panic - not syncing: No init found.&amp;nbsp; Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running out of ideas. Has anyone else experienced this, and can you help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 19:05:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162955#M3767</guid>
      <dc:creator>SteveO1z</dc:creator>
      <dc:date>2011-07-14T19:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162956#M3768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;So you are getting the kernel to load but it fails when it tries to mount the rootfs? What host OS are you building the UBIFS with? Ubuntu 10.10 has a bug in mkfs.ubifs. You need to grab the latest source and replace it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 19:48:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162956#M3768</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-07-14T19:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162957#M3769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, the rootfs is mounting (that was a struggle in itself), but that's as far as it gets. It appears that the device can't get the /sbin/init file.&lt;/P&gt;&lt;P&gt;I'm using Ubuntu 10.10 as host. I'm new to Linux, so sorry if this is a silly question, but you mean the source for mkfs.ubifs? Once I get the source, how to I rebuild the utility? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 20:02:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162957#M3769</guid>
      <dc:creator>SteveO1z</dc:creator>
      <dc:date>2011-07-14T20:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162958#M3770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think your rootfs has not been copied properly to NAND or it is corrupted. Try a correct RootFS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 04:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162958#M3770</guid>
      <dc:creator>Balaji_ng</dc:creator>
      <dc:date>2011-07-15T04:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162959#M3771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you attach the output of dmesg here?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 11:53:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162959#M3771</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-07-15T11:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162960#M3772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies, guys. Are you asking for the output of dmesg from my host machine? Otherwise I can boot the target from SD or NFS and get that output, but on boot from NAND kernel panic stops everything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike, it sounds like you had an issue with the mtd-utils package on Ubuntu 10.10? I was looking into it and it does seem that the package used for the 10.10 release had problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add a little, I was able to get the EVK to boot from NAND using JFFS2, but unless the file system was read-only, subsequent boots would start to show increasing ECC errors. This was verified by a Freescale FAE who said JFFS2 wouldn't work on the iMX28 BSP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 13:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162960#M3772</guid>
      <dc:creator>SteveO1z</dc:creator>
      <dc:date>2011-07-15T13:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162961#M3773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I was trying to say is boot from the NAND and then copy and paste all the terminal output from boot up until where the kernel panics. I was interested in seeing what your flash geometry was. If your UBIFS is not created to match the device geometry, you will have boot problems. Did you check the geometry with settings used in LTIB to create the image? Also, I ran into a problem with large size NAND deivices. The driver from Freescale needed a patch to use NAND devices larger than 1Gbit I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CITE&gt;Steve Otzman said:&lt;/CITE&gt;&lt;BR /&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/imx28-nand-boot-no-init-found?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A24201&amp;amp;xg_source=msg_com_gr_forum#4103961Comment24201"&gt;&lt;DIV&gt;&lt;P&gt;Thanks for the replies, guys. Are you asking for the output of dmesg from my host machine? Otherwise I can boot the target from SD or NFS and get that output, but on boot from NAND kernel panic stops everything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike, it sounds like you had an issue with the mtd-utils package on Ubuntu 10.10? I was looking into it and it does seem that the package used for the 10.10 release had problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add a little, I was able to get the EVK to boot from NAND using JFFS2, but unless the file system was read-only, subsequent boots would start to show increasing ECC errors. This was verified by a Freescale FAE who said JFFS2 wouldn't work on the iMX28 BSP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 18:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162961#M3773</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-07-15T18:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162962#M3774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again for the help, Mike. I saw your earlier postings about NAND size, so I changed from a 2Gbit part to a 1GBit part. The chip has an entry in the required tables in the source, and appears to be recognized correctly by the target. Some more detail:&lt;/P&gt;&lt;P&gt;I tried to program the NAND 2 ways: using the Freescale MFG tool with my own imx28_ivt_linux.sb file and ubifs image (which I tarred and zipped to make it as close to the default for the tool as possible), and also using the command line method detailed in some other postings from the imxcommunity.org. Both methods appeared to succeed, but I got the exact same result when trying to boot. Here's the settings I used to create the file system:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PEB size: 128KiB&lt;/P&gt;&lt;P&gt;LEB size: 126976&lt;/P&gt;&lt;P&gt;LEB count: 1024&lt;/P&gt;&lt;P&gt;Min I/O size: 2048&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached what I think you're looking for. I'm also working with some FAE's, so hopefully someone will be able to tell me what I'm doing wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 19:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162962#M3774</guid>
      <dc:creator>SteveO1z</dc:creator>
      <dc:date>2011-07-15T19:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162963#M3775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the UBIFS image with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkfs.ubifs -x none -m 2048 -e 126976 -c 5000 -r rootfs rootfs.ubifs&lt;/P&gt;&lt;P&gt;Boot evk from SD card and then reflash as follows. Make sure imx28_ivt_linux.sb for NAND boot and rootfs.ubifs are on your SD card or mount a thumb drive with those files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;flash_eraseall /dev/mtd0&lt;/P&gt;&lt;P&gt;kobs-ng init imx28_ivt_linux.sb&lt;/P&gt;&lt;P&gt;flash_eraseall /dev/mtd1 ubiattach /dev/ubi_ctrl -d 0 -m 1&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N rootfs -m&lt;/P&gt;&lt;P&gt;ubiupdatevol /dev/ubi0_0 rootfs.ubifs sync&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The name in the ubimkvol command above must match your kernel command line boot options. I couldn't see it in your attached file because you left that out so it may be different than what I posted here. Change your DIP switches for NAND boot and try it. Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 19:26:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162963#M3775</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-07-15T19:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162964#M3776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, looking at your boot messages again, I see that your image is named rootfs0, so change the line above to...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N rootfs0 -m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, this is a non-compressed image. I see that you are using lzo compression. Have you tried non-compressed?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;CITE&gt;Mike Morrell said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/imx28-nand-boot-no-init-found?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A23944&amp;amp;xg_source=msg_com_gr_forum#4103961Comment23559"&gt;&lt;DIV&gt;&lt;P&gt;Create the UBIFS image with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkfs.ubifs -x none -m 2048 -e 126976 -c 5000 -r rootfs rootfs.ubifs&lt;/P&gt;&lt;P&gt;Boot evk from SD card and then reflash as follows. Make sure imx28_ivt_linux.sb for NAND boot and rootfs.ubifs are on your SD card or mount a thumb drive with those files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;flash_eraseall /dev/mtd0&lt;/P&gt;&lt;P&gt;kobs-ng init imx28_ivt_linux.sb&lt;/P&gt;&lt;P&gt;flash_eraseall /dev/mtd1 ubiattach /dev/ubi_ctrl -d 0 -m 1&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N rootfs -m&lt;/P&gt;&lt;P&gt;ubiupdatevol /dev/ubi0_0 rootfs.ubifs sync&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The name in the ubimkvol command above must match your kernel command line boot options. I couldn't see it in your attached file because you left that out so it may be different than what I posted here. Change your DIP switches for NAND boot and try it. Hope that helps.&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 19:48:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162964#M3776</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-07-15T19:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162965#M3777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The device reports lzo as compression type, but I told LTIB to build a non-compressed image. I'll try the ubiupdatevol command with the original uncompressed image. That might be it. Thx!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CITE&gt;Mike Morrell said:&lt;/CITE&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;P&gt;Ah, looking at your boot messages again, I see that your image is named rootfs0, so change the line above to...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N rootfs0 -m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, this is a non-compressed image. I see that you are using lzo compression. Have you tried non-compressed?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;CITE&gt;Mike Morrell said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;P&gt;Create the UBIFS image with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkfs.ubifs -x none -m 2048 -e 126976 -c 5000 -r rootfs rootfs.ubifs&lt;/P&gt;&lt;P&gt;Boot evk from SD card and then reflash as follows. Make sure imx28_ivt_linux.sb for NAND boot and rootfs.ubifs are on your SD card or mount a thumb drive with those files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;flash_eraseall /dev/mtd0&lt;/P&gt;&lt;P&gt;kobs-ng init imx28_ivt_linux.sb&lt;/P&gt;&lt;P&gt;flash_eraseall /dev/mtd1 ubiattach /dev/ubi_ctrl -d 0 -m 1&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N rootfs -m&lt;/P&gt;&lt;P&gt;ubiupdatevol /dev/ubi0_0 rootfs.ubifs sync&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The name in the ubimkvol command above must match your kernel command line boot options. I couldn't see it in your attached file because you left that out so it may be different than what I posted here. Change your DIP switches for NAND boot and try it. Hope that helps.&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 20:10:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162965#M3777</guid>
      <dc:creator>SteveO1z</dc:creator>
      <dc:date>2011-07-15T20:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162966#M3778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appreciate your help, Mike thanks.&lt;/P&gt;&lt;P&gt;I was finally successful in getting the UBIFS file system to work from NAND. However, I had to go&amp;nbsp;outside of the documented methods:&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I had to do was to move the entire file system on my host machine to a temporary directory, then manually remove the boot, man pages, locale, etc.. directories to get the file system to a manageable size. Then I created a tar file (with no parent directories included - that's important) from this temporary file system. Once I had that I was successful in programming the NAND both from the console and also using the MFG tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I never was able to get the ".img" file created by LTIB (or Ubuntu, I tried both) to expand into a directory structure on the target. The result was always that the file system would mount, but all it contained was a file named "rootfs.ubifs.img". Therefore the init file was not found in the expected place, and a kernel panic was generated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to use the image file created by LTIB, as the above process is time consuming and prone to errors, so if anyone finds a solution I would be interested in it. In the meantime, our system is now functioning from NAND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 21:21:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162966#M3778</guid>
      <dc:creator>SteveO1z</dc:creator>
      <dc:date>2011-07-20T21:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162967#M3779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I had that problem too. Edit ~/ltib/bin/Ltibutils.pm and comment out line 904 "rm $tdir/rootfs.ubifs $tdir/rootfs_image". Then you can burn the rootfs.ubifs file to NAND using the following commands. It seems that the rootfs.ubifs.img file is ubinized but I don't know what that does to the file format, but you can't use that file with these commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;flash_eraseall /dev/mtd1 ubiattach /dev/ubi_ctrl -d 0 -m 1&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N rootfs -m&lt;/P&gt;&lt;P&gt;ubiupdatevol /dev/ubi0_0 rootfs.ubifs sync&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CITE&gt;Steve Otzman said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/imx28-nand-boot-no-init-found?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A24806&amp;amp;xg_source=msg_com_gr_forum#4103961Comment24806"&gt;&lt;DIV&gt;&lt;P&gt;Appreciate your help, Mike thanks.&lt;/P&gt;&lt;P&gt;I was finally successful in getting the UBIFS file system to work from NAND. However, I had to go&amp;nbsp;outside of the documented methods:&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I had to do was to move the entire file system on my host machine to a temporary directory, then manually remove the boot, man pages, locale, etc.. directories to get the file system to a manageable size. Then I created a tar file (with no parent directories included - that's important) from this temporary file system. Once I had that I was successful in programming the NAND both from the console and also using the MFG tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I never was able to get the ".img" file created by LTIB (or Ubuntu, I tried both) to expand into a directory structure on the target. The result was always that the file system would mount, but all it contained was a file named "rootfs.ubifs.img". Therefore the init file was not found in the expected place, and a kernel panic was generated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to use the image file created by LTIB, as the above process is time consuming and prone to errors, so if anyone finds a solution I would be interested in it. In the meantime, our system is now functioning from NAND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve O&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 13:46:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162967#M3779</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-07-21T13:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162968#M3780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is a script I wrote to flash the kernel and rootfs images to NAND.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CITE&gt;Mike Morrell said:&lt;/CITE&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/group/imx28andimx28evk/forum/comment/show?id=4103961%3AComment%3A25004&amp;amp;xn_out=json&amp;amp;firstPage=1&amp;amp;lastPage=1&amp;amp;_=1311256005729&amp;amp;xg_token=38a2fe3d366ad71dae54978cecb8e15f#4103961Comment25004"&gt;&lt;DIV&gt;&lt;P&gt;Yeah, I had that problem too. Edit ~/ltib/bin/Ltibutils.pm and comment out line 904 "rm $tdir/rootfs.ubifs $tdir/rootfs_image". Then you can burn the rootfs.ubifs file to NAND using the following commands. It seems that the rootfs.ubifs.img file is ubinized but I don't know what that does to the file format, but you can't use that file with these commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;flash_eraseall /dev/mtd1 ubiattach /dev/ubi_ctrl -d 0 -m 1&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N rootfs -m&lt;/P&gt;&lt;P&gt;ubiupdatevol /dev/ubi0_0 rootfs.ubifs sync&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CITE&gt;Steve Otzman said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/imx28-nand-boot-no-init-found?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A24806&amp;amp;xg_source=msg_com_gr_forum#4103961Comment24806"&gt;&lt;DIV&gt;&lt;P&gt;Appreciate your help, Mike thanks.&lt;/P&gt;&lt;P&gt;I was finally successful in getting the UBIFS file system to work from NAND. However, I had to go&amp;nbsp;outside of the documented methods:&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I had to do was to move the entire file system on my host machine to a temporary directory, then manually remove the boot, man pages, locale, etc.. directories to get the file system to a manageable size. Then I created a tar file (with no parent directories included - that's important) from this temporary file system. Once I had that I was successful in programming the NAND both from the console and also using the MFG tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I never was able to get the ".img" file created by LTIB (or Ubuntu, I tried both) to expand into a directory structure on the target. The result was always that the file system would mount, but all it contained was a file named "rootfs.ubifs.img". Therefore the init file was not found in the expected place, and a kernel panic was generated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to use the image file created by LTIB, as the above process is time consuming and prone to errors, so if anyone finds a solution I would be interested in it. In the meantime, our system is now functioning from NAND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve O&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 14:12:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162968#M3780</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-07-21T14:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162969#M3781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an explanation of the difference between the two files and when to use them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.linux-mtd.infradead.org/faq/ubifs.html#L_mkfubifs" rel="nofollow" target="_blank"&gt;How do I create an UBIFS image?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that you have to boot from the SD card and mount a rootfs from the SD card in order to burn a rootfs image on NAND. I usually copy the new rootfs.ubifs &amp;nbsp;and imx28_ivt_linux.sb file and the update.sh script to the /root directory on the SD card and then boot from SD. You cannot flash the rootfs to NAND if you currently have the rootfs mounted from NAND. It makes sense if you think about it, since you cannot overwrite your currently mounted root file system (although if &amp;nbsp;you try, it will try to do it and fails). Kernel image doesn't matter since it is loaded into RAM so you could boot the kernel from NAND and mount the rootfs from SD card. That should work too.&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Mike Morrell said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/imx28-nand-boot-no-init-found?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A25102&amp;amp;groupId=4103961%3AGroup%3A4609#4103961Comment25102"&gt;&lt;DIV&gt;Here is a script I wrote to flash the kernel and rootfs images to NAND.&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Mike Morrell said:&lt;/CITE&gt;&lt;BR /&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/group/imx28andimx28evk/forum/comment/show?id=4103961%3AComment%3A25004&amp;amp;xn_out=json&amp;amp;firstPage=1&amp;amp;lastPage=1&amp;amp;_=1311256005729&amp;amp;xg_token=38a2fe3d366ad71dae54978cecb8e15f#4103961Comment25004"&gt;&lt;DIV&gt;&lt;P&gt;Yeah, I had that problem too. Edit ~/ltib/bin/Ltibutils.pm and comment out line 904 "rm $tdir/rootfs.ubifs $tdir/rootfs_image". Then you can burn the rootfs.ubifs file to NAND using the following commands. It seems that the rootfs.ubifs.img file is ubinized but I don't know what that does to the file format, but you can't use that file with these commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;flash_eraseall /dev/mtd1 ubiattach /dev/ubi_ctrl -d 0 -m 1&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N rootfs -m&lt;/P&gt;&lt;P&gt;ubiupdatevol /dev/ubi0_0 rootfs.ubifs sync&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CITE&gt;Steve Otzman said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/imx28-nand-boot-no-init-found?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A24806&amp;amp;xg_source=msg_com_gr_forum#4103961Comment24806"&gt;&lt;DIV&gt;&lt;P&gt;Appreciate your help, Mike thanks.&lt;/P&gt;&lt;P&gt;I was finally successful in getting the UBIFS file system to work from NAND. However, I had to go&amp;nbsp;outside of the documented methods:&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I had to do was to move the entire file system on my host machine to a temporary directory, then manually remove the boot, man pages, locale, etc.. directories to get the file system to a manageable size. Then I created a tar file (with no parent directories included - that's important) from this temporary file system. Once I had that I was successful in programming the NAND both from the console and also using the MFG tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I never was able to get the ".img" file created by LTIB (or Ubuntu, I tried both) to expand into a directory structure on the target. The result was always that the file system would mount, but all it contained was a file named "rootfs.ubifs.img". Therefore the init file was not found in the expected place, and a kernel panic was generated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to use the image file created by LTIB, as the above process is time consuming and prone to errors, so if anyone finds a solution I would be interested in it. In the meantime, our system is now functioning from NAND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve O&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 14:27:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162969#M3781</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-07-21T14:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162970#M3782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked, Mike, thanks again.&lt;/P&gt;&lt;P&gt;I was wondering if you've ever used the MFG Tool from Freescale? When I use the exact same commands as listed, the tool doesn't work (the target fails to find /dev/ubi0_0), but I can program from the terminal no problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 17:20:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162970#M3782</guid>
      <dc:creator>SteveO1z</dc:creator>
      <dc:date>2011-07-21T17:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162971#M3783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In regards to the last question - I now have the Freescale MFG Tool working with the ubifs file created from LTIB. (Refer to Mike's instructions for commenting out the removal of the "non-ubinized" file during the build process). I didn't have to resort to manually creating the image myself. I have attached the XML file used with the MFG tool in case anyone else is having this difficulty. The flash file system can also be programmed using Mike's handy script, either from SD or through NFS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 20:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162971#M3783</guid>
      <dc:creator>SteveO1z</dc:creator>
      <dc:date>2011-07-21T20:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162972#M3784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in order to write the ubi image to my Nand device I used the solution of Mike Morrel above. it worked fine.the problem that I am having is that the network device eth0 is not starting when the system is up.&lt;/P&gt;&lt;P&gt;the same kernel and rootfs are working fine with rootfs and eth0 starts. so, I am pretty sure its not the kernel. it is something I need to configure in the file system. &amp;nbsp;I am less familiar with ltib rootfs file structure and configurations (I am used to angstrum) do you know how can I configure it to work ? "ifconfig -a" command shows eth0 but I can not set it.&lt;/P&gt;&lt;P&gt;can someone indicate why ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 09:33:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162972#M3784</guid>
      <dc:creator>Royaz</dc:creator>
      <dc:date>2011-12-06T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162973#M3785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ltib there is configuration options for networking. You should be able to setup eth0 as dynamic or static in ltib. It will create entries in your /etc/rc.conf file to configure networking when the /etc/rc.d/init.d/network service is started. Take a look at the /etc/rc.d/init.d/network script to understand how the environment variables set by rc.conf affect the network startup. If you want to do dhcp manually to see if it is working just run&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;udhcpc -b -i eth0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from command line to start dhcp. Or you could add it to the end of /etc/rc.d/rc.local. Then you should see eth0 listed in ifconfig assuming you have the correct ethernet drivers configured in your kernel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;CITE&gt;Roy Azriel said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/imx28-nand-boot-no-init-found?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A48863&amp;amp;xg_source=msg_com_gr_forum#4103961Comment48863"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;in order to write the ubi image to my Nand device I used the solution of Mike Morrel above. it worked fine.the problem that I am having is that the network device eth0 is not starting when the system is up.&lt;/P&gt;&lt;P&gt;the same kernel and rootfs are working fine with rootfs and eth0 starts. so, I am pretty sure its not the kernel. it is something I need to configure in the file system. &amp;nbsp;I am less familiar with ltib rootfs file structure and configurations (I am used to angstrum) do you know how can I configure it to work ? "ifconfig -a" command shows eth0 but I can not set it.&lt;/P&gt;&lt;P&gt;can someone indicate why ?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 21:26:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162973#M3785</guid>
      <dc:creator>iMxGuy</dc:creator>
      <dc:date>2011-12-06T21:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28: NAND boot "no init found"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162974#M3786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to mount the ubifs to imx28evk, can you give me same advises;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 07:12:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-NAND-boot-quot-no-init-found-quot/m-p/162974#M3786</guid>
      <dc:creator>fanqipin</dc:creator>
      <dc:date>2012-03-28T07:12:57Z</dc:date>
    </item>
  </channel>
</rss>

