<div>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Hi All,</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> I am working on a project where my processor is MIPS and my NOR flash size is 32MB. So for i am managing all MTD partitions statically in <br>
Linux and the system is working fine. Now we are planning to change the mtd management to UBoot, so that i can add/delete/modify the partitions using command line facility of UBoot.</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">i ported all required files to my working uboot sources, but not able to use the command <strong><span style="FONT-FAMILY: Arial">mtdparts properly.</span></strong></span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">My flash layout(partition info) shall look like:</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Flash is top boot one:</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Total Size:32MB</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Partition1: 3-4MB (Linux kernel)</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Partition2: 4-6MB(Root file system)</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Partition3: 8MB(application active)</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Partition4: 8MB(application backup)</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Partition5:3MB(Data base)</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Partitions6:512MB(UBoot)</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span><span style="FONT-FAMILY: Arial">Some free memory.</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">I wanted to put above info in UBoot using mtdparts. I tried to going thru the code but confused bit.</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Please can some one help me on getting some info regarding usage of mtdparts related commands?</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">i have gone thru the mailing list also, but could not get much information.</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"></span> </p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"></span> </p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Best Regards,</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Nagi</span></p></div>
<div> </div>
<div> </div>