<?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: How to partition Nand flash with linux only? (no u-boot) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157684#M2628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately -unlike some other uP's BSP's- iMX28 BSP doesn't use mx28evk.c for defining nand partitions, it's hardcoded into nand-flash driver of mx28. Can't say location off the top but it's in /drivers/mtd/... something, grep would find the file. The driver dives the partition into two section ~20MB for boot, and the rest (up to the end of nand whatever the actual size ) for general purpose usage.  Coincidentally i've spent my last three days to find out how to divide and load image into a 256MB nand into boot, rfs (175MB) and data (49MB) which both section is in ubifs filesystem; generate images and trying to understand how to program.  First of all, you don't need to create three partition, you can create two ubi volume in second MTD partition. This approach -which i've used it in my former project with Atmel's ARM9- keeps you away from touching mtd nand driver of mx28. You wont have to modify nand driver when you upgrade your kernel.  All you have to do is create a single ubi image by following usual ubi procedures which contains two volumes inside than program image into secondary mtd partition. On your kernel command line giving your rootfs volumes parameters are enough.  Regards Ahmet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2011 19:51:38 GMT</pubDate>
    <dc:creator>AhmetYUCE</dc:creator>
    <dc:date>2011-06-15T19:51:38Z</dc:date>
    <item>
      <title>How to partition Nand flash with linux only? (no u-boot)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157682#M2626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have to partition my 256MiB nand flash into three as kernel, rootfs and storage. i tried to do it with linux but nothing happened. then, i tried it with kernel command line with LTIB &amp;nbsp;in "Package List / using MDDR at bootstream";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;noinitrd console=ttyAM0,115200 mtdparts=gpmi-nfc.0:32m(kernel),150m(rootfs),-(storage) root=/dev/mtdblock1 rootfstype=ubifs rw gpmi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, i failed again.please reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sinan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 11:10:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157682#M2626</guid>
      <dc:creator>snan1z</dc:creator>
      <dc:date>2011-06-15T11:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to partition Nand flash with linux only? (no u-boot)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157683#M2627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'll have to add partition information for NAND in the board file in arch/arm/mach-mx28/mx28evk.c . As an example, you can see how it's done in arch/arm/mach-mx5/mx53_evk.c (mxc_nand_data, nand_flash_partitions,etc...).&lt;/P&gt;&lt;P&gt;Vladan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 11:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157683#M2627</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2011-06-15T11:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to partition Nand flash with linux only? (no u-boot)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157684#M2628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately -unlike some other uP's BSP's- iMX28 BSP doesn't use mx28evk.c for defining nand partitions, it's hardcoded into nand-flash driver of mx28. Can't say location off the top but it's in /drivers/mtd/... something, grep would find the file. The driver dives the partition into two section ~20MB for boot, and the rest (up to the end of nand whatever the actual size ) for general purpose usage.  Coincidentally i've spent my last three days to find out how to divide and load image into a 256MB nand into boot, rfs (175MB) and data (49MB) which both section is in ubifs filesystem; generate images and trying to understand how to program.  First of all, you don't need to create three partition, you can create two ubi volume in second MTD partition. This approach -which i've used it in my former project with Atmel's ARM9- keeps you away from touching mtd nand driver of mx28. You wont have to modify nand driver when you upgrade your kernel.  All you have to do is create a single ubi image by following usual ubi procedures which contains two volumes inside than program image into secondary mtd partition. On your kernel command line giving your rootfs volumes parameters are enough.  Regards Ahmet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 19:51:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157684#M2628</guid>
      <dc:creator>AhmetYUCE</dc:creator>
      <dc:date>2011-06-15T19:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to partition Nand flash with linux only? (no u-boot)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157685#M2629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your suggestions.&amp;nbsp;I used ubi volumes, they seems good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sinan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 13:02:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-Nand-flash-with-linux-only-no-u-boot/m-p/157685#M2629</guid>
      <dc:creator>snan1z</dc:creator>
      <dc:date>2011-06-17T13:02:26Z</dc:date>
    </item>
  </channel>
</rss>

